/* Bright luxury RTL — personal consulting brand */

:root {
  --cream: #faf7f2;
  --cream-deep: #f3ebe1;
  --sand: #e6ddd2;
  --sand-muted: #d9cfc3;
  --warm-white: #fffcf9;
  /* תכלת בהיר — כרטיסים ומשטחים */
  --aqua-whisper: #f0f8fa;
  --aqua-card: #e5f3f7;
  --aqua-pale: #dcedf2;
  --aqua-tint: #dceef3;
  --aqua-line: rgba(72, 118, 128, 0.18);
  --aqua-line-soft: rgba(72, 118, 128, 0.1);
  --aqua-accent: #467682;
  --aqua-accent-muted: #5a8f9c;
  --ink: #2a2622;
  --ink-soft: #4a4540;
  --muted: #6e6860;
  --accent: #6b5344;
  --accent-hover: #5a4538;
  --line: rgba(74, 60, 48, 0.12);
  --line-strong: rgba(74, 60, 48, 0.18);
  --shadow-soft: 0 4px 24px rgba(42, 38, 34, 0.06);
  --shadow-lift: 0 20px 50px rgba(42, 38, 34, 0.08);
  --shadow-aqua: 0 8px 32px rgba(70, 118, 130, 0.08);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  /* כותרות וגוף — Assistant (כמו טקסט המשנה בהירו) */
  --font-body: "Assistant", system-ui, sans-serif;
  --font-display: var(--font-body);
  --header-gap: 5.75rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.65s;
}

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

html {
  scroll-behavior: smooth;
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  padding-top: var(--header-gap);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background: linear-gradient(
    165deg,
    var(--aqua-whisper) 0%,
    var(--cream) 38%,
    #eef6f8 72%,
    var(--cream-deep) 100%
  );
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

::selection {
  background: rgba(70, 118, 130, 0.22);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  padding: 0.55rem 1.1rem;
  background: var(--accent);
  color: var(--warm-white);
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 10px;
  z-index: 1000;
  transition: top 0.25s var(--ease-out);
  text-decoration: none;
  font-size: 0.95rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* —— Floating glass header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.15rem 1.25rem 0;
  pointer-events: none;
}

.header-shell {
  pointer-events: auto;
  max-width: 1120px;
  margin-inline: auto;
  padding: 0.65rem 1.25rem;
  background: rgba(240, 248, 250, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft), var(--shadow-aqua), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition: box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.site-header.is-scrolled .header-shell {
  background: rgba(237, 246, 248, 0.94);
  box-shadow: 0 8px 32px rgba(42, 38, 34, 0.07), 0 12px 40px rgba(70, 118, 130, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease-out);
}

.logo:hover {
  color: var(--aqua-accent);
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem 1.5rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.25s var(--ease-out);
}

.site-nav a:hover {
  color: var(--aqua-accent);
}

.nav-cta {
  padding: 0.45rem 1.15rem;
  background: var(--ink);
  color: var(--warm-white) !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--warm-white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(232, 244, 247, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--aqua-line-soft);
    border-radius: var(--radius);
    padding: 1rem;
    display: none;
    box-shadow: var(--shadow-lift);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: var(--cream-deep);
  }

  .nav-cta {
    text-align: center;
  }

  .header-inner {
    position: relative;
  }
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.is-visible {
  transition-delay: 0.08s;
}

.reveal-delay-2.is-visible {
  transition-delay: 0.16s;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-gap) - 2rem);
  padding: 0 0 clamp(3rem, 8vw, 5rem);
  margin-top: -0.5rem;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100svh - var(--header-gap) - 3rem);
  width: min(1240px, 100% - 2rem);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }
}

.hero-visual {
  position: relative;
  z-index: 0;
  order: 1;
}

@media (min-width: 900px) {
  .hero-visual {
    order: 0;
  }
}

