@import url("../fonts/montserrat.css");

:root {
  --navy: #334466;
  --gold: #c9ae4d;
  --coral: #e69380;
  --teal: #8ab7b4;
  --ink: #2f3137;
  --muted: #667085;
  --line: #d9dee8;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f4f7fa;
  --radius: 28px;
  --shadow: 0 22px 54px rgba(137, 152, 168, 0.13);
  --shadow-soft: 0 12px 30px rgba(137, 152, 168, 0.08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(138,183,180,.10), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(201,174,77,.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(217,222,232,.74);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 16px; min-width: 0; }
.brand-logo { width: clamp(152px, 21vw, 266px); height: auto; object-fit: contain; }
.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: .96rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  letter-spacing: -.01em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button-icon { width: 18px; height: 18px; flex-shrink: 0; }
.button.secondary { background: rgba(255,255,255,.9); border-color: var(--line); color: var(--ink); }
.button.whatsapp {
  gap: 12px;
  padding-inline: 24px;
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  box-shadow: 0 14px 28px rgba(37,211,102,.22);
}
.button.whatsapp:hover { background: #1fb85a; border-color: #1fb85a; }
.button.whatsapp .button-icon { width: 18px; height: 18px; }

section { scroll-margin-top: 96px; }
.hero {
  padding: 74px 0 38px;
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 20px auto auto calc(50% + 160px);
  width: 280px;
  height: 280px;
  background:
    radial-gradient(circle at 30% 30%, rgba(51,68,102,.06), transparent 40%),
    radial-gradient(circle at 70% 25%, rgba(201,174,77,.10), transparent 38%),
    radial-gradient(circle at 30% 75%, rgba(138,183,180,.12), transparent 40%),
    radial-gradient(circle at 75% 72%, rgba(230,147,128,.10), transparent 38%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.hero-panel {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 220px;
  height: 220px;
  background:
    linear-gradient(135deg, rgba(51,68,102,.05), transparent 36%),
    linear-gradient(225deg, rgba(201,174,77,.08), transparent 34%),
    linear-gradient(315deg, rgba(138,183,180,.10), transparent 36%),
    linear-gradient(45deg, rgba(230,147,128,.08), transparent 34%);
  opacity: .9;
  transform: rotate(10deg);
  pointer-events: none;
}
.hero-panel-top { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
.hero-panel-copy { min-width: 0; }
.hero-panel h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  white-space: normal;
  max-width: 100%;
}
.hero-panel p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 72ch;
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  font-weight: 400;
  letter-spacing: -.01em;
}
.hero-panel-copy p { text-indent: 1.15em; }
.hero-panel-copy p + p { margin-top: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 28px auto 0;
}
.stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(137,152,168,.08);
}
.stat strong { display: block; font-size: 1.32rem; letter-spacing: -.04em; margin-bottom: 6px; }
.hero-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.capability {
  min-height: 148px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.capability strong { display: block; margin-bottom: 6px; font-size: .98rem; letter-spacing: -.02em; }
.capability span { display: block; color: var(--muted); font-size: .94rem; line-height: 1.55; }

.section { padding: 38px 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 24px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-align: center;
}
.section-head p { margin: 0; max-width: 72ch; color: var(--muted); line-height: 1.72; }

.packs-grid { display: grid; gap: 20px; }
.pack-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 36px rgba(137,152,168,.10);
  padding: 28px;
  transition: transform .24s ease, box-shadow .24s ease;
}
.pack-card:hover { transform: translateY(-3px); box-shadow: 0 24px 42px rgba(137,152,168,.14); }
.pack-layout { display: grid; grid-template-columns: 1.14fr .86fr; gap: 28px; align-items: center; }
.pack-content { display: grid; align-content: start; min-width: 0; }
.meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  width: fit-content;
}
.meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.pack-content h3 {
  margin: 16px 0 12px;
  font-size: clamp(.9rem, 1.65vw, 1.42rem);
  letter-spacing: -.04em;
  line-height: 1.08;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pack-content p { margin: 0; color: var(--muted); line-height: 1.72; max-width: 62ch; }
.pack-copy { display: grid; gap: 12px; margin: 0; }
.pack-copy p { margin: 0; text-indent: 1.1em; }
.pack-signals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pack-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .92rem;
  letter-spacing: -.01em;
}
.link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--navy); font-weight: 650; width: fit-content; }
.pack-media {
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--line);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}
.pack-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; background: white; }
.pack-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.pack-title-row h3 { flex: 1 1 auto; min-width: 0; margin: 16px 0 12px; }
.pack-toggle { display: none; }
.pack-collapsible { display: grid; gap: 0; }

.cta { padding: 22px 0 84px; }
.cta-card {
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(circle at 30% 30%, rgba(51,68,102,.08), transparent 44%),
    radial-gradient(circle at 70% 25%, rgba(201,174,77,.10), transparent 42%),
    radial-gradient(circle at 28% 74%, rgba(138,183,180,.12), transparent 42%),
    radial-gradient(circle at 76% 76%, rgba(230,147,128,.10), transparent 42%);
  transform: rotate(14deg);
  pointer-events: none;
}
.cta-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3.2vw, 3rem);
  letter-spacing: -.05em;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-align: center;
}
.cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 420px);
  max-width: 100%;
  justify-content: center;
  align-items: stretch;
}
.cta-actions.single-cta { grid-template-columns: minmax(0, 1fr); width: min(100%, 320px); }
.cta-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 14px;
  font-size: clamp(.84rem, 1vw, .98rem);
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cta-card .button.whatsapp { font-size: 1.04rem; gap: 10px; }

