/* Orsi Fodrászat, Tápiószele. Koncepció: "Korhatár nélkül".
   Paletta: meleg törtfehér, eszpresszó-barna, halvány zsálya. */

@font-face {
  font-family: "Besley";
  src: url("assets/fonts/besley-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("assets/fonts/besley-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F6F3EE;
  --paper-2: #EDE7DE;
  --ink: #4A362A;
  --ink-deep: #3A2A20;
  --muted: #6B5344;
  --sage: #AEBFAD;
  --sage-pale: #E7EDE6;
  --hair: rgba(74, 54, 42, 0.22);
  --wrap: 1120px;
  --pad: 22px;
  --display: "Besley", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.012em;
  line-height: 1.06;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

a { color: inherit; }

a:focus-visible,
.tel-big:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- demó-sáv --- */

.demo-bar {
  margin: 0;
  padding: 9px 16px;
  background: var(--ink-deep);
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
}

/* --- fejléc --- */

.site-head {
  border-bottom: 1px solid var(--hair);
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  text-decoration: none;
  display: block;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.005em;
}

.brand-sub {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.head-tel {
  text-decoration: none;
  text-align: right;
  display: block;
}

.head-tel-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.head-tel-num {
  display: block;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--hair);
  transition: border-color 0.25s ease;
}

.head-tel:hover .head-tel-num { border-color: var(--ink); }

/* --- hero --- */

.hero { padding-top: clamp(44px, 9vw, 96px); }

.hero-title {
  font-size: clamp(2.45rem, 8.6vw, 5.6rem);
  line-height: 0.99;
  max-width: 15ch;
}

.hero-dots {
  color: var(--muted);
  font-weight: 400;
}

.hero-sub {
  margin-top: clamp(18px, 2.4vw, 26px);
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.line-band {
  margin-top: clamp(28px, 5vw, 56px);
  padding: 0 var(--pad);
  color: var(--ink);
}

.genline {
  display: block;
  width: 100%;
  height: auto;
  max-width: var(--wrap);
  margin: 0 auto;
}

.genline-narrow { display: none; }

.genline-wide path { stroke-width: 1.7; }
.genline-narrow path { stroke-width: 2.4; }

/* --- szolgáltatás-tükör --- */

.services { padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px); }

.sec-head {
  display: grid;
  gap: 14px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--hair);
}

.sec-title { font-size: clamp(1.85rem, 4.4vw, 3rem); }
.sec-title-sm { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.sec-lead {
  color: var(--muted);
  max-width: 52ch;
}

.mirror {
  display: grid;
  gap: clamp(30px, 4vw, 0px);
}

.col { padding-top: clamp(28px, 3.6vw, 44px); }

.col-title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
}

.price-list li + li { border-top: 1px solid var(--hair); }

.item {
  font-family: var(--display);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.2;
  flex: 0 1 auto;
}

.rule {
  flex: 1 1 auto;
  min-width: 18px;
  height: 1px;
  background: var(--sage);
  transform: translateY(-4px);
}

.price {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.col-shared {
  margin-top: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--hair);
}

/* --- munkák --- */

.works { padding-bottom: clamp(56px, 8vw, 96px); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.work img {
  width: 100%;
  height: auto;
  aspect-ratio: 620 / 827;
  object-fit: cover;
  background: var(--paper-2);
}

.work-cap {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- szalon --- */

.about {
  background: var(--paper-2);
  padding: clamp(52px, 8vw, 92px) 0;
}

.about-in {
  display: grid;
  gap: 18px;
}

.about-text {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.34;
  max-width: 26ch;
}

/* --- ajánlás --- */

.trust {
  background: var(--sage-pale);
  padding: clamp(46px, 7vw, 80px) 0;
}

.trust-in {
  display: grid;
  gap: 16px;
  align-items: center;
}

.trust-big {
  font-family: var(--display);
  font-size: clamp(3.4rem, 12vw, 6rem);
  line-height: 0.9;
  color: var(--ink);
}

.trust-text p {
  margin-top: 10px;
  max-width: 46ch;
  color: var(--ink);
}

/* --- bejelentkezés --- */

.booking {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 9vw, 104px) 0;
}

.booking-in {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.booking-title { color: var(--paper); }

.tel-big {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 5.2vw, 3.2rem);
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 2px solid var(--sage);
  padding-bottom: 4px;
  transition: border-color 0.25s ease;
}

.tel-big:hover { border-color: var(--paper); }

.booking-note {
  margin-top: 20px;
  max-width: 40ch;
  color: var(--sage);
}

.info-title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.info-title + .info-title,
.hours + .info-title { margin-top: 26px; }

.hours {
  width: 100%;
  max-width: 380px;
  border-collapse: collapse;
}

.hours th,
.hours td {
  text-align: left;
  padding: 9px 0;
  font-weight: 400;
  border-bottom: 1px solid rgba(246, 243, 238, 0.22);
}

.hours td { text-align: right; }

.info-addr a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 243, 238, 0.4);
}

.info-addr a:hover { border-color: var(--paper); }

/* --- lábléc --- */

.site-foot { padding: clamp(44px, 6vw, 72px) 0 40px; }

.foot-in {
  display: grid;
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hair);
}

.foot-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.foot-line {
  color: var(--muted);
  font-size: 15px;
}

.foot-line a {
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
}

.foot-line a:hover { border-color: var(--ink); }

.fb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 3px;
}

.fb:hover { color: var(--ink); border-color: var(--ink); }

.foot-fine {
  padding-top: 22px;
  display: grid;
  gap: 8px;
}

.foot-fine p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 74ch;
}

/* --- töréspontok --- */

@media (max-width: 700px) {
  .genline-wide { display: none; }
  .genline-narrow { display: block; }
}

@media (min-width: 620px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (min-width: 760px) {
  :root { --pad: 34px; }

  .mirror {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 6vw, 96px);
  }

  .mirror .col + .col { border-left: 0; }

  .about-in {
    grid-template-columns: minmax(0, 18ch) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .trust-in {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 64px);
  }

  .booking-in {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: clamp(40px, 6vw, 90px);
  }

  .foot-in {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .foot-social { text-align: right; }
}

@media (min-width: 1000px) {
  .hero-title { max-width: 18ch; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .genline path {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }
}
