/* ============================================
   משרד עו״ד אופיר יעקובוביץ – Stylesheet
   RTL Hebrew, dark blue / gold / light gray palette
   ============================================ */

:root {
  /* Colors */
  --c-navy-900: #0a1f3d;
  --c-navy-800: #0f2a52;
  --c-navy-700: #163a6e;
  --c-navy-600: #1f4d8a;
  --c-navy-50:  #eef3fa;
  --c-gold:     #c9a961;
  --c-gold-700: #a88a48;
  --c-gold-100: #f4ecd8;
  --c-white:    #ffffff;
  --c-gray-50:  #f6f8fb;
  --c-gray-100: #eef0f4;
  --c-gray-200: #dfe4ec;
  --c-gray-300: #c4ccd8;
  --c-gray-500: #6b7280;
  --c-gray-700: #2d3748;
  --c-gray-900: #111827;
  --c-text:     #1a2336;
  --c-muted:    #5b6577;
  --c-success:  #16a34a;
  --c-danger:   #dc2626;
  --c-whatsapp: #25d366;

  /* Layout */
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 12px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 31, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 31, 61, 0.14);

  /* Typography */
  --font-sans: 'Assistant', 'Heebo', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section-light { background: var(--c-gray-50); }
.section-dark {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 100%);
  color: var(--c-white);
}
.section-dark h2, .section-dark h3, .section-dark .eyebrow { color: var(--c-white); }
.section-dark p { color: rgba(255,255,255,.85); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head .eyebrow { display: inline-block; }
.section-head h2 { margin-block: .8rem .8rem; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-navy-900);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; text-transform: none; margin-bottom: 1rem; color: var(--c-navy-900); }

p { color: var(--c-muted); }
p + p { margin-top: 1rem; }

.lede { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--c-muted); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold);
  padding: .25rem .75rem;
  border: 1px solid rgba(201,169,97,.4);
  border-radius: 999px;
  background: rgba(201,169,97,.08);
}
.eyebrow-dark {
  color: var(--c-gold-700);
  background: var(--c-gold-100);
  border-color: rgba(168,138,72,.3);
}

.accent { color: var(--c-gold); }
.muted { color: var(--c-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: .95rem 1.85rem; font-size: 1rem; }

.btn-primary {
  background: var(--c-navy-800);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--c-navy-900); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--c-gold);
  color: var(--c-navy-900);
  box-shadow: 0 6px 18px rgba(201,169,97,.35);
}
.btn-gold:hover { background: var(--c-gold-700); color: var(--c-white); box-shadow: 0 10px 24px rgba(168,138,72,.42); }

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.section-light .btn-outline,
.contact-info .btn-outline {
  color: var(--c-navy-900);
  border-color: rgba(15,42,82,.25);
}
.section-light .btn-outline:hover,
.contact-info .btn-outline:hover { background: rgba(15,42,82,.06); border-color: rgba(15,42,82,.5); }

