
/* HERCZEG JUSZTINA – SZOLGÁLTATÁSOK ALOLDAL */

:root {
  --green: #07502f;
  --green-dark: #064326;
  --green-pale: #edf3e4;
  --pink: #df0876;
  --pink-dark: #b90060;
  --pink-pale: #fcebed;
  --cream: #fffaf6;
  --ink: #344361;
  --muted: #667087;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Lato", Arial, sans-serif;
  --hand: "Caveat", cursive;

  --shadow: 0 3px 13px rgba(77, 53, 43, .08);
}


/* ALAPBEÁLLÍTÁSOK */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-width {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

::selection {
  color: white;
  background: var(--pink);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: white;
  background: var(--green);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}


/* FEJLÉC */

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 12px rgba(44,40,40,.05);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--green);
}

.brand-mark {
  width: 65px;
  height: 58px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 62px;
  height: 62px;
  fill: #9db45b;
  stroke: #e60076;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--pink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.brand-copy span {
  color: #40506c;
  font-size: 13px;
}

.brand-copy small {
  margin-top: 2px;
  color: #667087;
  font-size: 9px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.6vw, 34px);
}

.main-nav a {
  position: relative;
  padding: 23px 0 19px;
  color: #33415f;
  font-size: 14px;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--pink);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}


/* NYITÓ SZEKCIÓ */

.service-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns:
    minmax(300px, 40%)
    minmax(360px, 1fr)
    minmax(145px, 20%);
  align-items: stretch;
  min-height: 325px;
  overflow: hidden;
  background: linear-gradient(
    105deg,
    #f8f0e7 0%,
    #fffaf5 48%,
    #fff8f1 100%
  );
}

.hero-portrait {
  min-height: 325px;
  overflow: hidden;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 20px 13px 22px 22px;
}

.eyebrow {
  margin: 0 0 2px;
  color: var(--pink);
  font-family: var(--hand);
  font-size: 20px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--pink);
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 72px);
  font-weight: 700;
  line-height: .98;
}

.hero-copy h2 {
  margin: 2px 0 7px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.08;
}

.hero-copy h2 span {
  color: var(--pink);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #3e4d69;
  font-size: 16px;
  line-height: 1.4;
}

.hero-quote-rule {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(280px, 85%);
  margin: 12px auto 5px;
  color: var(--pink);
}

.hero-quote-rule span {
  height: 1px;
  flex: 1;
  background: #ed4b9a;
}

.hero-quote-rule b {
  font-size: 24px;
  line-height: 1;
}

.hero-quote {
  margin: 0;
  color: #263653;
  font-family: var(--hand);
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-5deg);
}

.hero-quote span {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 28px;
}

.hero-floral {
  align-self: stretch;
  min-height: 325px;
  overflow: hidden;
}

.hero-floral img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bottom-accent {
  position: absolute;
  z-index: 1;
  right: -34px;
  bottom: -57px;
  width: 260px;
  height: 100px;
  border-radius: 70% 0 0 0;
  background: linear-gradient(
    130deg,
    var(--pink) 0 48%,
    #4e8145 49%
  );
  transform: rotate(-7deg);
}


/* SZEKCIÓBEVEZETŐ */

.services-section {
  padding-top: 17px;
  padding-bottom: 17px;
}

.section-intro {
  margin: 0 auto 8px;
  text-align: center;
}

.section-intro h2 {
  margin: 0 0 3px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(29px, 3.15vw, 39px);
  font-weight: 700;
  line-height: 1.12;
}

.section-intro h2 span {
  color: var(--pink);
}

.section-intro p {
  margin: 1px 0;
  color: #46536e;
  font-size: 15px;
}


/* SZOLGÁLTATÁSKÁRTYÁK */

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.service-card {
  grid-column: span 3;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 9px 9px;
  border: 1px solid #f3e9df;
  border-radius: 15px;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}

.service-card:nth-child(n+5) {
  grid-column: span 4;
}

.card-heading {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 2px 5px;
}

.card-number {
  flex: 0 0 41px;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #e91a8d, #b60065);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.card-heading h3 {
  margin: 0;
  color: var(--pink);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.02;
}

.card-image {
  width: 100%;
  height: 145px;
  flex: 0 0 145px;
  border-radius: 9px;
  object-fit: cover;
  object-position: center;
}

.service-card:nth-child(n+5) .card-image {
  height: 110px;
  flex-basis: 110px;
}