.hero-image-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 768 / 1024;
  max-height: min(78vh, 820px);
  margin-inline: auto;
  box-shadow: var(--shadow-lift);
  background: var(--sand);
}

.hero-img {
  display: block;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: 52% 38%;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-frame-deco {
  position: absolute;
  inset: -12px;
  border: 1px solid var(--aqua-line);
  border-radius: calc(var(--radius-lg) + 8px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.85;
}

@media (min-width: 900px) {
  .hero-frame-deco {
    inset: auto;
    top: 8%;
    bottom: -4%;
    left: -6%;
    right: 10%;
    border-radius: var(--radius-lg);
  }
}

.hero-copy {
  order: 0;
  padding-inline: 0.25rem;
}

@media (min-width: 900px) {
  .hero-copy {
    order: 1;
    padding-inline-start: clamp(0.5rem, 3vw, 2rem);
  }
}

.hero-copy-inner {
  max-width: 34rem;
}

.hero-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqua-accent);
}

.hero-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 2.25rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
  max-width: 36em;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--ink);
  color: var(--warm-white);
  box-shadow: 0 4px 20px rgba(42, 38, 34, 0.15);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 38, 34, 0.12);
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* —— Sections —— */
.section {
  padding: clamp(4.5rem, 12vw, 7.5rem) 0;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-accent);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-title-display {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.18;
}

/* —— About —— */
.about {
  background: linear-gradient(
    145deg,
    var(--aqua-card) 0%,
    var(--aqua-tint) 48%,
    #e8f4f7 100%
  );
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius-lg);
  margin-inline: clamp(0.75rem, 3vw, 1.5rem);
  box-shadow: var(--shadow-soft), var(--shadow-aqua);
}

.about-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .about-split {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
  }
}

.about-body p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 42em;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-lead {
  font-size: 1.125rem;
  color: var(--ink-soft) !important;
}

/* —— Services —— */
.services {
  background: transparent;
}

.services-head {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 700px) {
  .services-head {
    margin-inline: 0;
    margin-bottom: 3.5rem;
  }
}

.service-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: start;
  }

  .service-card:nth-child(2) {
    margin-top: 2.5rem;
  }

  .service-card:nth-child(3) {
    margin-top: 5rem;
  }
}

.service-card {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  background: linear-gradient(
    160deg,
    var(--aqua-whisper) 0%,
    var(--aqua-card) 45%,
    var(--aqua-pale) 100%
  );
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), var(--shadow-aqua);
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.service-card:hover {
  border-color: var(--aqua-line);
  box-shadow: var(--shadow-lift), 0 16px 48px rgba(70, 118, 130, 0.12);
  transform: translateY(-4px);
}

.service-index {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--aqua-accent-muted);
  opacity: 0.55;
  letter-spacing: -0.03em;
}

.service-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
}

/* —— Why —— */
.why {
  background: linear-gradient(
    180deg,
    var(--cream-deep) 0%,
    var(--aqua-tint) 42%,
    var(--sand) 100%
  );
  border: 1px solid var(--aqua-line-soft);
  margin-inline: clamp(0.75rem, 3vw, 1.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.why-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 4rem;
    align-items: start;
  }
}

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

.why-list li {
  position: relative;
  padding-block: 1.15rem;
  padding-inline-start: 1.75rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.why-list li:last-child {
  border-bottom: none;
}

.why-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 1.35rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua-accent);
  opacity: 0.75;
}

/* —— Buying importance (4 insight cards) —— */
.buying-importance {
  background: transparent;
}

.buying-importance__head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.buying-importance__title {
  margin-bottom: 1.35rem;
}

.buying-importance__intro p {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
}

.buying-importance__intro p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.insight-card-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .insight-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.5rem;
  }
}

@media (min-width: 1100px) {
  .insight-card-list {
    gap: 1.5rem 1.75rem;
  }
}