.btn-whatsapp {
  background: var(--c-whatsapp);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { background: #1ebe5a; }

.center-cta { text-align: center; margin-top: 3rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-gray-200);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--c-navy-900);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  height: 72px;
  flex-shrink: 0;
}
.brand-mark img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .brand-mark { height: 56px; }
}
@media (max-width: 480px) {
  .brand-mark { height: 48px; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; font-weight: 700; color: var(--c-navy-900); }
.brand-text em { font-style: normal; font-size: .75rem; color: var(--c-muted); font-weight: 500; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.primary-nav a {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--c-text);
  position: relative;
}
.primary-nav a:hover { background: var(--c-gray-100); color: var(--c-navy-900); }
.primary-nav a.active {
  color: var(--c-navy-900);
  font-weight: 600;
}
.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
}
.nav-cta { padding: .65rem 1.2rem !important; font-size: .9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-navy-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 60%, var(--c-navy-600) 100%);
  color: var(--c-white);
  padding-block: clamp(4rem, 10vw, 7.5rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(201,169,97,.18), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(31,77,138,.4), transparent 55%),
    linear-gradient(120deg, transparent 0%, transparent 50%, rgba(255,255,255,.04) 50.1%, rgba(255,255,255,.04) 51%, transparent 51.1%);
  background-size: cover, cover, 40px 40px;
  opacity: .9;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.hero h1 {
  color: var(--c-white);
  margin-block: 1rem 1.25rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.hero .lede { color: rgba(255,255,255,.88); max-width: 60ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(201,169,97,.45); color: var(--c-gold); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-trust li {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  position: relative;
  padding-inline-start: 1.5rem;
}
.hero-trust li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .55rem;
  width: 8px;
  height: 8px;
  background: var(--c-gold);
  border-radius: 50%;
}
.hero-trust strong { color: var(--c-white); font-weight: 700; }

.hero-bdi-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: .75rem 1.25rem .75rem .85rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,169,97,.45);
  border-radius: 999px;
  color: var(--c-white);
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
  max-width: 100%;
}
.hero-bdi-badge:hover {
  background: rgba(255,255,255,.14);
  border-color: var(--c-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.hero-bdi-img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-white);
  padding: 4px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.hero-bdi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.hero-bdi-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.hero-bdi-text strong {
  font-size: .98rem;
  font-weight: 700;
  color: var(--c-gold);
}
.hero-bdi-text em {
  font-style: normal;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.hero-bdi-arrow {
  color: var(--c-gold);
  flex-shrink: 0;
  transition: transform .2s ease;
}
/* In RTL the arrow points to the start of the line; flip it visually */
html[dir="rtl"] .hero-bdi-arrow { transform: scaleX(-1); }
.hero-bdi-badge:hover .hero-bdi-arrow {
  transform: scaleX(-1) translateX(3px);
}

@media (max-width: 480px) {
  .hero-bdi-badge {
    width: 100%;
    border-radius: var(--radius);
    padding: .85rem 1rem;
  }
  .hero-bdi-img { width: 48px; height: 48px; }
  .hero-bdi-text strong { font-size: .92rem; }
  .hero-bdi-text em { font-size: .78rem; }
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 100%);
  color: var(--c-white);
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(201,169,97,.15), transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(31,77,138,.3), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; max-width: 880px; }
.page-hero h1 { color: var(--c-white); margin-block: 1rem .9rem; }
.page-hero .lede { color: rgba(255,255,255,.85); }

/* Two-column */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.two-col h2 { margin-bottom: 1rem; }
.two-col h2 + p,
.two-col p + h2 { margin-top: 1rem; }
.two-col .btn { margin-top: 1.5rem; }

.stat-card {
  background: var(--c-navy-900);
  color: var(--c-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -40px;
  inset-inline-end: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(201,169,97,.25), transparent 70%);
  border-radius: 50%;
}
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-num { font-size: 2.25rem; font-weight: 800; color: var(--c-gold); line-height: 1; }
.stat-label { color: rgba(255,255,255,.85); font-size: .95rem; }

.info-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid var(--c-gold); }

.check-list { display: grid; gap: .75rem; }
.check-list li {
  position: relative;
  padding-inline-start: 2rem;
  color: var(--c-text);
  font-size: .98rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .5rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-gold);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a1f3d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>");
  background-repeat: no-repeat;
  background-size: 12px 12px;
  background-position: center;
}

/* Grids */
.grid { display: grid; gap: 1.25rem; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.grid-media { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cases { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Service card */
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold);
}
.service-card h3 { margin-block: 1rem .6rem; }
.service-card p { font-size: .95rem; line-height: 1.65; }

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-navy-50), #fff);
  color: var(--c-navy-800);
  border: 1px solid var(--c-gray-200);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--c-navy-800), var(--c-navy-700));
  color: var(--c-gold);
  border-color: transparent;
}

.service-card-detailed { padding: 2rem; }
.service-card-detailed h3 { font-size: 1.35rem; }
.service-card-detailed p { margin-top: .5rem; }

/* Feature */
.feature {
  position: relative;
  padding: 1.75rem 1.5rem 1.75rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  transition: background .25s ease, border-color .25s ease;
}
.feature:hover { background: rgba(255,255,255,.07); border-color: rgba(201,169,97,.4); }
.feature-num {
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: .12em;
  margin-bottom: .75rem;
}
.feature h3 { color: var(--c-white); margin-bottom: .6rem; font-size: 1.15rem; }
.feature p { color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.65; }

.grid-features-light .feature {
  background: var(--c-white);
  border-color: var(--c-gray-200);
}
.grid-features-light .feature:hover { border-color: var(--c-gold); box-shadow: var(--shadow-sm); }
.grid-features-light .feature h3 { color: var(--c-navy-900); }
.grid-features-light .feature p { color: var(--c-muted); }
.grid-features-light .feature-num { color: var(--c-gold-700); }

/* BDi recognition */
.recognition-band {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-800) 100%);
  color: var(--c-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.recognition-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,169,97,.18), transparent 60%);
  pointer-events: none;
}
.recognition-badge {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.recognition-badge img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.recognition-text { position: relative; }
.recognition-text .eyebrow {
  background: rgba(201,169,97,.14);
  border-color: rgba(201,169,97,.5);
  color: var(--c-gold);
}
.recognition-text h2 {
  color: var(--c-white);
  margin-block: .9rem .75rem;
}
.recognition-text p {
  color: rgba(255,255,255,.85);
  font-size: 1.02rem;
}
.recognition-text .btn { margin-top: 1.5rem; }

@media (max-width: 720px) {
  .recognition-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .recognition-badge {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* Media cards */
.media-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-gold); }
.media-tag {
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-navy-900);
  background: var(--c-gold-100);
  padding: .25rem .65rem;
  border-radius: 999px;
}
.media-card h3 { color: var(--c-navy-900); }
.media-card p { font-size: .95rem; }
.media-meta { font-size: .85rem; color: var(--c-gray-500); margin-top: auto; padding-top: .5rem; }

