/* ==========================================================
   Tour Olam – Passover 2027 · Shared stylesheet (HE + EN)
   Direction: the classic Tour Olam Pesach sites (blue + orange,
   big lake hero, round logo badge, icon menu), refreshed.
   Mobile-first, logical properties for RTL/LTR.
   ========================================================== */

:root {
  /* Brand (from the Tour Olam logo) */
  --blue-900: #062f4f;
  --blue-800: #083f69;
  --blue-700: #0b5589;
  --blue-500: #1d7fc1;
  --blue-100: #e6f1f9;
  --blue-50: #f3f8fc;
  --orange: #f7941d;        /* decorative: icons, lines */
  --orange-btn: #d06a00;    /* buttons: AA for large bold text */
  --orange-text: #b35400;   /* small orange text: AA */
  --orange-50: #fff4e8;
  --white: #ffffff;
  --ink: #17293a;
  --ink-soft: #4b5d6c;
  --line: #dbe6ee;

  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(6, 47, 79, 0.08);
  --shadow-lg: 0 20px 50px rgba(6, 47, 79, 0.16);
  --header-h: 76px;
  --container: 1180px;
  --gutter: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
svg.icon { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-weight: 700; line-height: 1.2; color: var(--blue-700); margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
[lang="en"] h2 { text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0 0 1em; }

a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300;
  background: var(--blue-900); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.2rem; /* large text → 3:1 contrast */
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { font-size: 1.1em; }
.btn-primary { background: var(--orange-btn); color: var(--white); box-shadow: 0 8px 20px rgba(208,106,0,.3); }
.btn-primary:hover { background: #b45b00; color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: var(--blue-700); color: var(--blue-700); background: transparent; font-size: 1.05rem; min-height: 46px; padding: 8px 22px; }
.btn-outline:hover { background: var(--blue-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--blue-800); }
.btn-light:hover { background: var(--blue-100); color: var(--blue-900); }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(6,47,79,.08);
  transition: transform .3s;
}
.site-header::before { /* thin brand strip, as on the classic site */
  content: ""; display: block; height: 6px;
  background: linear-gradient(90deg, var(--blue-800), var(--blue-500) 70%, var(--orange));
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: calc(var(--header-h) - 6px);
}

.brand {
  position: relative; align-self: flex-start; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; margin-top: 4px;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 8px 24px rgba(6,47,79,.18);
  transition: width .3s, height .3s;
}
.brand img { width: 78%; height: auto; }
.site-header.is-scrolled .brand { width: 62px; height: 62px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center; gap: 8px;
  color: var(--blue-700); font-weight: 500; text-decoration: none;
}
.site-nav a .icon { color: var(--orange); font-size: 1.45rem; stroke-width: 1.4; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--orange-text); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--blue-700);
}
.lang-switch:hover { border-color: var(--blue-700); color: var(--blue-900); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-800); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; inset-inline: 0; top: var(--header-h);
  background: var(--white); box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav.is-open { display: block; }
.site-nav ul { padding: 8px var(--gutter) 20px; }
.site-nav li + li a { border-block-start: 1px solid var(--blue-50); }
.site-nav a { padding: 14px 4px; font-size: 1.1rem; }

