/* Bianca — masaj la domiciliu. Sistem „Catifea bleumarin” (flyer A). */

:root {
  --navy: #141B2E;
  --navy-2: #1A2238;      /* câmpuri formular */
  --ivory: #F2EBE1;
  --mist: #B9B2A9;
  --copper: #D4905F;
  --line: #34405C;         /* doar linii decorative */
  --field-line: #7C8499;   /* contur câmpuri, 4.6:1 pe navy */

  --display: 'Newsreader', Georgia, serif;
  --text: 'Archivo', system-ui, sans-serif;
  --emoji: 'Noto Emoji', sans-serif;

  --pad: 24px;
  --amt-size: 28px;
  --amt-col: calc(var(--amt-size) * 4.15);
  --amt-gap: 12px;
}

* { box-sizing: border-box; }

html { background: var(--navy); }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--text);
  font-stretch: 100%;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul { margin: 0; font-size: inherit; font-weight: inherit; }

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.em {
  font-family: var(--emoji);
  font-weight: 400;
  font-style: normal;
  font-size: 1.05em;
  letter-spacing: 0;
  color: var(--copper);
  font-variant-emoji: text;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
}

.hero-photo {
  order: -1;
  align-self: flex-end;
  width: calc(100% - 64px);
  max-width: 560px;
  aspect-ratio: 4 / 5;
  background: var(--line);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-text {
  padding: 36px var(--pad) 0;
  display: flex;
  flex-direction: column;
}

.title {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: 'opsz' 72;
  font-size: clamp(40px, 11.4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.title span,
.slogan span,
.closing span { display: block; }

.tagline {
  margin-top: 18px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.tagline b { font-weight: 500; color: var(--copper); }

.rule {
  width: 36px;
  border-top: 1.5px solid var(--copper);
  margin: 22px 0 20px;
}

.slogan {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 24;
  font-size: 27px;
  line-height: 1.16;
  color: var(--ivory);
}

.intro {
  margin-top: 24px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- Pagina de jos ---------- */

.sheet {
  padding: 0 var(--pad) 56px;
}

.hair { display: none; }

.block {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.hero + .sheet .block:first-of-type { margin-top: 44px; }

.sec {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 22px;
}

/* Servicii */

.svc + .svc { margin-top: 26px; }

.svc h3 {
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--ivory);
}

.svc h3 .em { margin-right: 2px; }

.svc p {
  margin-top: 6px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.55;
  color: var(--mist);
}

/* Tarife */

.price-group + .price-group { margin-top: 30px; }

.grp {
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--ivory);
  margin-bottom: 10px;
}

.row {
  display: grid;
  grid-template-columns: var(--amt-col) 1fr;
  column-gap: var(--amt-gap);
  align-items: baseline;
  font-size: 15.5px;
  line-height: 1.3;
}

.row + .row,
.per + .row { margin-top: 8px; }

.amt {
  text-align: right;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
  font-size: var(--amt-size);
  line-height: 1.15;
  color: var(--copper);
  font-variant-numeric: lining-nums tabular-nums;
}

.rest { color: var(--ivory); }

.per {
  margin-top: 1px;
  padding-left: calc(var(--amt-col) + var(--amt-gap));
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--mist);
}

/* De ce la domiciliu */

.why ul { list-style: none; padding: 0; }

.why li {
  font-size: 17px;
  line-height: 1.95;
}

.why .em { font-weight: 300; margin-right: 3px; }

/* Contact */

.contact { display: flex; flex-direction: column; align-items: flex-start; }

.loc {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

.contact a { text-decoration: none; }

.phone {
  display: block;
  margin-top: 22px;
}

.phone .lab {
  display: block;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  color: var(--copper);
}

.phone .lab .em { letter-spacing: 0; margin-right: 2px; }

.phone .num {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ivory);
  font-variant-numeric: lining-nums;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  transition: text-decoration-color .2s;
}

.wa {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.4;
}

.wa-num {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: text-decoration-color .2s;
}

.phone:hover .num,
.wa:hover .wa-num { text-decoration-color: var(--copper); }

.closing {
  margin-top: 36px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 24;
  font-size: 27px;
  line-height: 1.18;
  color: var(--ivory);
}

/* ---------- Formular ---------- */

.booking { padding-bottom: 0; }

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

form input[type="text"],
form input[type="tel"],
form select,
form textarea {
  width: 100%;
  margin: 0;
  font-family: var(--text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ivory);
  background: var(--navy-2);
  border: 1px solid var(--field-line);
  border-radius: 0;
  padding: 12px 14px;
  transition: border-color .15s, background-color .15s;
}

form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--copper) 50%),
    linear-gradient(135deg, var(--copper) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

form select option { background: var(--navy); color: var(--ivory); }

form textarea { min-height: 112px; resize: vertical; }

form input[type="text"]:hover,
form input[type="tel"]:hover,
form select:hover,
form textarea:hover { border-color: var(--mist); }

form input[type="text"]:focus,
form input[type="tel"]:focus,
form select:focus,
form textarea:focus {
  outline: 2px solid var(--copper);
  outline-offset: 0;
  border-color: var(--copper);
  background-color: #1E2740;
}

.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 2px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--mist);
}

.consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--copper);
}

button[type="submit"] {
  align-self: flex-start;
  margin-top: 6px;
  padding: 15px 40px;
  background: var(--copper);
  color: var(--navy);
  border: 1px solid var(--copper);
  border-radius: 0;
  font-family: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

button[type="submit"]:hover { background: var(--ivory); border-color: var(--ivory); }

button[type="submit"]:focus-visible { outline-offset: 3px; }

/* honeypot: ascuns vizual, rămâne completabil de roboți */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Pagina de confirmare ---------- */

.confirm {
  max-width: 640px;
  padding: 88px var(--pad) 96px;
}

.confirm h1 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: 'opsz' 72;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.confirm .rule { margin: 26px 0 24px; }

.confirm p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--mist);
}

.confirm p + p { margin-top: 28px; }

.confirm a {
  font-weight: 600;
  font-size: 15px;
  color: var(--copper);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.confirm a:hover { color: var(--ivory); }

/* ---------- Tabletă ---------- */

@media (min-width: 600px) {
  :root { --pad: 40px; --amt-size: 30px; }
  .hero-photo { width: calc(100% - 120px); }
  .confirm { padding-top: 120px; }
}

/* ---------- Desktop: grila flyerului ---------- */

@media (min-width: 960px) {
  :root { --amt-size: 32px; --amt-gap: 14px; }

  .hero,
  .sheet {
    display: grid;
    grid-template-columns:
      [full-start] minmax(48px, 1fr)
      [a-start] minmax(0, 552px) [a-end]
      72px
      [b-start] minmax(0, 552px) [b-end]
      minmax(48px, 1fr) [full-end];
  }

  .hero-text {
    grid-column: a;
    grid-row: 1;
    padding: 72px 0 0;
  }

  .hero-photo {
    order: 0;
    grid-column: b-start / full-end;
    grid-row: 1;
    position: relative;
    width: auto;
    max-width: none;
    aspect-ratio: auto;
    min-height: 700px;
  }

  .hero-photo img { position: absolute; inset: 0; }

  .title { font-size: clamp(56px, 5.5vw, 76px); }
  .tagline { margin-top: 26px; font-size: 17px; }
  .rule { margin: 28px 0 26px; }
  .slogan { font-size: clamp(30px, 2.7vw, 36px); }
  .intro { margin-top: auto; padding-top: 40px; font-size: 16.5px; max-width: 31em; }

  .sheet { padding: 0 0 88px; row-gap: 0; }

  .hair {
    display: block;
    grid-column: a-start / b-end;
    border-top: 1px solid var(--line);
    margin-top: 48px;
  }

  .block { padding: 52px 0 60px; }
  .hero + .sheet .block:first-of-type { margin-top: 0; }

  .services, .prices { border-top: 0; }
  .services, .why { grid-column: a; }
  .prices, .contact { grid-column: b; }
  .booking { grid-column: a-start / b-end; }

  .sec { margin-bottom: 26px; font-size: 13px; }

  .svc h3 { font-size: 16.5px; }
  .svc p { font-size: 16.5px; }
  .grp { font-size: 16.5px; margin-bottom: 12px; }
  .row { font-size: 16.5px; }
  .per { font-size: 15px; }
  .why li { font-size: 18px; }
  .loc { font-size: 17px; }
  .phone .num { font-size: 40px; }
  .wa { font-size: 17px; }
  .closing { font-size: 34px; margin-top: auto; padding-top: 36px; }

  .booking { padding-top: 56px; }

  form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 24px;
  }

  form label:has(textarea),
  .consent { grid-column: 1 / -1; }

  .consent { max-width: 44em; }

  button[type="submit"] { grid-column: 1; justify-self: start; margin-top: 4px; }
}