/* Case cards */
.case-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-inline-start: 4px solid var(--c-gold);
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.case-num {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--c-gold-700);
  margin-bottom: .6rem;
}
.case-card h3 { color: var(--c-navy-900); margin-bottom: .5rem; }
.case-card p { font-size: .95rem; }

.footnote {
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--c-gray-500);
  font-style: italic;
  text-align: center;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 100%);
  color: var(--c-white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.cta-band h2 { color: var(--c-white); }
.cta-band p { color: rgba(255,255,255,.85); margin-top: .5rem; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-form-wrap h2 { margin-bottom: .5rem; }
.contact-form { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-size: .9rem; font-weight: 600; color: var(--c-navy-900); }
.req { color: var(--c-danger); }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--c-gray-300);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-text);
  transition: border-color .2s ease, box-shadow .2s ease;
  direction: rtl;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--c-gray-500); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-navy-700);
  box-shadow: 0 0 0 4px rgba(31,77,138,.12);
}
.form-row textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-row select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231a2336' stroke-width='2'><polyline points='1 1 6 6 11 1'/></svg>"); background-repeat: no-repeat; background-position: left 1rem center; padding-inline-start: 2.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form-note { font-size: .85rem; color: var(--c-gray-500); margin: 0; }
.form-feedback { font-size: .95rem; padding: 0; min-height: 1.5rem; }
.form-feedback.success { color: var(--c-success); padding: .9rem 1rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); }
.form-feedback.error { color: var(--c-danger); padding: .9rem 1rem; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); }
.form-feedback.info { color: var(--c-navy-800); padding: .9rem 1rem; background: var(--c-navy-50); border: 1px solid #c7d8f0; border-radius: var(--radius-sm); }

/* Contact info */
.contact-info {
  background: var(--c-gray-50);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-info h2 { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--c-gold); }
.contact-list { display: grid; gap: 1.1rem; margin-bottom: 1.5rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--c-navy-800);
  color: var(--c-gold);
}
.ci-label { display: block; font-size: .8rem; color: var(--c-muted); font-weight: 500; margin-bottom: .15rem; }
.ci-value { color: var(--c-navy-900); font-weight: 600; font-size: 1rem; word-break: break-word; }
.ci-value:hover { color: var(--c-gold-700); }

/* Map */
.map-section {
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  background: var(--c-gray-100);
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.15) contrast(1.05);
}

/* Footer */
.site-footer {
  background: var(--c-navy-900);
  color: rgba(255,255,255,.8);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1rem; }
.footer-brand strong { color: var(--c-white); font-size: 1.15rem; font-weight: 700; }
.footer-brand span { font-size: .85rem; color: rgba(255,255,255,.6); }
.site-footer p { color: rgba(255,255,255,.7); }
.site-footer h4 { color: var(--c-white); font-size: .95rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links, .footer-contact { display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .95rem; transition: color .2s ease, padding .2s ease; }
.footer-links a:hover { color: var(--c-gold); padding-inline-start: .25rem; }
.footer-contact li { font-size: .9rem; color: rgba(255,255,255,.7); display: flex; gap: .5rem; flex-wrap: wrap; align-items: baseline; }
.footer-contact li span { color: rgba(255,255,255,.5); font-weight: 500; min-width: 86px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--c-gold); }

.footer-bottom {
  background: rgba(0,0,0,.18);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.disclaimer { font-size: .85rem; color: rgba(255,255,255,.6); max-width: 60ch; }
.copy { font-size: .85rem; color: rgba(255,255,255,.5); }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: var(--c-white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: pulseGlow 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(37,211,102,.55);
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* Responsive */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: right; }
}

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

  .primary-nav {
    position: fixed;
    right: 0;
    top: 70px;
    width: min(320px, 85vw);
    height: calc(100vh - 70px);
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    gap: .25rem;
    box-shadow: -10px 0 30px rgba(0,0,0,.1);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    overflow-y: auto;
  }
  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .3s ease, visibility 0s linear 0s;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    width: 100%;
  }
  .primary-nav a {
    padding: .85rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
  }
  .primary-nav a.active::after { display: none; }
  .primary-nav a.active { background: var(--c-navy-50); color: var(--c-navy-900); }
  .nav-cta { margin-top: 1rem; width: 100%; padding: .85rem 1rem !important; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 1rem; }

  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; text-align: right; }

  .brand-text em { display: none; }

  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; inset-inline-start: 18px; }
}

@media (max-width: 480px) {
  .brand-text strong { font-size: .9rem; }
  .stat-num { font-size: 1.85rem; }
  .stat-card { padding: 1.5rem; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Print */
@media print {
  .site-header, .whatsapp-float, .nav-toggle, .cta-band, .map-section { display: none !important; }
  body { color: #000; background: #fff; }
}
