/* =========================================================
   AXXIS - SITIO PÚBLICO
   Tu Huella Vet · Hacienda Agusbella
   ========================================================= */

/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f0f7f6;

  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-soft: #ccfbf1;

  --secondary: #0f172a;

  --text: #172033;
  --text-soft: #64748b;
  --text-light: #94a3b8;

  --border: #e2e8f0;

  --success: #10b981;

  --shadow-sm:
    0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);

  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);

  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1180px;

  --transition: 180ms ease;
}

/* =========================================================
   2. RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);
  background: var(--bg);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.public-container {
  width: min(calc(100% - 40px), var(--container));

  margin-inline: auto;
}

/* =========================================================
   3. HEADER
   ========================================================= */

.public-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 255, 255, 0.92);

  border-bottom: 1px solid rgba(226, 232, 240, 0.85);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: linear-gradient(135deg, var(--primary), #14b8a6);

  color: #ffffff;

  font-size: 21px;
  font-weight: 800;

  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;

  line-height: 1.2;
}

.brand-copy strong {
  color: var(--secondary);

  font-size: 18px;
  font-weight: 800;
}

.brand-copy small {
  margin-top: 3px;

  color: var(--text-soft);

  font-size: 11px;
  font-weight: 500;
}

.public-nav {
  display: flex;
  align-items: center;

  gap: 6px;
}

.public-nav > a {
  padding: 10px 13px;

  border-radius: 10px;

  color: var(--text-soft);

  font-size: 14px;
  font-weight: 600;

  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.public-nav > a:hover {
  color: var(--secondary);
  background: #f1f5f9;
}

.public-nav .nav-login {
  margin-left: 6px;

  padding-inline: 18px;

  color: #ffffff;
  background: var(--secondary);
}

.public-nav .nav-login:hover {
  color: #ffffff;
  background: #26334b;

  transform: translateY(-1px);
}

/* =========================================================
   4. HERO
   ========================================================= */

.hero {
  position: relative;

  padding: 105px 0 115px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(20, 184, 166, 0.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(15, 118, 110, 0.08),
      transparent 28%
    ),
    var(--bg);
}

.hero::after {
  content: "";

  position: absolute;

  width: 460px;
  height: 460px;

  right: -230px;
  bottom: -250px;

  border-radius: 50%;

  border: 70px solid rgba(15, 118, 110, 0.035);

  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(330px, 0.8fr);

  align-items: center;

  gap: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;

  margin-bottom: 18px;

  color: var(--primary);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;

  margin: 0;

  color: var(--secondary);

  font-size: clamp(42px, 5vw, 70px);

  line-height: 1.04;

  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;

  color: var(--primary);
}

.hero-description {
  max-width: 650px;

  margin: 28px 0 0;

  color: var(--text-soft);

  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 34px;
}

.button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 22px;

  border: 1px solid transparent;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

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

.button-primary {
  color: #ffffff;
  background: var(--primary);

  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

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

  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.28);
}

.button-secondary {
  color: var(--secondary);

  background: #ffffff;

  border-color: var(--border);
}

.button-secondary:hover {
  border-color: #cbd5e1;

  box-shadow: var(--shadow-sm);
}

.access-note {
  margin-top: 18px;

  color: var(--text-light);

  font-size: 13px;
}

/* =========================================================
   5. HERO PANEL
   ========================================================= */

.hero-panel {
  position: relative;

  padding: 12px;

  border: 1px solid rgba(226, 232, 240, 0.9);

  border-radius: var(--radius-lg);

  background: rgba(255, 255, 255, 0.92);

  box-shadow: var(--shadow-lg);
}

.hero-panel::before {
  content: "";

  position: absolute;
  inset: -1px;

  z-index: -1;

  border-radius: inherit;

  background: linear-gradient(
    145deg,
    rgba(20, 184, 166, 0.25),
    transparent 40%
  );
}