@media (min-width: 1300px) {
  :root { --container: 1300px; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .site-nav {
    display: block; position: static; box-shadow: none; background: transparent;
    max-height: none; overflow: visible; margin-inline: auto;
  }
  .site-nav ul { display: flex; gap: 0; padding: 0; }
  .site-nav li + li a { border: 0; }
  .site-nav a { gap: 6px; padding: 8px 7px; font-size: .98rem; white-space: nowrap; }
  .brand { width: 108px; height: 108px; }
  .site-header.is-scrolled .brand { width: 66px; height: 66px; }
}
.header-cta {
  align-items: center; min-height: 46px; padding: 8px 22px; border-radius: 999px;
  background: var(--orange-btn); color: var(--white); font-weight: 700; font-size: 1.2rem; text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: #b45b00; color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding-block: calc(var(--header-h) + 40px) 120px;
  overflow: hidden;
  /* Temporary sky-and-lake backdrop until the photo/video is added (media stage) */
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(255, 196, 140, .55), transparent 70%),
    linear-gradient(180deg, #5d8fbf 0%, #9cb8d6 38%, #f2c6a0 58%, #3b6f9b 60%, #1c4f7c 100%);
}
.hero-media, .hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media { z-index: 0; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero::before { /* mountain ridge silhouettes */
  content: ""; position: absolute; inset-inline: 0; top: 41%; height: 20%; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath fill='%237d93ad' fill-opacity='.55' d='M0 140 L120 80 L210 120 L330 40 L460 120 L560 70 L700 130 L820 50 L950 120 L1060 70 L1200 110 V200 H0Z'/%3E%3Cpath fill='%235d7896' fill-opacity='.7' d='M0 170 L150 110 L260 150 L400 90 L520 160 L650 100 L780 160 L900 110 L1040 160 L1200 120 V200 H0Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.hero::after { /* readability overlay */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(6,47,79,.15), rgba(6,47,79,.05) 40%, rgba(6,47,79,.45));
}
.hero.has-media::before { display: none; }
.hero.has-media::after {
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(6,47,79,.45), transparent 75%),
    linear-gradient(180deg, rgba(6,47,79,.35), rgba(6,47,79,.15) 40%, rgba(6,47,79,.6));
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-title { color: var(--white); margin: 0; line-height: .95; text-shadow: 0 6px 30px rgba(6,47,79,.35); }
.hero-title .t0 { display: block; font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 400; letter-spacing: .3em; margin-bottom: .2em; }
.hero-title .t1 { display: block; font-size: clamp(4.5rem, 19vw, 10rem); font-weight: 800; letter-spacing: -.02em; }
.hero-title .t2 { display: block; font-size: clamp(3rem, 12vw, 6.5rem); font-weight: 300; }
[lang="en"] .hero-title .t1 { text-transform: uppercase; font-size: clamp(3.4rem, 15vw, 8.5rem); }
.hero-place {
  display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 14px;
  font-size: clamp(1.2rem, 3.4vw, 1.8rem); font-weight: 400; letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(6,47,79,.4);
}
.hero-place .icon { color: var(--orange); }
.hero-lead { max-width: 640px; margin: 0 auto 30px; font-size: clamp(1.05rem, 2.4vw, 1.25rem); text-shadow: 0 2px 10px rgba(6,47,79,.45); }

/* ---------- Fact cards (overlap the hero) ---------- */
.facts { position: relative; z-index: 2; margin-top: -80px; }
.facts-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
.fact {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--blue-700), var(--blue-800));
  color: var(--white); box-shadow: var(--shadow-lg);
}
.fact > .icon { font-size: 2.2rem; color: var(--orange); margin-top: 2px; }
.fact .label { display: block; font-size: 1.15rem; font-weight: 700; }
.fact .value { display: block; opacity: .92; }
.fact.is-soft { background: var(--white); color: var(--ink); border: 1.5px dashed var(--blue-500); box-shadow: var(--shadow); }
.fact.is-soft .label { color: var(--blue-700); }
.facts .placeholder { margin-top: 14px; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 80px; }
@media (min-width: 900px) { .section { padding-block: 110px; } }
.section-tint { background: var(--blue-50); }
.section-mist { /* misty mountains, as on the classic site */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath fill='%23dbe7f1' d='M0 180 L140 110 L260 160 L400 70 L540 150 L660 100 L800 170 L940 80 L1080 150 L1200 110 V300 H0Z'/%3E%3Cpath fill='%23cddff0' fill-opacity='.8' d='M0 230 L180 160 L320 210 L470 140 L620 220 L760 160 L900 220 L1050 170 L1200 210 V300 H0Z'/%3E%3C/svg%3E") bottom / 100% 38% no-repeat,
    linear-gradient(180deg, var(--white), var(--blue-50));
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange-text); font-weight: 600; font-size: 1rem; margin-bottom: 10px;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* Split: text + photo collage */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.reverse > :first-child { order: 2; }
}
.collage { display: grid; gap: 14px; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 5 / 4; }
.collage .photo:first-child { grid-row: 1 / 3; }
.photo {
  /* reserved spot for a photo (media stage) */
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,.0), rgba(6,47,79,.08)),
    linear-gradient(135deg, var(--blue-100), #eaf2f0);
  box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; opacity: .35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5589' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-9 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.split-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Lists */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 36px; }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange-50) no-repeat center / 13px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23d06a00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.x-list li::before {
  background: var(--blue-50) no-repeat center / 11px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234b5d6c' stroke-width='2.4' stroke-linecap='round' d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
}

