/* Cotatop: based on the "COTA Landing v2" design from Claude Design */

/* Fonts, self-hosted (SIL Open Font License): no requests to Google, so no visitor data leaves the site */

:root {
  --ink: #0E1B33;
  --ink-2: #2E3A52;
  --muted: #5A6680;
  --line-soft: #C9D3E3;
  --paper: #F6F8FB;
  --white: #fff;
  --blue: #1F5FD1;
  --blue-soft: #8DB4F5;
  --blue-pale: #B9D0F7;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.note { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 40ch; }
.note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.section { padding: 96px 0; border-bottom: 1px solid var(--ink); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }

/* Buttons */
.btn { display: inline-block; padding: 16px 22px; border-radius: 2px; font-weight: 500; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.hero .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--white); color: var(--ink); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: var(--white); font-weight: 400; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

/* Keyboard users: a visible focus ring everywhere, and a link to jump past the menu */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hero :focus-visible, .cta-band :focus-visible, .plan.featured :focus-visible, .service.accent :focus-visible { outline-color: var(--blue-soft); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 2px; }
.skip:focus { top: 16px; color: var(--white); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 20px; letter-spacing: 0.06em; line-height: 1; white-space: nowrap; }
.logo b { font-weight: 700; color: var(--blue); }
.logo-mark { width: 1.6em; height: 1.6em; flex: none; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--ink); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
.nav-links { display: flex; gap: 20px; align-items: center; font-size: 14px; white-space: nowrap; }
.nav-cta { background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 2px; }
.nav-cta:hover { background: var(--blue); color: var(--white); }

/* Language switcher */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  border: 1px solid var(--ink); padding: 8px 10px; border-radius: 2px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: "▾"; font-size: 10px; }
.lang summary:hover, .lang[open] summary { border-color: var(--blue); color: var(--blue); }
.lang svg { width: 14px; height: 14px; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  list-style: none; margin: 0; padding: 6px 0; min-width: 160px;
  background: var(--white); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-size: 14px; }
.lang li a span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.lang li a[aria-current] { color: var(--blue); font-weight: 600; }

