:root {
  --violet: #4f46e5;
  --violet-dark: #312e81;
  --violet-soft: #eef2ff;
  --amber: #f59e0b;
  --ink: #0b1220;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --canvas: #f7f7fb;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 188px; height: 60px; object-fit: contain; }
nav { display: flex; gap: 30px; }
nav a { position: relative; text-decoration: none; font-weight: 650; color: var(--muted); transition: color .2s ease; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; border-radius: 99px; background: var(--amber); transition: right .25s ease; }
nav a:hover, nav a:focus-visible { color: var(--violet); }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.site-header > .button { justify-self: end; }
.menu-toggle { display: none; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--violet);
  color: white;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(79,70,229,.24);
  transition: transform .25s cubic-bezier(.22,1,.36,1), background .2s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-3px); background: #4338ca; box-shadow: 0 17px 34px rgba(79,70,229,.3); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 0 19px; font-size: .94rem; }
.hero { min-height: 690px; position: relative; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 78% 45%, rgba(129,140,248,.3), transparent 28%), linear-gradient(135deg, #0b1220 0%, #1e1b4b 48%, #312e81 100%); }
.hero-content { position: relative; z-index: 2; width: min(620px, 52vw); margin-left: clamp(20px, 8vw, 128px); padding: 110px 0; }
.hero-symbol { position: absolute; z-index: 1; right: clamp(-60px, 2vw, 48px); width: min(36vw, 460px); height: auto; filter: drop-shadow(0 30px 55px rgba(0,0,0,.3)); transform: rotate(3deg); }
.eyebrow { margin: 0 0 18px; color: var(--violet); font-size: .78rem; letter-spacing: .14em; font-weight: 850; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 690px; margin-bottom: 24px; color: white; font-size: clamp(3.15rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.25rem, 4vw, 4.2rem); }
h3 { font-size: 1.55rem; }
.hero .eyebrow { color: var(--amber); }
.hero-copy { max-width: 610px; margin: 0 0 34px; color: rgba(255,255,255,.82); font-size: 1.2rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero .button { color: var(--ink); background: var(--amber); box-shadow: 0 12px 28px rgba(245,158,11,.24); }
.hero .button:hover { background: #fbbf24; }
.text-link { color: white; font-weight: 750; text-decoration: none; }
.text-link:hover { color: #c7d2fe; }
.origin { padding: 125px clamp(20px, 8vw, 128px); }
.origin-heading { max-width: 920px; }
.origin-heading h2 { margin-bottom: 60px; }
.origin-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 8vw, 120px); max-width: 1160px; margin-left: auto; }
.origin-story p { margin: 0; color: var(--muted); font-size: 1.12rem; }
.scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 90px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scale article { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; background: var(--canvas); }
.scale article { transition: background .25s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.scale article:hover { background: #eef2ff; transform: translateY(-4px); }
.scale strong { color: var(--violet); font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -.06em; }
.scale span { max-width: 270px; margin-top: 18px; color: var(--muted); font-weight: 600; }
.control-question { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; align-items: start; margin-top: 110px; padding-top: 42px; border-top: 4px solid var(--amber); }
.control-question p { margin: 0; color: var(--muted); font-weight: 700; }
.control-question div { display: flex; flex-direction: column; gap: 8px; }
.control-question span { font-size: clamp(2.15rem, 5vw, 4.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -.05em; }
.control-question span:nth-child(2) { color: var(--violet); }
.product-hero { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 680px; color: white; background: var(--ink); }
.product-photo { min-height: 560px; background: linear-gradient(rgba(79,70,229,.12), rgba(49,46,129,.22)), url('/assets/hero-veterinaria.png') 62% center / cover no-repeat; }
.product-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(55px, 8vw, 120px); background: linear-gradient(145deg, #312e81 0%, #4f46e5 100%); }
.product-copy .eyebrow { color: #fbbf24; }
.product-copy h2 { margin-bottom: 25px; }
.product-copy p:not(.eyebrow) { margin: 0 0 36px; color: rgba(255,255,255,.8); font-size: 1.12rem; }
.product-copy .button { color: var(--ink); background: white; box-shadow: none; }
.product-copy .button:hover { background: #eef2ff; }
.product-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.plans { padding: 125px clamp(20px, 8vw, 128px); background: var(--canvas); }
.plans-heading { max-width: 900px; margin-bottom: 60px; }
.plans-heading h2 { margin-bottom: 24px; }
.plans-heading > p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.12rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.plan-card { display: flex; flex-direction: column; padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.plan-card { transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(15,23,42,.1); }
.plan-card-pro { color: white; border-color: var(--violet); background: linear-gradient(145deg, #312e81 0%, #4f46e5 100%); box-shadow: 0 25px 60px rgba(49,46,129,.18); }
.plan-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.plan-label { display: block; margin-bottom: 8px; color: var(--violet); font-size: .72rem; font-weight: 850; letter-spacing: .13em; }
.plan-card-pro .plan-label { color: #fbbf24; }
.plan-card h3 { margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.plan-audience { padding: 7px 12px; border-radius: 999px; color: var(--violet-dark); background: var(--violet-soft); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.plan-card-pro .plan-audience { color: white; background: rgba(255,255,255,.14); }
.plan-summary { min-height: 112px; margin: 28px 0 24px; color: var(--muted); }
.plan-card-pro .plan-summary { color: rgba(255,255,255,.76); }
.plan-price { display: flex; align-items: baseline; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.plan-price span { color: var(--muted); font-weight: 700; }
.plan-card-pro .plan-price { border-color: rgba(255,255,255,.22); }
.plan-card-pro .plan-price span { color: rgba(255,255,255,.72); }
.plan-features { display: grid; gap: 14px; margin: 30px 0 38px; padding: 0; list-style: none; }
.plan-features li { position: relative; padding-left: 28px; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 900; }
.plan-card-pro .plan-features li::before { color: #fbbf24; }
.plan-features .plan-excluded { color: var(--muted); }
.plan-features .plan-excluded::before { content: "—"; color: var(--muted); }
.button-plan { width: 100%; margin-top: auto; }
.plan-card-pro .button-plan { color: var(--ink); background: white; box-shadow: none; }
.plan-card-pro .button-plan:hover { background: #eef2ff; }
.plan-differences { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.plan-differences div { display: flex; flex-direction: column; gap: 7px; padding: 27px 30px; border-left: 1px solid var(--line); }
.plan-differences div:first-child { border-left: 0; }
.plan-differences span { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan-differences strong { font-size: .98rem; }
.tax-note { margin: 20px 0 0; color: var(--muted); font-size: .9rem; text-align: center; }
.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 9vw, 130px); align-items: end; padding: 120px clamp(20px, 8vw, 128px) 70px; }
.intro h2 { max-width: 650px; margin-bottom: 0; }
.intro > p { margin: 0 0 10px; max-width: 610px; color: var(--muted); font-size: 1.16rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0 clamp(20px, 8vw, 128px) 120px; }
.feature { min-height: 310px; padding: clamp(28px, 4vw, 54px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.feature { transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: 0 18px 40px rgba(15,23,42,.08); }
.feature-primary { color: white; background: linear-gradient(135deg, #818cf8 0%, #4f46e5 50%, #312e81 100%); border-color: var(--violet); }
.feature-number { display: block; margin-bottom: 72px; font-size: .8rem; font-weight: 850; letter-spacing: .12em; color: var(--amber); }
.feature p { max-width: 560px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.feature-primary p { color: rgba(255,255,255,.8); }
.feature-wide { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; }
.feature-wide .feature-number { margin-bottom: 34px; }
.flow-section { padding: 115px clamp(20px, 8vw, 128px); background: var(--canvas); }
.flow-heading { max-width: 760px; margin-bottom: 62px; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.flow li { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 0 28px; border-left: 1px solid var(--line); }
.flow li:first-child { padding-left: 0; border-left: 0; }
.flow li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--violet); font-weight: 800; }
.flow strong { display: block; margin-bottom: 5px; font-size: 1.12rem; }
.flow p { margin: 0; color: var(--muted); }
.security { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; padding: 120px clamp(20px, 8vw, 128px); color: white; background: var(--ink); }
.eyebrow-light { color: #bcb4ff; }
.security-copy p:last-child { color: rgba(255,255,255,.75); font-size: 1.12rem; }
.security-list { align-self: center; border-top: 1px solid rgba(255,255,255,.24); }
.security-list div { display: flex; gap: 14px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.24); font-weight: 650; }
.security-list span { color: var(--amber); }
.cta { max-width: 940px; margin: 0 auto; padding: 130px 24px; text-align: center; }
.cta h2 { margin-bottom: 22px; }
.cta > p:not(.eyebrow) { margin: 0 auto 34px; color: var(--muted); font-size: 1.15rem; }
footer { display: grid; grid-template-columns: 1fr auto auto auto; gap: 30px; align-items: center; padding: 42px clamp(20px, 5vw, 76px); border-top: 1px solid #1e293b; color: #94a3b8; background: var(--ink); }
.brand-footer img { width: 178px; height: 57px; }
footer p { margin: 0; }
footer a:not(.brand) { color: var(--violet); font-weight: 650; }

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 12px; }
  .menu-toggle { width: 42px; height: 42px; display: inline-flex; position: relative; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 17px; height: 2px; border-radius: 99px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-header.menu-open .menu-toggle > span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .site-header.menu-open .menu-toggle > span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  nav { display: flex; position: absolute; left: 16px; right: 16px; top: calc(100% + 10px); flex-direction: column; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 18px 42px rgba(15,23,42,.14); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
  nav a { padding: 13px 14px; border-radius: 11px; }
  nav a::after { display: none; }
  nav a:hover, nav a:focus-visible { background: var(--violet-soft); }
  .site-header.menu-open nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hero { min-height: 720px; align-items: flex-end; }
  .hero-shade { background: radial-gradient(circle at 74% 18%, rgba(129,140,248,.38), transparent 23%), linear-gradient(150deg, #0b1220 0%, #1e1b4b 55%, #312e81 100%); }
  .hero-content { margin: 0; width: 100%; padding: 300px 24px 64px; }
  .hero-symbol { top: 42px; right: -25px; width: 255px; opacity: .88; }
  h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .origin-story, .control-question, .product-hero, .plan-grid, .intro, .security { grid-template-columns: 1fr; gap: 35px; }
  .scale { grid-template-columns: 1fr; }
  .scale article { min-height: 170px; }
  .control-question { margin-top: 80px; }
  .product-photo { min-height: 460px; }
  .plan-summary { min-height: auto; }
  .plan-differences { grid-template-columns: 1fr; }
  .plan-differences div { border-left: 0; border-top: 1px solid var(--line); }
  .plan-differences div:first-child { border-top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .flow { grid-template-columns: 1fr 1fr; gap: 38px 0; }
  .flow li:nth-child(3) { border-left: 0; padding-left: 0; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .site-header { height: 68px; padding: 0 16px; }
  .brand img { width: 148px; height: 48px; }
  .button-small { min-height: 40px; padding: 0 13px; font-size: .82rem; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero-copy { font-size: 1.06rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .product-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .plan-card-heading { flex-direction: column; gap: 12px; }
  .text-link { text-align: center; }
  .intro { padding-top: 85px; }
  .feature-grid { padding-bottom: 85px; }
  .feature { min-height: auto; }
  .feature-number { margin-bottom: 48px; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li:nth-child(3) { padding: 0 0 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 380px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header > .button { display: none; }
  .brand img { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, nav, nav a::after, .scale article, .plan-card, .feature, .menu-toggle > span { transition: none; }
}