.footer { padding: 0 0 38px; color: var(--muted); font-size: .94rem; }
.footer-line {
  border-top: 1px solid rgba(217,222,232,.78);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--navy); }

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(19, 28, 44, 0.42);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 1000;
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-dialog {
  width: min(760px, 100%);
  max-height: min(84vh, 900px);
  background: #fff;
  border: 1px solid rgba(217, 222, 232, 0.95);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(19, 28, 44, 0.18);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 240ms ease;
  display: grid;
  grid-template-rows: auto 1fr;
}
.modal.is-open .modal-dialog { transform: translateY(0); }
.modal-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 28px 18px; border-bottom:1px solid var(--line); background:rgba(247,249,252,.75); }
.modal-title { margin:0; font-size:1.1rem; line-height:1.2; letter-spacing:-0.02em; color:var(--ink); }
.modal-close { width:42px; height:42px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); display:inline-flex; align-items:center; justify-content:center; font-size:1.2rem; cursor:pointer; flex-shrink:0; }
.modal-body { padding:24px 28px 28px; overflow-y:auto; scrollbar-gutter:stable; }
.modal-copy { display:grid; gap:18px; color:var(--muted); font-size:.98rem; line-height:1.75; }
.modal-copy h3 { margin:0 0 6px; font-size:.98rem; line-height:1.3; color:var(--ink); letter-spacing:-0.01em; }
.modal-copy p { margin:0; }

@media (min-width: 821px) {
  .hero-panel-copy h1 { font-size: clamp(1.2rem, 1.75vw, 2rem); line-height: 1.06; letter-spacing: -.045em; white-space: nowrap; }
  .hero-panel-copy p { padding-inline: 12px; max-width: none; }
  .hero-capabilities { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .capability { min-height: 132px; }
  .cta-card h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(1.15rem, 2.2vw, 2.1rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    white-space: nowrap;
    text-wrap: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 1060px) {
  .hero-grid, .pack-layout, .cta-card { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-panel-top { align-items: start; }
}

@media (max-width: 820px) {
  .nav a:not(.button) { display: none; }
  .hero-capabilities { grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
}

@media (max-width: 720px) {
  .modal { padding: 16px; }
  .modal-dialog { width: 100%; max-height: calc(100vh - 32px); border-radius: 22px; }
  .modal-header { padding: 20px 20px 16px; }
  .modal-body { padding: 20px; }
}

@media (max-width: 640px) {
  .site-header .row { min-height: 72px; }
  .brand { gap: 12px; }
  .brand-logo { width: 138px; }
  .button { width: 100%; }
  .site-header .nav { gap: 10px; }
  .site-header .nav .button { width: auto; min-height: 44px; padding-inline: 12px; gap: 8px; font-size: .92rem; }
  .site-header .nav .button .button-icon { width: 16px; height: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .button, .cta-actions .button { width: auto; }
  .cta-actions { width: min(100%, 420px); max-width: 100%; }
  .cta-actions .button { width: 100%; }
  .hero-panel-top { gap: 14px; }
  .hero-panel h1 { font-size: clamp(1.7rem, 8vw, 2.6rem); white-space: normal; }
  .pack-card, .hero-panel { padding: 20px; }
  .cta-card { padding: 18px; }
  .cta-card h2 { font-size: clamp(1.4rem, 7vw, 1.95rem); line-height: 1.06; white-space: normal; }
  .pack-card { padding: 20px 10px; }
  .pack-layout { gap: 18px; }
  .meta { display: none; }
  .pack-title-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; margin-bottom:0; }
  .pack-title-row h3, .pack-content h3 {
    margin: 0;
    font-size: clamp(1.06rem, 4.2vw, 1.16rem);
    line-height: 1.12;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .pack-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-right: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(51,68,102,.16);
  }
  .pack-toggle::before {
    content: "+";
    position: relative;
    z-index: 1;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.04em;
    transform: translateY(-1px);
  }
  .pack-toggle[aria-expanded="true"]::before { content: "−"; font-size: 1.7rem; }
  .pack-collapsible { display: none; }
  .pack-card.is-open .pack-collapsible { display: grid; }
  .pack-media { display: none; padding: 10px 0 0; }
  .pack-card.is-open .pack-media { display: block; }
  .pack-media img { aspect-ratio: 16 / 9; max-height: 168px; }
  .pack-copy { gap: 6px; }
  .pack-copy p {
    margin: 0;
    padding: 5px 0 0;
    text-indent: 0;
    font-size: .82rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  .pack-signals { gap: 8px; }
  .pack-signals span { min-height: 32px; padding: 0 12px; font-size: .88rem; }
  .section-head h2, .cta-card h2 { max-width: none; }
  .footer-line { justify-content: center; text-align: center; }
  .footer-links { width: 100%; justify-content: center; }
}