.hero-panel-header {
  display: flex;
  align-items: center;

  gap: 9px;

  padding: 13px 14px 18px;

  color: var(--text-soft);

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: var(--success);

  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.hero-stat {
  margin-bottom: 8px;

  padding: 20px;

  border: 1px solid #edf1f5;

  border-radius: 17px;

  background: #ffffff;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.hero-stat:last-child {
  margin-bottom: 0;
}

.hero-stat:hover {
  transform: translateY(-2px);

  box-shadow: var(--shadow-sm);
}

.hero-stat span {
  display: block;

  margin-bottom: 5px;

  color: var(--text-light);

  font-size: 12px;
  font-weight: 600;
}

.hero-stat strong {
  color: var(--secondary);

  font-size: 18px;
}

/* =========================================================
   6. FEATURES
   ========================================================= */

.features {
  padding: 110px 0;

  background: #ffffff;
}

.section-heading {
  max-width: 700px;

  margin-bottom: 50px;
}

.section-heading h2,
.about-section h2,
.google-card h2 {
  margin: 0 0 18px;

  color: var(--secondary);

  font-size: clamp(30px, 4vw, 44px);

  line-height: 1.12;

  letter-spacing: -0.03em;
}

.section-heading p,
.about-copy p,
.google-card p {
  color: var(--text-soft);

  font-size: 16px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;
}

.feature-card {
  min-height: 280px;

  padding: 28px;

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  background: #ffffff;

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);

  border-color: rgba(15, 118, 110, 0.3);

  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  margin-bottom: 28px;

  border-radius: 13px;

  color: var(--primary);

  background: var(--primary-soft);

  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 13px;

  color: var(--secondary);

  font-size: 19px;
}

.feature-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;
  line-height: 1.75;
}

/* =========================================================
   7. ABOUT
   ========================================================= */

.about-section {
  padding: 105px 0;

  background: var(--surface-soft);
}

.about-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: 90px;
}

.about-copy {
  max-width: 650px;
}

.about-copy p {
  margin: 0 0 20px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   8. GOOGLE / ACCESS SECTION
   ========================================================= */

.google-section {
  padding: 100px 0;

  background: #ffffff;
}

.google-card {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 60px;

  padding: 48px 52px;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  background: linear-gradient(135deg, #ffffff, #f7fbfb);

  box-shadow: var(--shadow-md);
}

.google-card p {
  max-width: 720px;

  margin: 0 0 12px;
}

.google-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   9. LEGAL PAGES
   ========================================================= */

.legal-hero {
  padding: 85px 0 70px;

  border-bottom: 1px solid var(--border);

  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.legal-heading {
  max-width: 820px;
}

.legal-heading h1 {
  margin: 0 0 16px;

  color: var(--secondary);

  font-size: clamp(38px, 5vw, 58px);

  line-height: 1.08;

  letter-spacing: -0.04em;
}

.legal-heading p {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;
}

.legal-section {
  padding: 75px 0 110px;

  background: #ffffff;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 52px 0 14px;

  color: var(--secondary);

  font-size: 22px;

  letter-spacing: -0.015em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 18px;

  color: #475569;

  font-size: 15px;
  line-height: 1.85;
}

.legal-content a {
  color: var(--primary);

  font-weight: 700;

  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   10. FOOTER
   ========================================================= */

.public-footer {
  padding: 55px 0 28px;

  color: #cbd5e1;

  background: var(--secondary);
}

.footer-grid {
  display: grid;

  grid-template-columns: 1fr auto;

  gap: 50px;

  padding-bottom: 42px;
}

.footer-brand {
  display: block;

  margin-bottom: 8px;

  color: #ffffff;

  font-size: 20px;
}

.footer-grid p {
  max-width: 420px;

  margin: 0;

  color: #94a3b8;

  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;

  align-items: flex-end;

  gap: 8px;
}

.footer-links a {
  color: #cbd5e1;

  font-size: 13px;

  transition: color var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #64748b;

  font-size: 12px;
}

/* =========================================================
   11. RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 50px;
  }
}

@media (max-width: 850px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-copy small {
    display: none;
  }

  .public-nav > a:not(.nav-login) {
    display: none;
  }

  .hero {
    padding: 75px 0 85px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-panel {
    max-width: 600px;
  }

  .about-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .google-card {
    grid-template-columns: 1fr;

    gap: 30px;
  }

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

  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .public-container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-mark {
    width: 38px;
    height: 38px;

    border-radius: 11px;

    font-size: 18px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .public-nav .nav-login {
    margin-left: 0;

    padding: 9px 13px;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .features,
  .about-section,
  .google-section {
    padding: 75px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .google-card {
    padding: 32px 24px;

    border-radius: 20px;
  }

  .legal-hero {
    padding: 60px 0 50px;
  }

  .legal-section {
    padding: 55px 0 80px;
  }

  .legal-content h2 {
    margin-top: 40px;

    font-size: 20px;
  }

  .footer-grid {
    padding-bottom: 30px;
  }
}
