:root {
  --bg: #f3efe6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --text: #1a2230;
  --muted: #536070;
  --line: rgba(26, 34, 48, 0.12);
  --brand: #0d3b66;
  --brand-strong: #08233c;
  --accent: #c58a2b;
  --shadow: 0 24px 70px rgba(13, 29, 44, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 138, 43, 0.18), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(13, 59, 102, 0.2), transparent 22%),
    linear-gradient(180deg, #f5f0e5 0%, #ece6da 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 59, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 59, 102, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.hero,
.section,
.contact-panel {
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(8, 35, 60, 0.95), rgba(13, 59, 102, 0.9) 48%, rgba(23, 91, 144, 0.78)),
    #0d3b66;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 138, 43, 0.4), transparent 65%);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand-block {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.brand-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
}

.brand-kicker,
.panel-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-kicker,
.brand-title,
.hero h1,
.hero .lead,
.metrics-list strong,
.metrics-list span,
.nav-cta {
  color: #f6f1e6;
}

.brand-title {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-whatsapp,
.hero-whatsapp {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-cta {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.nav-whatsapp {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #f6f1e6;
  border: 1px solid rgba(197, 138, 43, 0.36);
  background: rgba(197, 138, 43, 0.14);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
  padding-top: 42px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.panel-tag {
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}

.lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: 1.04rem;
  line-height: 1.9;
}

.hero-whatsapp {
  margin-top: 18px;
  color: #f6f1e6;
  font-weight: 600;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
}

.button-primary {
  color: #fff7eb;
  background: linear-gradient(135deg, #c58a2b, #ab6f15);
}

.button-secondary {
  color: #f5efe3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  position: relative;
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
}

.metrics-list {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.metrics-list li {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.metrics-list strong,
.service-card h3 {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.metrics-list span,
.service-card p,
.about-card p,
.value-item p {
  line-height: 1.8;
}

.section {
  margin-top: 24px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--brand-strong);
}

.compact {
  margin-bottom: 22px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
}

.about-card,
.service-card,
.value-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.emphasis-card {
  background:
    linear-gradient(180deg, rgba(255, 247, 231, 0.96), rgba(255, 255, 255, 0.9)),
    #fff;
}

.quote-card {
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, rgba(13, 59, 102, 0.08), rgba(197, 138, 43, 0.16));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 210px;
}

.service-card p,
.about-card p,
.value-item p {
  margin: 0;
  color: var(--muted);
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-item span {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
  color: var(--brand);
}

.contact-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(8, 35, 60, 0.94), rgba(13, 59, 102, 0.86));
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel .eyebrow {
  color: #f6f1e6;
}

.contact-note {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(246, 241, 230, 0.82);
  line-height: 1.8;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-layout,
  .services-grid,
  .values-row,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    margin: 10px auto 26px;
  }

  .hero,
  .section,
  .contact-panel {
    border-radius: 24px;
  }

  .hero,
  .section {
    padding: 20px;
  }

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

  .brand-logo {
    width: min(100%, 320px);
  }

  .topbar-actions {
    width: 100%;
    justify-content: stretch;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .topbar-actions a,
  .hero-whatsapp,
  .hero-actions,
  .button,
  .nav-cta {
    width: 100%;
  }
}