:root {
  --navy: #12284C;
  --gold: #C9A24B;
  --ink: #0A1A33;
  --light-gold: #E7C667;
  --paper: #F7F4EC;
  --slate: #5B6472;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(18, 40, 76, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--light-gold);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  background: var(--navy);
  color: white;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero h1 { color: white; }
.hero .lead {
  font-size: 1.25rem;
  max-width: 560px;
  margin: 1.25rem 0 2rem;
  color: rgba(255,255,255,0.85);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-seal img {
  width: 280px;
  opacity: 0.15;
  margin-left: auto;
  display: block;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--navy);
  color: white;
}

.section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-dark .eyebrow { color: var(--gold); }

.section-intro {
  max-width: 640px;
  margin-bottom: 2.5rem;
  color: var(--slate);
}

.services-grid, .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.value h4 {
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.process-steps .step {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details p {
  margin-bottom: 1.25rem;
}

.contact-details a {
  color: var(--gold);
  text-decoration: none;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.75rem;
}

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer img { height: 40px; margin-bottom: 0.5rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--gold); text-decoration: none; }
.disclaimer { max-width: 720px; font-size: 0.8rem; opacity: 0.7; }
.copyright { opacity: 0.6; }

@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-seal { display: none; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header .btn { display: none; }
}

/* Language switch (EN | ES) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(201, 162, 75, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.nav .lang-switch a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
}

.nav .lang-switch a:hover,
.nav .lang-switch a:focus-visible { color: var(--white); }

.nav .lang-switch a[aria-current="page"] { color: var(--gold); }

.lang-sep { color: rgba(201, 162, 75, 0.5); }

@media (max-width: 900px) {
  .lang-switch {
    padding-left: 0;
    padding-top: 1rem;
    border-left: none;
    border-top: 1px solid rgba(201, 162, 75, 0.35);
  }
}

/* Keep the header on one line at narrower desktop widths (longer Spanish labels) */
.header .btn { white-space: nowrap; }

@media (min-width: 901px) and (max-width: 1080px) {
  .nav { gap: 1.25rem; }
  .lang-switch { padding-left: 1.25rem; }
}
