:root {
  --navy: #1f3a5f;
  --navy-strong: #102744;
  --gold: #c9a227;
  --burgundy: #7a263a;
  --cream: #f4f0e8;
  --white: #ffffff;
  --text: #1d1d1d;
  --muted: #5d5d5d;
  --shadow: rgba(16, 39, 68, 0.14);
  --container: min(1180px, calc(100% - 32px));
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.layout-shell {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(122, 38, 58, 0.14);
}

.btn-small {
  padding: 0.72rem 1.2rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy), #8d2a48);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(31,58,95,0.18);
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 240, 232, 0.9);
  border-bottom: 1px solid rgba(31, 58, 95, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 180px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 600;
  color: var(--navy);
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 5vw, 5rem) 0 clamp(4.5rem, 6vw, 6rem);
  background: linear-gradient(180deg, var(--cream) 0%, #f9f5ef 100%);
}

.hero-principal {
  background: linear-gradient(135deg, #f7f3ee 0%, #f5efe7 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.cta-box h2,
.footer-grid h3,
.proposal-card h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 6vw, 7rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  margin: 0 0 1.5rem;
}

.hero-copy .lead {
  margin-bottom: 1.7rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.hero-points li::before {
  content: "•";
  color: var(--gold);
  margin-right: 0.5rem;
}

.showcase-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 58%, var(--burgundy) 100%);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 28px 60px rgba(16, 39, 68, 0.18);
  color: var(--white);
}

.logo-box {
  background: rgba(255,255,255,0.5);
  border-radius: 22px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.logo-box img {
  width: min(100%, 260px);
  margin: 0 auto;
}

.showcase-body h2 {
  font-size: clamp(2.1rem, 3vw, 3.1rem);
  margin: 0.9rem 0 0.7rem;
}

.showcase-body p {
  margin: 0;
  color: rgba(255,255,255,0.85);
}

.badge {
  display: inline-block;
  background: rgba(201,162,39,0.14);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.stats {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.stats div {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem 0.9rem;
}

.stats strong {
  display: block;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.stats span {
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
}

.services,
.about,
.gallery-section,
.cta {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--navy);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card,
.proposal-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(31,58,95,0.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  box-shadow: 0 18px 38px rgba(16,39,68,0.05);
}

.service-card img,
.service-card video {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  background: #111827;
}

/* .service-card img {
  height: 220px;
} */

.service-card video {
  aspect-ratio: 9 / 16;
  /* min-height: 220px; */
}

.margen-extra {
  margin-top: 5rem;
}

.service-number {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--burgundy));
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card h3,
.proposal-card h3 {
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-card p,
.proposal-card p,
.about-copy p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.info-panel {
  background: linear-gradient(135deg, var(--navy), var(--burgundy));
  border-radius: 24px;
  padding: 2rem 1.5rem;
  color: var(--white);
  box-shadow: 0 24px 48px rgba(31,58,95,0.18);
}

.info-panel h3 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  color: var(--white);
}

.info-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.info-panel li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 0.6rem;
  font-weight: 700;
}

.info-subpanel {
  background: linear-gradient(135deg, var(--navy), var(--burgundy));
  border-radius: 24px;
  padding: 2rem 1.5rem;
  color: var(--white);
  box-shadow: 0 24px 48px rgba(31,58,95,0.18);
  margin-left: 20px;
}

.info-subpanel ol {
  /* list-style: none; */
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.info-subpanel li::before {
  content: none;
  color: var(--gold);
  margin-right: 0.6rem;
  font-weight: 700;
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.proposal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.proposal-card--featured {
  border: 1px solid rgba(201,162,39,0.4);
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(245,236,214,0.9));
}

.chip {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(31,58,95,0.12);
  color: var(--navy);
  width: fit-content;
}

.chip-alt { background: rgba(122,38,58,0.12); color: var(--burgundy); }
.chip-gold { background: rgba(201,162,39,0.14); color: var(--gold); }
.chip-ghost { background: rgba(29,29,29,0.05); color: var(--text); }

.proposal-card .btn {
  margin-top: 1rem;
  width: fit-content;
}

.gallery-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f5f1ea 0%, #f8f5f0 100%);
}

.gallery-shell {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-heading h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  color: var(--navy);
  letter-spacing: -0.05em;
  font-family: Georgia, 'Times New Roman', serif;
}

.gallery-history {
  width: auto;
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(31,58,95,0.08);
}

.gallery-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
}

.proposal-gallery {
  margin-top: 0.5rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 60%, var(--burgundy) 60%);
  border-radius: 28px;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  box-shadow: 0 18px 38px rgba(31,58,95,0.2);
}

.cta-box h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  color: var(--white);
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #efe9e1;
  border-top: 1px solid rgba(31,58,95,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.footer-brand img {
  width: min(100%, 210px);
  margin-bottom: 0.8rem;
}

.footer-grid h3 {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.footer-brand p,
.footer-grid p,
.footer-grid a {
  color: var(--navy);
}

@media (max-width: 1100px) {
  .service-grid,
  .proposal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .about-grid,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .service-grid,
  .proposal-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1320px;
  }
}