.card-description {
  margin: 7px 2px 8px;
  color: #485673;
  font-size: 13.5px;
  line-height: 1.36;
}

.benefit-list {
  display: grid;
  gap: 3px;
  margin: auto 0 5px;
  padding: 6px 9px;
  border-radius: 10px;
  background: linear-gradient(
    100deg,
    #fce9e9,
    #fff0ef
  );
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 24px;
  color: #4b5870;
  font-size: 13px;
  line-height: 1.3;
}

.benefit-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #39820b;
  font-size: 10px;
  font-weight: 700;
}

.card-button {
  align-self: center;
  width: min(176px, 92%);
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  padding: 7px 18px;
  border-radius: 30px;
  color: white;
  background: linear-gradient(105deg, #be0067, #e91c88);
  font-size: 13px;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card-button span {
  font-size: 19px;
  line-height: 1;
}

.card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(190,0,103,.22);
}


/* IDŐPONTKÉRŐ SÁV */

.appointment-banner {
  position: relative;
  isolation: isolate;
  min-height: 168px;
  display: grid;
  grid-template-columns:
    minmax(220px, 29%)
    minmax(370px, 1fr)
    minmax(175px, 23%);
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 14px max(20px, calc((100% - 1200px) / 2));
  background: linear-gradient(
    100deg,
    #f8e7e4,
    #fff4ef 49%,
    #f9e9e5
  );
}

.appointment-decoration {
  align-self: stretch;
  min-height: 140px;
  overflow: hidden;
}

.appointment-decoration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: multiply;
}

.appointment-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.appointment-copy h2 {
  margin: 0 0 4px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.08;
}

.appointment-copy h2 em {
  color: var(--pink);
  font-style: italic;
}

.appointment-copy p {
  margin: 0 0 10px;
  color: #43516d;
  font-size: 15px;
}

.appointment-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 8px 25px;
  border-radius: 35px;
  color: white;
  background: linear-gradient(105deg, #bf0068, #e21a83);
  box-shadow: 0 5px 14px rgba(190,0,103,.15);
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.appointment-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(190,0,103,.24);
}

.calendar-icon {
  font-size: 27px;
  line-height: 1;
}

.appointment-button > span:last-child {
  font-size: 21px;
}

.appointment-quote {
  position: relative;
  z-index: 2;
  margin: 0 5px;
  color: #263653;
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1.13;
  text-align: center;
  transform: rotate(-7deg);
}

.appointment-quote span {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 30px;
}

.appointment-leaf {
  position: absolute;
  right: -15px;
  bottom: -54px;
  color: #6e9646;
  font-size: 150px;
  line-height: 1;
  opacity: .5;
  transform: rotate(-25deg);
  pointer-events: none;
}


/* LÁBLÉC */

.site-footer {
  background: rgba(255,255,255,.94);
  border-top: 1px solid #f0e6e2;
}

.footer-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #384767;
  font-size: 12px;
  white-space: nowrap;
}

.footer-item > span {
  color: var(--pink);
  font-size: 20px;
}

.footer-item:hover {
  color: var(--pink);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #45536b;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.footer-lotus {
  color: #76994f;
  font-size: 35px;
  line-height: 1;
}


/* FÓKUSZ ÉS MOZGÁSCSÖKKENTÉS */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
  border-radius: 5px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* KISEBB LAPTOP */

