:root {
  --blue-950: #0f2f4f;
  --blue-900: #173e65;
  --blue-800: #275d88;
  --orange: #ef8b3e;
  --orange-dark: #d8732d;
  --cream: #faf7f2;
  --sand: #f3efe8;
  --white: #ffffff;
  --text: #22364a;
  --muted: #68798a;
  --line: #dce3e8;
  --soft-line: rgba(15, 47, 79, 0.12);
  --shadow: 0 18px 40px rgba(13, 35, 55, 0.08);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-lazy {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #f4bc92;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

h2 {
  color: var(--blue-950);
  font-size: clamp(2.15rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
}

p {
  color: var(--muted);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button-primary {
  background: var(--orange);
  color: #fff;
}

.button-primary:hover {
  background: var(--orange-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  color: var(--blue-950);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  border-bottom: 1px solid rgba(15, 47, 79, 0.08);
  background: rgba(255, 255, 255, 0.985);
}

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  color: #364d62;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--orange-dark);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  padding: 11px 16px;
  border: 1px solid var(--blue-950);
  color: var(--blue-950);
}

.nav-menu .nav-cta:hover {
  background: var(--blue-950);
  color: #fff;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--blue-950);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 25px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* HERO */

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  background: #13283b;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 22, 38, 0.8) 0%, rgba(6, 22, 38, 0.54) 39%, rgba(6, 22, 38, 0.14) 74%, rgba(6, 22, 38, 0.06) 100%),
    linear-gradient(0deg, rgba(6, 22, 38, 0.36) 0%, transparent 40%);
}

.hero-content {
  min-height: calc(100svh - 78px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(78px, 12vh, 142px);
  padding-bottom: 30px;
}

.hero-main {
  max-width: 860px;
}

.hero-kicker {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 27px;
  color: #fff;
  font-size: clamp(3.35rem, 6.4vw, 6.5rem);
  font-weight: 650;
  line-height: 0.94;
}

.hero h1 span { color: #f0a16a; }

.hero-description {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(10, 29, 45, 0.14);
  color: #fff;
}

.button-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--blue-950);
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-bottom p,
.hero-bottom a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 650;
  text-decoration: none;
}

.hero-bottom p span {
  margin-inline: 7px;
  color: #f0a16a;
}

/* INTRO STRIP */

.intro-strip {
  position: relative;
  z-index: 2;
  margin-top: -38px;
  padding-bottom: 10px;
}

.intro-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-card {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--soft-line);
  box-shadow: var(--shadow);
}

.intro-card-highlight {
  background: var(--blue-950);
  border-color: var(--blue-950);
}

.intro-card small {
  display: block;
  margin-bottom: 8px;
  color: #8997a3;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.intro-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 1.1rem;
  font-weight: 700;
}

.intro-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.intro-card-highlight small,
.intro-card-highlight strong,
.intro-card-highlight p {
  color: #fff;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.about-copy h2 {
  max-width: 560px;
  margin-bottom: 24px;
}

.about-copy .lead {
  max-width: 560px;
  margin-bottom: 20px;
  color: #41596e;
  font-size: 1.08rem;
  line-height: 1.72;
}

.about-copy > p:not(.lead):not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 26px;
  line-height: 1.75;
}

.about-photo {
  overflow: hidden;
  background: #e4e9ec;
  min-height: 620px;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

/* SECTION HEADER */

.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header h2 {
  margin-bottom: 18px;
}

.section-header p:last-child {
  max-width: 680px;
  line-height: 1.75;
}

/* PILLARS */

.pillars-section {
  background: var(--sand);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar-card {
  min-height: 270px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--soft-line);
  box-shadow: var(--shadow);
}

.pillar-number {
  display: block;
  margin-bottom: 46px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.pillar-card h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 1.28rem;
  font-weight: 700;
}

.pillar-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* GALLERY */

.gallery-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  align-items: start;
  gap: 34px;
}

.gallery-copy {
  position: sticky;
  top: 118px;
}

.gallery-copy h2 {
  margin-bottom: 20px;
}

.gallery-copy p:not(.eyebrow) {
  max-width: 360px;
  margin-bottom: 24px;
  line-height: 1.72;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 300px 300px 240px;
  gap: 12px;
}

.gallery-grid figure {
  overflow: hidden;
  background: #e3e7e9;
  box-shadow: var(--shadow);
}

.gallery-large {
  grid-row: 1 / 3;
}

.gallery-wide {
  grid-column: 1 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.02);
}

/* CONTACT */

.contact-section {
  background: #f7f4ee;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 26px;
  align-items: stretch;
}

.contact-copy {
  padding: 56px;
  background: var(--blue-950);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  max-width: 620px;
  margin-bottom: 22px;
  color: #fff;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.button-outline-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--blue-950);
}

.contact-panel {
  display: grid;
  gap: 0;
  padding: 22px 34px;
  background: #fff;
  border: 1px solid var(--soft-line);
  box-shadow: var(--shadow);
}

.contact-item {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item small {
  color: #8b969f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-item a {
  color: var(--blue-950);
  font-size: 0.96rem;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* FOOTER */

.site-footer {
  padding: 56px 0 24px;
  background: #0a243b;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 56px;
  padding-bottom: 34px;
}

.footer-brand img {
  width: auto;
  height: 64px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-column h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
}

/* WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 16px;
  border-radius: 26px;
  background: #25d366;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* MODALS */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 20, 33, 0.72);
}

.contact-modal.active {
  display: flex;
}

.contact-modal-panel {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px;
  background: #fff;
}

.contact-modal-panel h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.contact-modal-panel > p:not(.eyebrow) {
  margin-bottom: 22px;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #53687a;
  font-size: 1.8rem;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #41586c;
  font-size: 0.8rem;
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7dd;
  border-radius: 0;
  padding: 11px 12px;
  background: #fff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(23, 62, 101, 0.12);
  border-color: var(--blue-800);
}

.contact-modal-success {
  text-align: center;
}

.success-symbol {
  display: block;
  margin-bottom: 12px;
  color: #2f8b69;
  font-size: 2.5rem;
  font-weight: 800;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
  .about-grid,
  .gallery-layout,
  .contact-box {
    gap: 40px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-menu {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 24px 24px;
    border-top: 1px solid var(--line);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 13px 0;
    border-bottom: 1px solid #eef1f3;
  }

  .nav-menu .nav-cta {
    margin: 14px 0 0;
    padding: 13px 16px;
    text-align: center;
  }

  .intro-strip {
    margin-top: 0;
    padding-top: 20px;
  }

  .intro-strip-grid,
  .about-grid,
  .gallery-layout,
  .contact-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-copy {
    position: static;
  }

  .gallery-copy p:not(.eyebrow) {
    max-width: 620px;
  }

  .footer-brand {
    margin-bottom: 6px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .site-header,
  .navbar {
    height: 70px;
  }

  html {
    scroll-padding-top: 70px;
  }

  .brand-logo {
    height: 48px;
  }


  .nav-menu {
    top: 70px;
  }

  .hero {
    min-height: 52svh;
  }

  .hero-inner {
    min-height: 52svh;
    padding-top: 60px;
    padding-bottom: 24px;
  }

  .hero-content {
    min-height: 72svh;
    padding-top: 58px;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13.5vw, 4.1rem);
    line-height: 0.95;
  }

  .hero-description {
    max-width: 520px;
    font-size: 0.96rem;
  }

  .hero-actions {
    width: 100%;
    max-width: 330px;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-bottom {
    margin-top: 44px;
  }

  .hero-bottom p {
    display: none;
  }

  .intro-card {
    padding: 24px 22px;
  }

  .about-photo,
  .about-photo img {
    min-height: 420px;
  }

  .pillar-card {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }

  .gallery-large {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery-wide {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .contact-copy,
  .contact-panel {
    padding: 28px 24px;
  }

  .contact-actions {
    flex-direction: column;
    max-width: 320px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .footer-brand img {
    height: 56px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    min-width: 52px;
    padding: 0;
    font-size: 0;
  }

  .whatsapp-float::after {
    content: "WA";
    font-size: 0.68rem;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.55rem);
  }

  .gallery-grid {
    grid-template-rows: 200px 160px 160px;
  }

  .contact-modal-panel {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