/* Phone menu (shown below 640 px, where the nav links don't fit) */
.menu { position: relative; display: none; }
.menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; border: 1px solid var(--ink); padding: 7px 10px; border-radius: 2px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu[open] summary { border-color: var(--blue); color: var(--blue); }
.menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  list-style: none; margin: 0; padding: 6px 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.menu li a { display: block; padding: 12px 16px; font-size: 16px; }
.menu .menu-langs { display: flex; flex-wrap: wrap; gap: 2px; padding: 10px 10px 4px; margin-top: 6px; border-top: 1px solid var(--line-soft); }
.menu .menu-langs a { padding: 8px; font-family: var(--mono); font-size: 13px; }
.menu .menu-langs a[aria-current] { color: var(--blue); font-weight: 600; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: end; overflow: hidden; color: var(--white); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 20, 42, 0.88) 0%, rgba(9, 20, 42, 0.66) 45%, rgba(9, 20, 42, 0.2) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 120px var(--gutter) 72px; display: flex; flex-direction: column; gap: 32px; }
.hero .eyebrow { color: var(--blue-pale); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero h1 em { color: var(--blue-soft); }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #DCE5F2; max-width: 54ch; text-wrap: pretty; }
.hero-trust { list-style: none; margin: 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; color: #DCE5F2; }
.hero-trust li { display: flex; gap: 8px; align-items: baseline; }
.hero-trust li::before { content: "✓"; color: var(--blue-soft); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-clients { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.hero-clients .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--blue-pale); }
.hero-clients .client { font-size: 20px; font-weight: 600; letter-spacing: 0.02em; }

/* Problem list */
.points { display: flex; flex-direction: column; justify-content: end; }
.point {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--ink);
  font-family: var(--serif); font-size: 24px; line-height: 1.25;
}
.point:last-child { border-bottom: 1px solid var(--ink); }
.num { font-family: var(--mono); font-size: 13px; padding-top: 6px; color: var(--muted); }

/* Five levels ("cotas") */
.levels { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; }
.level {
  display: flex; flex-direction: column; justify-content: end; gap: 12px;
  padding: 20px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink);
}
.level:nth-child(1) { min-height: 400px; }
.level:nth-child(2) { min-height: 450px; }
.level:nth-child(3) { min-height: 500px; }
.level:nth-child(4) { min-height: 550px; }
.level:nth-child(5) { min-height: 600px; background: var(--ink); color: var(--paper); border-right: 1px solid var(--ink); }
.level .step { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.level:nth-child(5) .step { color: var(--blue-soft); }
.level h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.level p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.level:nth-child(5) p { color: #D3DCEA; }
.level-how { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-soft); }
.level:nth-child(5) .level-how { border-top-color: var(--ink-2); }
.level-how p { font-size: 13px; line-height: 1.45; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; border: 1px solid var(--blue); color: var(--blue); padding: 3px 8px; border-radius: 2px; }
.level:nth-child(5) .tag { border-color: var(--blue-soft); color: var(--blue-soft); }

/* Services: one card per service (problem, what we do, starting price, link) */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--ink); padding: 28px; scroll-margin-top: 24px; }
.service > svg { width: 38px; height: 38px; color: var(--blue); }
.service h3 { font-size: 19px; font-weight: 600; }
.service .problem { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-2); flex: 1; }
.service li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.service li::before { content: "✓"; color: var(--blue); font-weight: 600; }
.service-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.service-foot .from { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.service-foot a { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.service.accent { background: var(--ink); color: var(--paper); }
.service.accent ul { color: #D3DCEA; }
.service.accent > svg, .service.accent li::before, .service.accent .service-foot .from { color: var(--blue-soft); }
.service.accent .service-foot { border-top-color: var(--ink-2); }
.service.accent .service-foot a { color: var(--paper); }
.services-more { margin-top: 24px; font-size: 15px; color: var(--muted); }
.services-more a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Work */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.case { display: flex; flex-direction: column; gap: 20px; }
.case-visual { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); }
.case-visual.boz { background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: clamp(64px, 9vw, 120px); letter-spacing: -0.02em; }
/* Electricidad Seis brand colours, taken from their logo */
.case-visual.seis { background: var(--white); color: #1A64B0; font-family: var(--sans); font-weight: 600; font-size: clamp(26px, 3.6vw, 48px); letter-spacing: -0.02em; text-align: center; padding: 24px; }
.case-visual.seis .seis-orange { color: #E58A0F; }
.case .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; }
.case p { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.case-foot { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.cases-note { margin-top: 32px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 72ch; }

/* Where to start */
.routes { display: flex; flex-direction: column; }
.route { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-top: 1px solid var(--ink); }
.route:last-child { border-bottom: 1px solid var(--ink); }
.route small { display: block; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.route strong { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.route .arrow { font-size: 24px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.team img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* FAQ */
.faq { border-bottom: 1px solid var(--ink); }
.faq details { border-top: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 22px 0; font-size: 19px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.faq details p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5.5vw, 80px); line-height: 0.98; letter-spacing: -0.02em;
}
.contact h2 em { color: var(--blue); }
.mail { font-family: var(--mono); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.form { display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--ink); padding: 32px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form select {
  border: none; border-bottom: 1px solid var(--ink); padding: 10px 0;
  font-size: 16px; outline: none; background: transparent; color: var(--ink);
}
.form input:focus, .form select:focus { border-bottom-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.form textarea { border: 1px solid var(--line-soft); padding: 10px; font-size: 16px; min-height: 92px; resize: vertical; background: transparent; color: var(--ink); }
.form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.form .optional { color: var(--muted); font-weight: 400; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.form .check input { width: 18px; height: 18px; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--blue); }
.form .check a, .privacy-info a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.privacy-info { font-size: 12px; line-height: 1.5; color: var(--muted); }
.form button { margin-top: 8px; background: var(--blue); color: var(--white); border: none; padding: 16px; font-size: 15px; font-weight: 500; cursor: pointer; border-radius: 2px; }
.form button:hover { background: var(--ink); }
.form button[disabled] { opacity: 0.6; cursor: wait; }
.form-hint { font-size: 12px; color: var(--muted); }
.form-status { display: none; font-size: 14px; line-height: 1.5; padding: 12px 14px; }
.form-status.show { display: block; }
.form-status.ok { background: #E7F6EC; color: #0B5B2A; }
.form-status.warn { background: #FFF4CC; color: #5C4600; }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-ways { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-ways a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.contact-ways a svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: var(--white); flex: none; }
.contact-ways a[href^="mailto:"] svg { background: #EA4335; }   /* email: red */
.contact-ways a[data-wa] svg { background: #25D366; }            /* WhatsApp brand green */

/* Legal pages (aviso legal, privacidad, cookies) */
.legal-doc { max-width: 74ch; padding: 56px 0 96px; display: flex; flex-direction: column; gap: 16px; }
.legal-doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal-doc h2 { font-size: 20px; font-weight: 600; margin-top: 24px; }
.legal-doc p, .legal-doc li, .legal-doc td, .legal-doc th { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal-doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc table { border-collapse: collapse; width: 100%; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-top: 1px solid var(--line-soft); }
.legal-doc th { font-weight: 600; color: var(--ink); width: 34%; }
.legal-doc .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.legal-warning { background: #FFF4CC; border: 1px dashed #C9A400; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: #5C4600; }

/* Process: what happens when you hire us */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; counter-reset: step; }
.process li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 24px 0; border-top: 2px solid var(--ink); }
.process li + li { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.process .when { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--blue); }
.process h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.process p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.founder-photo { aspect-ratio: 4 / 5; background: #E3E9F2; border: 1px dashed var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: -0.01em; }
.founder .sign { font-size: 15px; color: var(--muted); }
.placeholder { background: #FFF4CC; outline: 1px dashed #C9A400; padding: 0 4px; }

/* Inner pages */
.crumbs { padding: 20px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.page-hero { display: flex; flex-direction: column; gap: 32px; padding: 72px 0 80px; border-bottom: 1px solid var(--ink); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: 0.96; letter-spacing: -0.03em; max-width: 15ch; text-wrap: balance; }
.page-hero h1 em { color: var(--blue); }
.page-hero .btn-ghost { border-color: var(--ink); color: var(--ink); }
.page-hero .btn-ghost:hover { background: var(--ink); color: var(--paper); }
.page-hero .btn-primary:hover { background: var(--ink); color: var(--white); }
.wide-photo { margin: 0; border-bottom: 1px solid var(--ink); }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 55%; }
@media (max-width: 640px) { .wide-photo img { aspect-ratio: 4 / 3; } }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.checklist > div { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--ink); padding-top: 20px; }
.checklist h3 { font-size: 18px; font-weight: 600; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.checklist li::before { content: "✓"; color: var(--blue); font-weight: 600; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.benefit { background: var(--white); border: 1px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.benefit strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.benefit p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.zones { display: flex; flex-wrap: wrap; gap: 10px; }
.zones span { font-family: var(--mono); font-size: 13px; border: 1px solid var(--ink); padding: 8px 14px; border-radius: 999px; }
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(40px, 6vw, 80px); display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin: 96px 0; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.02em; max-width: 16ch; }
.cta-band h2 em { color: var(--blue-soft); }

/* Pricing page */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--ink); padding: 32px 28px; }
.plan.featured { background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--blue); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--blue); color: var(--white); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 2px; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.plan .for { font-size: 14px; color: var(--muted); line-height: 1.45; }
.plan.featured .for { color: #B7C3D8; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.plan.featured .price { border-color: var(--ink-2); }
.price .from { font-size: 14px; color: var(--muted); }
.price .amount { font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.price .per { font-size: 15px; color: var(--muted); }
.plan.featured .price .from, .plan.featured .price .per { color: #B7C3D8; }
.price-note { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; background: #E3EDFD; color: var(--blue); padding: 6px 10px; border-radius: 2px; }
.plan.featured .price-note { background: var(--blue); color: var(--white); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); flex: 1; }
.plan.featured ul { color: #D3DCEA; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--blue); font-weight: 600; }
.plan.featured li::before { color: var(--blue-soft); }
.plan .terms { font-size: 13px; color: var(--muted); }
.plan.featured .terms { color: #B7C3D8; }
.plan-actions { display: flex; flex-direction: column; gap: 10px; }
.plan-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
[data-wa] svg { width: 20px; height: 20px; flex: none; }
.plan .btn-primary:hover { background: var(--ink); color: var(--white); }
.plan.featured .btn-primary:hover { background: var(--white); color: var(--ink); }
.plan-actions .alt { font-size: 14px; text-align: center; text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #25D366; color: #08361C; font-weight: 600; }
.btn-wa:hover { background: #1EBE5A; color: #08361C; }
.btn-wa svg { width: 20px; height: 20px; flex: none; }
.wa-help { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; border: 1px dashed var(--ink); background: var(--white); }
.wa-help p { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 20px 16px 20px 0; border-top: 1px solid var(--ink); }
.price-table tr:last-child td { border-bottom: 1px solid var(--ink); }
.price-table th { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; border-top: none; padding-top: 0; }
.price-table td strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.price-table td span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.price-table td.amount { font-family: var(--serif); font-size: 26px; white-space: nowrap; padding-right: 0; text-align: right; }
.price-table td.amount small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.pay > div { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--ink); padding: 24px; }
.pay svg { width: 30px; height: 30px; color: var(--blue); }
.pay strong { font-size: 17px; }
.pay p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.pay-rules { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 32px; }
.pay-rules li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pay-rules li::before { content: "→"; color: var(--blue); }
@media (max-width: 640px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid var(--ink); padding: 18px 0; }
  .price-table td { border: none; padding: 0; }
  .price-table tr:last-child td { border-bottom: none; }
  .price-table tr:last-child { border-bottom: 1px solid var(--ink); }
  .price-table td.amount { font-size: 22px; }
}

/* Pricing page v2: rate card, billing models, "what the price depends on", calculator */
.rate-card { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--ink); }
.rate-card th { background: var(--ink); color: var(--paper); text-align: left; font-size: 15px; font-weight: 600; padding: 18px 24px; }
.rate-card td { padding: 16px 24px; border-top: 1px solid var(--line-soft); font-size: 15px; vertical-align: top; }
.rate-card td:first-child { font-weight: 600; }
.rate-card td:first-child small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rate-card td:last-child { white-space: nowrap; color: var(--ink-2); }
.rate-card tr.total td { background: #E3EDFD; }
.rate-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.band { background: #DCE8FB; box-shadow: 0 0 0 100vmax #DCE8FB; clip-path: inset(0 -100vmax); }
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.model { background: var(--white); border: 1px solid var(--ink); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.model svg { width: 64px; height: 64px; color: var(--blue); }
.model h3 { font-size: 20px; font-weight: 600; }
.model p { font-size: 15px; line-height: 1.55; color: var(--ink-2); text-align: left; }
.depends { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.depends img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion details { border: 1px solid var(--ink); background: var(--white); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 18px; font-weight: 600; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--mono); color: var(--blue); }
.accordion details[open] summary { color: var(--blue); }
.accordion details[open] summary::after { content: "−"; }
.accordion p { padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) { .depends { grid-template-columns: 1fr; } .depends img { aspect-ratio: 16 / 9; } }

.calc { background: var(--white); border: 1px solid var(--ink); padding: clamp(24px, 4vw, 48px); }
.calc fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.calc fieldset + fieldset { margin-top: 40px; }
.calc.js fieldset + fieldset { margin-top: 0; }
.calc legend { padding: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.calc legend small { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 6px; }
.calc-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.calc-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 22px 14px; border: 1px solid var(--line-soft); cursor: pointer; font-size: 15px; line-height: 1.35; transition: border-color 0.12s, background 0.12s; }
.calc-option:hover { border-color: var(--ink); }
.calc-option input { position: absolute; opacity: 0; pointer-events: none; }
.calc-option svg { width: 42px; height: 42px; color: var(--blue); }
.calc-option:has(input:checked) { border: 2px solid var(--blue); background: #EEF4FE; padding: 21px 13px; }
.calc-option:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.calc-option.text-only { padding-top: 18px; padding-bottom: 18px; }
.calc-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.calc-nav .btns { display: flex; gap: 10px; }
.calc-nav button { font: inherit; font-weight: 500; padding: 14px 22px; border-radius: 2px; cursor: pointer; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.calc-nav button.next { background: var(--blue); border-color: var(--blue); color: var(--white); }
.calc-nav button.next:hover { background: var(--ink); border-color: var(--ink); }
.calc-nav button[disabled] { opacity: 0.4; cursor: not-allowed; }
.calc-progress { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.calc-error { color: #B42318; font-size: 14px; min-height: 20px; }
.calc-result { display: flex; flex-direction: column; gap: 18px; }
.calc-result .estimate { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.calc-result .estimate small { font-family: var(--sans); font-size: 16px; color: var(--muted); letter-spacing: 0; }
.calc-result .once { font-size: 18px; }
.calc-result .tip { background: #E3EDFD; padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.calc-result .summary { font-size: 14px; color: var(--muted); line-height: 1.5; }
.calc-result .hero-actions .btn { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 640px) {
  .calc-options { grid-template-columns: 1fr 1fr; gap: 8px; }
  .calc-option { padding: 14px 8px; gap: 8px; font-size: 13.5px; }
  .calc-option:has(input:checked) { padding: 13px 7px; }
  .calc-option svg { width: 30px; height: 30px; }
  .rate-card th, .rate-card td { padding: 14px 14px; }
  .rate-card td:last-child { white-space: normal; }
}
.calc.js .calc-step, .calc.js .calc-result { display: none; }
.calc.js .calc-step.active, .calc.js .calc-result.active { display: flex; }
.calc:not(.js) .calc-nav, .calc:not(.js) .calc-result { display: none; }

/* Floating WhatsApp button (added by js/main.js on every page) */
.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #25D366; color: #08361C; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 18px rgba(14, 27, 51, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float:hover { color: #08361C; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 27, 51, 0.32); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 640px) {
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* Footer */
.footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding: 48px 0 32px; border-top: 1px solid var(--ink); font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.footer-col .eyebrow { color: var(--muted); font-size: 11px; }
.legal-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 32px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

/* Phones and small tablets */
@media (max-width: 1000px) {
  .nav-links > a.nav-opt { display: none; }
}
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
  .process li, .process li + li { padding: 24px 0; border-left: none; }
  .levels { grid-template-columns: 1fr; }
  .level, .level:nth-child(n) { min-height: 0; border-right: 1px solid var(--ink); }
  .level:last-child { border-bottom: 1px solid var(--ink); }
}
@media (max-width: 640px) {
  .nav-links > a:not(.nav-cta):not(.nav-price) { display: none; }
  .nav-links { gap: 10px; }
  .nav-tag { display: none; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-content { padding-top: 96px; padding-bottom: 48px; }
  .hero::after { background: linear-gradient(180deg, rgba(9, 20, 42, 0.72) 0%, rgba(9, 20, 42, 0.9) 100%); }   /* text runs full width on phones */
  .point { font-size: 20px; grid-template-columns: 36px 1fr; }
  .route strong { font-size: 22px; }
  .form { padding: 24px; }
  .faq details p { padding-right: 0; }
  .legal-bar { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .menu { display: block; }
}
@media (max-width: 480px) {
  .nav-links > a.nav-price { display: none; }
  .nav-links > details.lang { display: none; }   /* the languages are inside the menu */
  .nav .logo { font-size: 18px; }
}

/* Bolder type (owner's request, 2026-10-25). Lighter or heavier: change these three numbers (100-900). */
:root { --w-body: 500; --w-head: 600; --w-ui: 600; }
body { font-weight: var(--w-body); }
.h2, .hero h1, .page-hero h1, .contact h2, .cta-band h2, .level h3, .case h3, .route strong, .process h3, .benefit strong, .plan h3, .legal-doc h1,
.point, .service .problem, .price .amount, .price-table td.amount, .calc legend, .calc-result .estimate, .founder blockquote { font-weight: var(--w-head); }
.nav-links a, .eyebrow, .tag, .btn, .btn-ghost, .form button, .calc-nav button, .menu summary { font-weight: var(--w-ui); }

/* "Pressable" feedback (owner's request, 2026-10-25): nav links get a light pill that lifts on hover; buttons lift too. */
.nav-links { gap: 4px; }
.nav-links > a:not(.nav-cta) { padding: 8px 12px; border-radius: 999px; transition: background-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; }
.nav-links > a:not(.nav-cta):hover, .nav-links > a:not(.nav-cta):focus-visible { background: #E3EDFD; color: var(--blue); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(31, 95, 209, 0.18); }
.nav-links > a[aria-current="page"] { background: #EEF4FE; color: var(--blue); }
.nav-links > details, .nav-cta { margin-left: 8px; }
.btn, .nav-cta, .form button, .calc-nav button.next { transition: background-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn:hover, .nav-cta:hover, .form button:hover, .calc-nav button.next:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(14, 27, 51, 0.22); }
.lang summary, .menu summary { transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.lang summary:hover, .menu summary:hover { background: #E3EDFD; }
.menu li a:hover, .lang li a:hover { background: #EEF4FE; color: var(--blue); }

/* Cards and rows that "pop" on hover (owner's request, 2026-10-25): prices, contact details, "Por qué Cotatop" */
.service, .plan, .benefit, .model, .pay > div { transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.service:hover, .plan:hover, .benefit:hover, .model:hover, .pay > div:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14, 27, 51, 0.14); border-color: var(--blue); }
.plan.featured:hover { box-shadow: 10px 12px 0 var(--blue); }
.service.accent:hover { border-color: var(--blue-soft); }
.rate-card td, .price-table td { transition: background-color 0.15s, box-shadow 0.15s; }
.rate-card tbody tr:hover td, .price-table tbody tr:hover td { background: #EEF4FE; }
.rate-card tbody tr.total:hover td { background: #D6E5FC; }
.rate-card tbody tr:hover td:first-child, .price-table tbody tr:hover td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
.price-table th:first-child, .price-table td:first-child { padding-left: 14px; }   /* room for the blue bar */
.contact-ways a { margin-left: -6px; padding: 6px 16px 6px 6px; border-radius: 999px; transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.contact-ways a svg { transition: transform 0.15s; }
.contact-ways a:hover { background: #E3EDFD; color: var(--ink); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(31, 95, 209, 0.18); }
.contact-ways a:hover svg { transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .nav-links > a, .btn, .nav-cta, .form button, .calc-nav button.next,
  .service, .plan, .benefit, .model, .pay > div, .contact-ways a, .contact-ways a svg { transition: none; transform: none !important; }
}
