:root {
  --ink: #121a28;
  --ink-soft: #2a3548;
  --azul: #1a4a6e;
  --azul-deep: #0f2f48;
  --azulejo: #2f6f9f;
  --sand: #e8e2d6;
  --paper: #f8f6f1;
  --olive: #4f6b4a;
  --gold: #b8923a;
  --white: #ffffff;
  --line: rgba(18, 26, 40, 0.12);
  --shadow: 0 18px 50px rgba(15, 47, 72, 0.18);
  --radius: 4px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(47, 111, 159, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(184, 146, 58, 0.07), transparent 50%),
    linear-gradient(180deg, #f3efe6 0%, var(--paper) 35%, #f5f2eb 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(248, 246, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--azul);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--azul);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  background: var(--azul);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--azul-deep);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 47, 72, 0.35) 0%, rgba(18, 26, 40, 0.55) 45%, rgba(18, 26, 40, 0.88) 100%),
    linear-gradient(90deg, rgba(18, 26, 40, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 40rem;
}

.brand-hero {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1rem;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 22ch;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38ch;
  animation: riseIn 0.9s ease 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: #c9a24a;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: var(--azul);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--azul-deep);
}

section {
  padding: 5rem 0;
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azulejo);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--azul);
  line-height: 1;
}

.stat span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.intro-visual {
  position: relative;
  min-height: 420px;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro-visual figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.style-item {
  padding: 1.5rem 1.35rem;
  border-top: 3px solid var(--azul);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.style-item:hover {
  transform: translateY(-4px);
  background: var(--white);
}

.style-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.style-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.style-item .era {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}

.obras {
  background: linear-gradient(180deg, rgba(26, 74, 110, 0.06), transparent 40%);
}

.obras-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
}

.obra {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--ink);
  color: var(--white);
}

.obra img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.obra:hover img {
  transform: scale(1.05);
}

.obra-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(transparent, rgba(18, 26, 40, 0.92));
}

.obra-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.obra-body p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.obra-large {
  grid-row: span 2;
  min-height: 580px;
}

.obra-large img {
  min-height: 580px;
}

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

.region {
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.region h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.region p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 0;
}

.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.cta-band img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: var(--azul-deep);
}

.cta-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.cta-copy p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34ch;
}

.trust {
  background: rgba(255, 255, 255, 0.5);
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-item blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.trust-item cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.trust-item cite strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 1rem;
}

.site-footer h2 {
  font-size: 1.6rem;
}

.site-footer h3 {
  font-size: 1.15rem;
}

.map-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 280px;
  background: #0a1220;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.address-block {
  display: grid;
  gap: 1.25rem;
}

.address-block article {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.address-block article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.address-block strong {
  display: block;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.address-block p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.address-block a {
  color: #9ec5e0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.contact-form select option {
  color: var(--ink);
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.form-success {
  display: none;
  padding: 0.85rem 1rem;
  background: rgba(79, 107, 74, 0.35);
  border: 1px solid rgba(79, 107, 74, 0.7);
  color: #d7e8d4;
  font-size: 0.92rem;
}

.form-success.is-visible {
  display: block;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .intro,
  .obras-grid,
  .cta-band-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .obra-large,
  .obra-large img {
    min-height: 360px;
  }

  .regiones,
  .trust-grid,
  .styles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    flex-direction: column;
    gap: 0;
    min-width: 12rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .intro-stats,
  .regiones,
  .trust-grid,
  .styles-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .cta-copy {
    padding: 2rem 1.5rem;
  }
}