/* ---------- Highlights ("what awaits you") ---------- */
.highlights { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 48px 0 0; }
@media (min-width: 600px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlights a {
  display: block; height: 100%; padding: 26px 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.highlights a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.highlights .icon { font-size: 2.6rem; color: var(--orange); stroke-width: 1.3; margin-bottom: 12px; }
.highlights strong { display: block; color: var(--blue-700); font-size: 1.15rem; margin-bottom: 4px; }
.highlights span { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; display: block; }

/* ---------- Rooms ---------- */
.rooms { margin-top: 72px; }
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.room-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room-card .photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.room-card .body { padding: 18px 20px 22px; }
.room-card h4 { margin: 0 0 10px; color: var(--blue-700); font-size: 1.15rem; font-weight: 600; }

/* ---------- Spa tiles ---------- */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0 0 24px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } .split .tiles { grid-template-columns: repeat(2, 1fr); } }
.tiles li {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-weight: 500;
}
.tiles .icon { color: var(--orange); font-size: 1.5rem; }
.info-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.info-strip li { padding: 6px 16px; border-radius: 999px; background: var(--blue-700); color: var(--white); font-weight: 500; font-size: .98rem; }

/* ---------- Placeholders for missing content (☐) ---------- */
.placeholder {
  border: 2px dashed var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; color: var(--ink-soft); background: rgba(255,255,255,.7); font-size: .98rem;
}
.placeholder::before { content: attr(data-label); display: block; font-weight: 700; color: var(--blue-700); font-size: .9rem; }
.split .placeholder { margin-top: 20px; }