.insight-card {
  padding: 1.6rem 1.45rem 1.65rem;
  background: linear-gradient(
    165deg,
    var(--aqua-whisper) 0%,
    var(--warm-white) 55%,
    var(--aqua-card) 100%
  );
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), var(--shadow-aqua);
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.insight-card:hover {
  border-color: var(--aqua-line);
  box-shadow: var(--shadow-lift), 0 18px 44px rgba(70, 118, 130, 0.1);
  transform: translateY(-3px);
}

.insight-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.insight-card__text {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--muted);
}

/* —— Quote highlight (before contact) —— */
.quote-highlight {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: transparent;
}

.quote-highlight__inner {
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(
    135deg,
    var(--aqua-card) 0%,
    var(--aqua-tint) 45%,
    var(--aqua-pale) 100%
  );
  border: 1px solid var(--aqua-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), var(--shadow-aqua);
  border-inline-start: 4px solid var(--aqua-accent-muted);
}

.quote-highlight__inner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.015em;
}

@media (prefers-reduced-motion: reduce) {
  .insight-card:hover {
    transform: none;
  }
}

/* —— Contact —— */
.contact {
  background: transparent;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 4rem;
  }
}

.contact-lead {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 28em;
}

.form-wrap {
  background: linear-gradient(
    155deg,
    var(--aqua-whisper) 0%,
    var(--aqua-card) 50%,
    var(--aqua-tint) 100%
  );
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft), var(--shadow-aqua);
}

.lead-form {
  position: relative;
}

.lead-form .form-row {
  margin-bottom: 1.2rem;
}

.lead-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 252, 249, 0.92);
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
}

.lead-form input:hover,
.lead-form select:hover,
.lead-form textarea:hover {
  border-color: var(--aqua-line);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  background: var(--warm-white);
  border-color: var(--aqua-accent-muted);
  box-shadow: 0 0 0 3px rgba(70, 118, 130, 0.14);
}

.lead-form textarea {
  resize: vertical;
  min-height: 120px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.form-status {
  margin: 1rem 0 0;
  min-height: 1.5em;
  font-size: 0.95rem;
}

.form-status.is-success {
  color: #3d6b52;
}

.form-status.is-error {
  color: #a34a4a;
}

/* —— Footer —— */
.site-footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--aqua-line-soft);
  background: linear-gradient(180deg, var(--aqua-whisper) 0%, var(--aqua-card) 100%);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.88rem;
}

