:root {
  --brand: #175f61;
  --brand-dark: #103f42;
  --brand-soft: #e8f4f2;
  --aqua: #00877e;
  --aqua-light: #7be5da;
  --ink: #173f43;
  --muted: #4d6568;
  --paper: #fbfdfc;
  --line: #d7e6e3;
  --purple: #6a43cf;
  --purple-dark: #26184d;
  --purple-soft: #f1ecff;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--brand-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Cabecera */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 252, 0.96);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
}

.brand-name {
  display: grid;
  line-height: 1.05;
}

.brand-name strong {
  color: var(--brand-dark);
  font-size: 1.9rem;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.brand-name strong span {
  color: var(--aqua);
}

.brand-name small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--aqua);
}

.desktop-nav .nav-button {
  padding: 10px 18px;
  border-radius: 999px;
  color: white;
  background: var(--brand);
}

.desktop-nav .nav-button:hover {
  color: white;
  background: var(--brand-dark);
}

.mobile-nav {
  position: relative;
}

.mobile-nav summary {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
  background: white;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-dark);
}

.mobile-nav nav {
  position: absolute;
  top: 56px;
  right: 0;
  width: min(260px, calc(100vw - 32px));
  padding: 8px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 14px 36px rgba(16, 63, 66, 0.14);
}

.mobile-nav nav a {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav nav a:hover {
  background: var(--brand-soft);
}

/* Tipografía y botones */

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 6.5vw, 2.8rem);
}

.button {
  min-height: 52px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--brand);
}

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

.button-secondary {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: transparent;
}

.button-secondary:hover {
  background: var(--brand-soft);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

/* Presentación */

.hero {
  padding-block: 48px 56px;
  background: linear-gradient(180deg, var(--brand-soft), var(--paper));
}

.hero h1 {
  max-width: 760px;
  color: var(--brand-dark);
  font-size: clamp(2.1rem, 9vw, 3.9rem);
}

.hero-intro {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-pillars {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.hero-pillars li {
  padding-left: 22px;
  position: relative;
  font-weight: 700;
}

.hero-pillars li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
}

.hero-actions {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

/* Secciones */

.section {
  padding-block: 56px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

/* Confianza */

.trust-section {
  background: white;
  border-block: 1px solid var(--line);
}

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

.trust-grid li {
  padding-left: 18px;
  border-left: 4px solid var(--aqua);
}

.trust-grid h3 {
  font-size: 1.2rem;
}

.trust-grid p {
  margin: 6px 0 0;
  color: var(--muted);
}

/* VetApp */

.vetapp-feature {
  padding: 22px 18px;
  border: 1px solid #d9ccf5;
  border-radius: 20px;
  background: var(--purple-soft);
}

.vetapp-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vetapp-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.product-status {
  margin: 0 0 2px;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vetapp-head h2 {
  color: var(--purple-dark);
  font-size: clamp(2.2rem, 10vw, 3rem);
  line-height: 1;
}

.product-description {
  margin: 20px 0 0;
  color: #4a4260;
  font-size: 1.05rem;
}

.vetapp-modules {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.module {
  padding: 16px 18px;
  border: 1px solid #ddd3f5;
  border-top: 5px solid var(--purple);
  border-radius: 14px;
  background: white;
}

.module-care {
  border-top-color: var(--aqua);
}

.module h3 {
  color: var(--purple-dark);
  font-size: 1.15rem;
}

.module p {
  margin: 6px 0 0;
  color: #4a4260;
}

.modules-note {
  margin: 16px 0 0;
  color: var(--purple-dark);
  font-weight: 700;
}

.product-actions {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.vetapp-button {
  color: white;
  background: var(--purple-dark);
}

.vetapp-button:hover {
  background: var(--purple);
}

.product-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-dark);
  font-weight: 800;
}

/* Capacidades */

.capabilities-section {
  padding-top: 0;
}

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

.capability-grid li {
  padding: 14px 16px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.capability-grid strong {
  color: var(--brand-dark);
  line-height: 1.3;
}

.capability-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* A medida */

.custom-section {
  color: white;
  background: var(--brand-dark);
}

.custom-section .eyebrow {
  color: var(--aqua-light);
}

.custom-lead {
  margin: 16px 0 0;
  color: #d2e5e3;
  font-size: 1.05rem;
}

.steps {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 14px;
}

.steps li > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--aqua-light);
  font-size: 0.9rem;
  font-weight: 850;
}

.steps p {
  margin: 2px 0 0;
  color: #d2e5e3;
  font-size: 0.95rem;
}

.in-progress {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #d2e5e3;
  font-size: 0.95rem;
}

/* Contacto */

.contact-section {
  padding: 56px 0;
}

.contact-panel {
  display: grid;
  gap: 24px;
}

.contact-panel h2 {
  font-size: clamp(1.8rem, 6.5vw, 2.8rem);
}

.contact-panel .eyebrow-light {
  color: var(--brand);
}

.contact-panel > div > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.contact-method {
  padding: 18px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.contact-method > p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.contact-method .contact-button {
  width: 100%;
  min-height: 52px;
  color: #062b1a;
  background: #25d366;
  font-size: 1rem;
}

.contact-method .contact-button:hover {
  background: #1fb857;
}

.contact-number {
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 700;
}

/* Pie */

.site-footer {
  color: #c8dddb;
  background: #0c3033;
}

.footer-inner {
  padding-block: 32px;
  display: grid;
  gap: 20px;
}

.footer-inner > div {
  display: grid;
}

.footer-inner strong {
  color: white;
  font-size: 1.2rem;
}

.footer-inner span,
.footer-inner > p {
  font-size: 0.88rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer-inner nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-inner > p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Tablet y escritorio */

@media (min-width: 640px) {
  .hero-pillars {
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
  }

  .hero-actions,
  .product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
  }

  .trust-grid,
  .capability-grid,
  .vetapp-modules,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .vetapp-feature {
    padding: 32px;
  }
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .hero {
    padding-block: 88px 96px;
  }

  .section {
    padding-block: 80px;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .capability-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .custom-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 64px;
    align-items: start;
  }

  .steps {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .in-progress {
    grid-column: 1 / -1;
  }

  .contact-section {
    padding-block: 80px;
  }

  .contact-panel {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .brand-name strong {
    font-size: 1.7rem;
  }

  .vetapp-logo {
    width: 60px;
    height: 60px;
  }
}

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