@media (max-width: 1000px) {

  .header-inner {
    gap: 13px;
  }

  .brand-copy strong {
    font-size: 25px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .service-hero {
    grid-template-columns:
      minmax(250px, 34%)
      minmax(330px, 1fr)
      minmax(115px, 17%);
    min-height: 300px;
  }

  .hero-portrait,
  .hero-floral {
    min-height: 300px;
  }

  .hero-copy {
    padding-left: 17px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 5.5vw, 61px);
  }

  .hero-copy h2 {
    font-size: 23px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .hero-quote {
    font-size: 19px;
  }

  .service-grid {
    gap: 9px;
  }

  .service-card {
    padding: 8px 7px;
  }

  .card-heading {
    gap: 7px;
  }

  .card-number {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .card-heading h3 {
    font-size: 19px;
  }

  .card-description,
  .benefit-list li {
    font-size: 12px;
  }

  .card-image {
    height: 125px;
    flex-basis: 125px;
  }

  .service-card:nth-child(n+5) .card-image {
    height: 100px;
    flex-basis: 100px;
  }

  .appointment-banner {
    grid-template-columns: 24% 1fr 21%;
  }
}


/* TABLET ÉS KÉT OSZLOP */

@media (max-width: 760px) {

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 53px;
    height: 52px;
  }

  .brand-mark svg {
    width: 52px;
    height: 52px;
  }

  .brand-copy strong {
    font-size: 23px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    width: 43px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    border: 1px solid #eadde0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--green);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 15px;
    background: #fffdfb;
    box-shadow: 0 8px 15px rgba(0,0,0,.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid #f1e8e6;
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .service-hero {
    grid-template-columns:
      minmax(185px, 37%)
      minmax(0, 1fr);
    min-height: 260px;
  }

  .hero-portrait {
    min-height: 260px;
  }

  .hero-floral {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 105px;
    height: 115px;
    min-height: 0;
    opacity: .28;
  }

  .hero-copy {
    padding: 18px 18px 21px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 7vw, 58px);
  }

  .hero-copy h2 {
    font-size: 22px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .hero-quote {
    font-size: 18px;
  }

  .hero-bottom-accent {
    width: 150px;
    height: 65px;
    bottom: -42px;
  }

  .section-intro h2 {
    font-size: 31px;
  }

  .section-intro p {
    font-size: 14px;
  }

  .service-card,
  .service-card:nth-child(n+5) {
    grid-column: span 6;
  }

  .card-heading h3 {
    font-size: 21px;
  }

  .card-image,
  .service-card:nth-child(n+5) .card-image {
    height: 145px;
    flex-basis: 145px;
  }

  .card-description,
  .benefit-list li {
    font-size: 13px;
  }

  .appointment-banner {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 23px 20px;
  }

  .appointment-decoration {
    position: absolute;
    inset: 0 auto 0 0;
    width: 135px;
    min-height: 0;
    opacity: .18;
  }

  .appointment-copy {
    padding: 7px 0;
  }

  .appointment-copy h2 {
    font-size: 32px;
  }

  .appointment-copy p {
    font-size: 14px;
  }

  .appointment-quote {
    display: none;
  }

  .appointment-leaf {
    font-size: 95px;
    opacity: .2;
  }

  .footer-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .footer-item {
    font-size: 12px;
  }

  .footer-brand {
    margin-left: auto;
  }
}


/* TELEFON */

@media (max-width: 520px) {

  .page-width {
    width: calc(100% - 28px);
  }

  .service-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-portrait {
    width: 100%;
    height: 205px;
    min-height: 0;
  }

  .hero-portrait img {
    object-position: center 39%;
  }

  .hero-copy {
    width: 100%;
    padding: 17px 18px 19px;
    text-align: center;
  }

  .eyebrow {
    font-size: 17px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-copy h2 {
    font-size: 22px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .hero-quote-rule {
    margin-top: 8px;
  }

  .hero-quote {
    font-size: 18px;
  }

  .hero-floral {
    display: none;
  }

  .hero-bottom-accent {
    width: 100px;
    height: 43px;
    bottom: -31px;
  }

  .services-section {
    padding-top: 15px;
  }

  .section-intro {
    margin-bottom: 12px;
  }

  .section-intro h2 {
    font-size: 29px;
  }

  .section-intro p {
    font-size: 13px;
    line-height: 1.35;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .service-card,
  .service-card:nth-child(n+5) {
    grid-column: 1;
    padding: 10px;
  }

  .card-heading {
    min-height: 42px;
    margin-bottom: 7px;
  }

  .card-number {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .card-heading h3 {
    font-size: 22px;
  }

  .card-image,
  .service-card:nth-child(n+5) .card-image {
    height: 175px;
    flex-basis: 175px;
  }

  .card-description {
    font-size: 14px;
  }

  .benefit-list li {
    font-size: 13px;
  }

  .card-button {
    min-height: 39px;
    font-size: 13px;
  }

  .appointment-banner {
    padding: 22px 14px 24px;
  }

  .appointment-copy h2 {
    font-size: 29px;
  }

  .appointment-copy p {
    font-size: 13px;
  }

  .desktop-only {
    display: none;
  }

  .appointment-button {
    min-height: 46px;
    padding: 8px 17px;
    font-size: 13px;
    gap: 9px;
  }

  .calendar-icon {
    font-size: 23px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .footer-brand {
    margin-left: 0;
  }
}