.footer-legal a {
  color: var(--aqua-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.footer-legal a:hover {
  border-bottom-color: var(--aqua-accent-muted);
  color: var(--aqua-accent-muted);
}

.footer-legal a[aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 700;
  border-bottom-color: var(--aqua-line);
}

.footer-legal-sep {
  color: var(--muted);
  opacity: 0.6;
  user-select: none;
}

/* —— Form privacy consent (RTL grid, tight text + checkbox) —— */
.form-row--consent {
  margin-bottom: 1.35rem;
}

.form-consent-wrap {
  direction: rtl;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 0.65rem;
  row-gap: 0.25rem;
  padding: 0.85rem 1rem 0.9rem;
  background: rgba(255, 252, 249, 0.72);
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-consent-wrap:focus-within {
  border-color: rgba(70, 118, 130, 0.28);
  box-shadow: 0 0 0 3px rgba(70, 118, 130, 0.09);
}

.form-consent-input {
  grid-column: 1;
  grid-row: 1;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  margin-top: 0.32rem;
  flex-shrink: 0;
  accent-color: var(--aqua-accent);
  cursor: pointer;
  align-self: start;
}

.form-consent-label {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  font-weight: 500;
  cursor: pointer;
  text-align: start;
  text-wrap: pretty;
}

.form-consent-label__text {
  display: inline;
}

.form-consent-link {
  display: inline;
  color: var(--aqua-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(70, 118, 130, 0.35);
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.form-consent-link:hover {
  color: var(--aqua-accent-muted);
  border-bottom-color: var(--aqua-accent-muted);
}

.form-consent-link:focus-visible {
  outline: 2px solid var(--aqua-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (max-width: 480px) {
  .form-consent-wrap {
    padding: 0.75rem 0.85rem 0.8rem;
    column-gap: 0.55rem;
  }

  .form-consent-label {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .form-consent-input {
    margin-top: 0.28rem;
  }
}

/* —— Legal inner pages —— */
.legal-page {
  padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(4rem, 10vw, 5.5rem);
}

.legal-inner {
  max-width: 720px;
}

.legal-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-prose {
  background: var(--warm-white);
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.legal-prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
}

.legal-prose li {
  margin-bottom: 0.5rem;
}

.legal-prose a {
  color: var(--aqua-accent);
  font-weight: 600;
  word-break: break-word;
}

.legal-prose a:hover {
  color: var(--aqua-accent-muted);
}

.legal-back {
  margin: 2rem 0 0;
}

.legal-back-link {
  font-weight: 600;
  color: var(--aqua-accent);
  text-decoration: none;
}

.legal-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 899px) {
  .hero-image-shell {
    max-height: 62vh;
    aspect-ratio: 3 / 4;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    margin-top: 0 !important;
  }
}

/* —— Cookie consent banner —— */
.cookie-consent {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  z-index: 195;
  width: min(36rem, calc(100vw - 2rem));
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out),
    visibility 0.45s var(--ease-out);
}

.cookie-consent--visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.cookie-consent--hiding {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  pointer-events: none;
}

.cookie-consent__panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.15rem;
  background: rgba(255, 252, 249, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--aqua-line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), var(--shadow-aqua), 0 16px 48px rgba(42, 38, 34, 0.1);
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 1.1rem;
}

.cookie-consent__btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: var(--ink);
  color: var(--warm-white);
  box-shadow: 0 4px 16px rgba(42, 38, 34, 0.12);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.cookie-consent__btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid var(--aqua-accent);
  outline-offset: 2px;
}

.cookie-consent__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--aqua-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.cookie-consent__link:hover {
  border-bottom-color: var(--aqua-accent-muted);
  color: var(--aqua-accent-muted);
}

.cookie-consent__link:focus-visible {
  outline: 2px solid var(--aqua-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .cookie-consent {
    bottom: calc(5.85rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .cookie-consent--visible {
    transform: translate(-50%, 0);
  }

  .cookie-consent--hiding {
    transform: translate(-50%, 0);
  }

  .cookie-consent__btn:hover {
    transform: none;
  }
}

/* —— Floating WhatsApp (physical bottom-left) —— */
.whatsapp-float {
  position: fixed;
  left: calc(1.25rem + env(safe-area-inset-left, 0px));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: auto;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  direction: ltr;
  padding: 0.65rem 1.15rem 0.65rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
  background: rgba(255, 252, 249, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--aqua-line-soft);
  box-shadow: var(--shadow-soft), var(--shadow-aqua);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
    box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-float:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: var(--shadow-lift), 0 14px 44px rgba(37, 211, 102, 0.14);
  transform: translateY(-4px);
}

.whatsapp-float.is-visible:hover {
  transform: translateY(-4px);
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--aqua-accent);
  outline-offset: 3px;
}

.whatsapp-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #22c55e;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
  transition: transform 0.35s var(--ease-out), color 0.25s;
}

.whatsapp-float:hover .whatsapp-float__icon {
  transform: scale(1.08);
  color: #25d366;
}

.whatsapp-float__text {
  line-height: 1;
  padding-bottom: 1px;
}

@media (max-width: 520px) {
  .whatsapp-float__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .whatsapp-float {
    padding: 0.78rem;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: opacity 0.2s ease;
  }

  .whatsapp-float:hover,
  .whatsapp-float.is-visible:hover {
    transform: none;
  }

  .whatsapp-float:hover .whatsapp-float__icon {
    transform: none;
  }
}