/* ---------- Kids banner ---------- */
.banner {
  display: grid; gap: 28px; align-items: center;
  padding: 40px 28px; border-radius: 28px;
  background: linear-gradient(135deg, var(--orange-50), #fff 60%);
  border: 1px solid #f6dcc0;
}
@media (min-width: 860px) { .banner { grid-template-columns: auto 1fr; padding: 48px 56px; } }
.banner-icon { width: 96px; height: 96px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.banner-icon .icon { font-size: 3rem; color: var(--orange); stroke-width: 1.3; }
.banner h2 { margin-bottom: .3em; }
.banner p { margin: 0; font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Included ---------- */
.included-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .included-grid { grid-template-columns: 3fr 2fr; } }
.included-box { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.included-box.is-main { border-block-start: 5px solid var(--orange); }
.included-box.is-muted { background: transparent; box-shadow: none; border: 1.5px solid var(--line); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }
.gallery-grid .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .photo:nth-child(6), .gallery-grid .photo:nth-child(7) { grid-column: span 2; }

/* ---------- Why Tour Olam ---------- */
.why-section { background: linear-gradient(160deg, var(--blue-800), var(--blue-900)); color: var(--white); overflow: hidden; }
.why-section h2, .why-section h3 { color: var(--white); }
.why-section .kicker { color: #ffb45c; }
.why-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.why-item .big { display: block; font-size: 3rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 10px; }
.why-item > .icon { font-size: 2.4rem; color: var(--orange); stroke-width: 1.3; margin-bottom: 12px; }
.why-item p { margin: 0; color: rgba(255,255,255,.88); }
.why-section .placeholder { margin-top: 28px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.why-section .placeholder::before { color: #ffb45c; }
.tagline { text-align: center; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 300; margin: 56px 0 0; }

/* ---------- Contact ---------- */
.contact-section { background: linear-gradient(180deg, var(--blue-700), var(--blue-500)); color: var(--white); }
.contact-section h2 { color: var(--white); }
.contact-section .lead { color: rgba(255,255,255,.92); }
.contact-section .kicker { color: #ffd2a0; }
.contact-methods { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-methods a {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.1rem;
}
.contact-methods a:hover { background: rgba(255,255,255,.18); color: var(--white); }
.contact-methods .m-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--blue-700); display: flex; align-items: center; justify-content: center; }
.contact-methods .m-icon .icon { font-size: 1.35rem; }
.contact-methods .m-label { display: block; font-size: .9rem; font-weight: 400; opacity: .85; }
.contact-methods .m-value { direction: ltr; unicode-bidi: isolate; }

.contact-form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 30px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
@media (min-width: 560px) { .contact-form { padding: 36px 34px; } }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
  .form-grid .third-row { grid-column: 1 / -1; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
}
.third-row { display: grid; gap: 16px; align-items: end; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1rem; color: var(--blue-800); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--blue-50); border: 1.5px solid #9fb3c3; border-radius: var(--radius-sm);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { background: var(--white); border-color: var(--blue-700); outline: 3px solid rgba(11,85,137,.2); outline-offset: 0; }
.field .hint { font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.form-consent { font-size: .92rem; color: var(--ink-soft); margin: 14px 0 0; }
.contact-form .btn { width: 100%; margin-top: 22px; }
.hidden-field { display: none; }
.field .req { font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.field-error { display: block; min-height: 0; margin-top: 4px; font-size: .9rem; font-weight: 600; color: #b3261e; }
.field-error:empty { margin: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; background: #fdf3f2; }
.form-status { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-error { background: #fdf3f2; color: #8c1d18; border: 1px solid #f1c6c2; }
.contact-form .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.contact-form.is-sent > :not(.form-success) { display: none; }
.form-success { text-align: center; padding: 28px 8px; outline: none; }
.form-success[hidden] { display: none; }
.form-success-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; align-items: center; justify-content: center; background: var(--orange-50); color: var(--orange-btn); margin-bottom: 14px; }
.form-success-icon .icon { font-size: 2.4rem; }
.thanks-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--blue-50); }
.thanks { text-align: center; padding: 48px var(--gutter); max-width: 560px; }
.thanks-logo { width: 160px; margin: 0 auto 24px; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
.form-success p { font-size: 1.25rem; font-weight: 600; color: var(--blue-800); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.85); padding-block: 44px 110px; font-size: 1rem; }
.footer-inner { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.footer-symbol { height: 56px; width: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; }
.site-footer a { color: var(--white); }
.copyright { margin: 0; opacity: .75; font-size: .95rem; }

/* ---------- Floating action buttons (as on the classic site) ---------- */
.fab-stack {
  position: fixed; z-index: 90; bottom: 18px; inset-inline-end: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--blue-700); box-shadow: 0 6px 20px rgba(6,47,79,.25);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.07); color: var(--blue-900); }
.fab .icon { font-size: 1.5rem; }
.fab-whatsapp { background: #1f8f4e; color: var(--white); }
.fab-whatsapp:hover { color: var(--white); }
.fab-share[hidden] { display: none; }
@media (max-width: 640px) {
  .fab-stack { gap: 8px; bottom: 14px; inset-inline-end: 12px; }
  .fab { width: 46px; height: 46px; }
  .fab .icon { font-size: 1.3rem; }
}
.toast {
  position: fixed; z-index: 120; bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--blue-900); color: var(--white); padding: 10px 18px; border-radius: 999px;
  font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .3s;
}
[dir="rtl"] .toast { transform: translateX(50%); }
.toast.is-visible { opacity: 1; }
