/* =========================================================
   Schiphol Abogados — Hoja de estilos principal
   ========================================================= */

:root {
  --navy: #0d2340;
  --navy-dark: #081729;
  --navy-light: #163a63;
  --gold: #8a94a3;
  --gold-light: #b9c1cc;
  --cream: #f7f4ee;
  --white: #ffffff;
  --gray-700: #4a5568;
  --gray-500: #7a8699;
  --gray-200: #e4e7ec;
  --shadow: 0 20px 40px -12px rgba(13, 35, 64, 0.18);
  --shadow-sm: 0 6px 16px -6px rgba(13, 35, 64, 0.15);
  --radius: 14px;
  --maxw: 1180px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; color: var(--gray-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-dark-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-dark-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy-dark);
  letter-spacing: 0.01em;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-dark);
  position: relative;
  padding: 6px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.header-cta { display: flex; align-items: center; gap: 22px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: url('images/schipholatt-hero.jpg');
  background-size: cover;
  background-position: center right;
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 130px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,23,41,0.95) 0%, rgba(8,23,41,0.86) 32%, rgba(13,35,64,0.55) 58%, rgba(13,35,64,0.28) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -180px; left: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,138,61,0.18) 0%, rgba(181,138,61,0) 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  gap: 34px;
  margin-top: 64px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
}
.hero-badge { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.hero-badge strong {
  display: block;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
}

/* Page header for interior pages */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 0 74px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -140px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,138,61,0.18) 0%, rgba(181,138,61,0) 70%);
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; font-size: 1.05rem; margin: 0; }
.breadcrumb {
  position: relative; z-index: 2;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-dark); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.75); }

/* ---------- Intro / Two-col ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img, .split .media-block {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.media-block {
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.media-block::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(181,138,61,0.4);
  margin: 16px;
  border-radius: calc(var(--radius) - 4px);
}

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
}
.card:hover .card-link {
  gap: 10px;
}
.card-link {
  transition: gap 0.25s ease, color 0.25s ease;
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy), var(--navy-light));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  margin-bottom: 22px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { margin-bottom: 18px; font-size: 0.96rem; }
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { color: var(--navy); }

/* Values */
.value-item {
  text-align: center;
  padding: 20px;
}
.value-item .card-icon { margin: 0 auto 20px; }
.value-item h3 { font-size: 1.05rem; }

/* Stats */
.stats-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 44px 0;
}
.stat { text-align: center; flex: 1; min-width: 140px; }
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold-light);
}
.stat span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* Team */
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-light), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.team-card h3 { margin-bottom: 4px; }
.team-role { color: var(--gold); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.team-bio { font-size: 0.92rem; }

/* Accordion (services detail) */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}
.accordion-item:first-child { border-top: 1px solid var(--gray-200); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.accordion-trigger .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 20px;
  transition: transform 0.25s ease;
  font-size: 1.2rem;
  font-family: var(--font-sans);
}
.accordion-item.open .accordion-trigger .plus { transform: rotate(45deg); background: var(--navy-dark); color: var(--gold-light); border-color: var(--navy-dark); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel-inner { padding: 0 4px 26px; }
.accordion-panel-inner ul { margin: 0; padding-left: 20px; color: var(--gray-700); }
.accordion-panel-inner li { margin-bottom: 8px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(circle, rgba(181,138,61,0.25), transparent 70%);
}
.cta-band h2, .cta-band p { position: relative; z-index: 2; color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn { position: relative; z-index: 2; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
}
.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info-item h4 { margin: 0 0 4px; font-size: 1rem; font-family: var(--font-sans); font-weight: 700; }
.contact-info-item p { margin: 0; font-size: 0.94rem; }

.form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-card .btn-primary { width: 100%; justify-content: center; border: none; margin-top: 8px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 30px;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--gold); }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.65);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .header-cta .btn-dark-outline { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 90px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-bar { justify-content: flex-start; }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 10px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
}
.mobile-nav .btn { margin-top: 14px; justify-content: center; }


/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
