/* ==========================================================================
   VetCare — hoja de estilos compartida
   Paleta y tipografía consistentes con el Tablero VetCare (Cowork).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --teal:        #175C54;
  --teal-dark:   #103F3A;
  --teal-light:  #E9F1EF;
  --gold:        #C98A06;
  --gold-dark:   #9C6B04;
  --paper:       #F6F3EC;
  --surface:     #FFFFFF;
  --ink:         #1F2A28;
  --ink-soft:    #55625F;
  --line:        #E1DACB;
  --radius:      14px;
  --shadow:      0 10px 30px -12px rgba(23,92,84,0.18);
  --maxw:        1120px;
}

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

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Public Sans', Arial, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Zilla Slab', Georgia, serif;
  color:var(--teal-dark);
  line-height:1.2;
  margin:0 0 .5em;
}

h1{ font-size:clamp(2.1rem, 4vw, 3.1rem); font-weight:700; }
h2{ font-size:clamp(1.6rem, 3vw, 2.2rem); font-weight:700; }
h3{ font-size:1.25rem; font-weight:600; }

p{ margin:0 0 1em; color:var(--ink-soft); }
a{ color:inherit; text-decoration:none; }

.mono{ font-family:'IBM Plex Mono', monospace; }

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

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-dark);
  display:inline-block;
  margin-bottom:.6em;
}

/* ---------------- Header ---------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(246,243,236,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.site-header .bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
  max-width:var(--maxw); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; font-family:'Zilla Slab',serif; font-weight:700; font-size:1.3rem; color:var(--teal-dark); }
.brand .logo-mark{
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.brand .logo-mark img{ width:100%; height:100%; object-fit:contain; }

.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-logo img{ width:38px; height:38px; object-fit:contain; }
.footer-logo span{ font-family:'Zilla Slab',serif; font-weight:700; font-size:1.15rem; color:#fff; }

nav.main-nav{ display:flex; align-items:center; gap:28px; }
nav.main-nav a{
  font-weight:600; font-size:.95rem; color:var(--ink);
  padding:6px 0; border-bottom:2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active{ color:var(--teal); border-bottom-color:var(--gold); }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 22px; border-radius:999px;
  font-weight:700; font-size:.95rem;
  border:2px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--gold); color:#2b1c02; box-shadow:0 8px 20px -8px rgba(201,138,6,.55); }
.btn-primary:hover{ box-shadow:0 12px 24px -8px rgba(201,138,6,.65); }
.btn-outline{ background:transparent; border-color:var(--teal); color:var(--teal); }
.btn-outline:hover{ background:var(--teal); color:#fff; }
.btn-ghost{ background:var(--teal-light); color:var(--teal-dark); }
.btn-sm{ padding:9px 16px; font-size:.85rem; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--teal-dark); margin:5px 0; }

/* ---------------- Hero ---------------- */
.hero{
  padding:64px 0 56px;
  background:linear-gradient(180deg, var(--teal-light) 0%, var(--paper) 100%);
}
.hero .wrap{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.hero-copy p.lead{ font-size:1.1rem; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:24px; }
.hero-stats{ display:flex; gap:28px; margin-top:36px; flex-wrap:wrap; }
.hero-stats div{ font-family:'IBM Plex Mono',monospace; }
.hero-stats .num{ font-size:1.6rem; font-weight:700; color:var(--teal); display:block; }
.hero-stats .lbl{ font-size:.78rem; color:var(--ink-soft); }

.hero-media{
  aspect-ratio:4/3; border-radius:var(--radius);
  background:var(--surface); border:2px dashed var(--line);
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:var(--ink-soft); font-size:.9rem; padding:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-media img{ width:100%; height:100%; object-fit:cover; }

/* ---------------- Promo banner ---------------- */
.promo-banner{
  background:var(--teal); color:#fff;
  padding:16px 0;
}
.promo-banner .wrap{ display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap; text-align:center; }
.promo-banner strong{ color:#fff; }
.promo-banner p{ color:#DCEDE9; margin:0; }

/* ---------------- Sections ---------------- */
section{ padding:64px 0; }
section.tight{ padding:44px 0; }
.section-head{ max-width:640px; margin:0 auto 40px; text-align:center; }
.section-head.left{ margin:0 0 36px; text-align:left; }

.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow);
}
.card .icon{
  width:46px; height:46px; border-radius:12px;
  background:var(--teal-light); color:var(--teal);
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; margin-bottom:14px;
}
.card h3{ margin-bottom:.35em; }
.card p{ margin-bottom:0; font-size:.95rem; }

.service-card{ display:flex; flex-direction:column; height:100%; }
.service-card .price-tag{
  margin-top:auto; padding-top:14px; font-family:'IBM Plex Mono',monospace;
  font-weight:600; color:var(--teal-dark); font-size:.95rem;
}

.bg-teal{ background:var(--teal-dark); color:#fff; }
.bg-teal h2, .bg-teal h3{ color:#fff; }
.bg-teal p{ color:#CFE3DF; }
.bg-light{ background:var(--surface); }

/* ---------------- Pricing tables ---------------- */
.price-table{ width:100%; border-collapse:collapse; background:var(--surface); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.price-table caption{ text-align:left; padding:16px 20px 0; font-family:'Zilla Slab',serif; font-weight:700; font-size:1.15rem; color:var(--teal-dark); }
.price-table th, .price-table td{ padding:13px 20px; text-align:left; border-bottom:1px solid var(--line); font-size:.95rem; }
.price-table th{ font-family:'IBM Plex Mono',monospace; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); background:var(--teal-light); }
.price-table td.price{ font-family:'IBM Plex Mono',monospace; font-weight:600; color:var(--teal-dark); white-space:nowrap; text-align:right; }
.price-table tr:last-child td{ border-bottom:none; }
.price-table tr:hover td{ background:#FBFAF6; }
.price-note{ font-size:.85rem; color:var(--ink-soft); margin-top:10px; }
.price-note.flag{ color:var(--gold-dark); font-weight:600; }

.pricing-groups{ display:flex; flex-direction:column; gap:34px; }

/* ---------------- Placeholder blocks ---------------- */
.placeholder{
  border:2px dashed #C7B98E; background:#FBF7EC; color:var(--gold-dark);
  border-radius:var(--radius); padding:18px 20px; font-size:.9rem;
  display:flex; gap:10px; align-items:flex-start;
}
.placeholder strong{ color:var(--gold-dark); }
.testimonial-card{ border-style:dashed; }
.testimonial-card .who{ font-family:'IBM Plex Mono',monospace; font-size:.8rem; color:var(--ink-soft); margin-top:10px; }

/* ---------------- Steps ---------------- */
.steps{ counter-reset:step; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step{ position:relative; padding-left:6px; }
.step::before{
  counter-increment:step; content:counter(step);
  width:36px; height:36px; border-radius:50%;
  background:var(--gold); color:#2b1c02; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:12px; font-family:'IBM Plex Mono',monospace;
}

/* ---------------- Team ---------------- */
.team-card{ text-align:center; }
.team-photo{
  width:100%; aspect-ratio:1; border-radius:50%;
  background:var(--teal-light); border:2px dashed var(--line);
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-soft); font-size:.8rem; margin-bottom:14px; overflow:hidden;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }

/* ---------------- Contact ---------------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.contact-item{ display:flex; gap:14px; margin-bottom:22px; }
.contact-item .icon{ width:42px; height:42px; border-radius:10px; background:var(--teal-light); color:var(--teal); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item h4{ margin:0 0 3px; font-family:'Public Sans',sans-serif; font-weight:700; font-size:.95rem; color:var(--ink); }
.contact-item p{ margin:0; font-size:.92rem; }
.map-embed{
  width:100%; aspect-ratio:4/3; border-radius:var(--radius);
  background:var(--surface); border:2px dashed var(--line);
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-soft); text-align:center; padding:24px; font-size:.9rem;
}
.social-row{ display:flex; gap:12px; margin-top:18px; }
.social-row a{
  width:42px; height:42px; border-radius:50%; background:var(--teal);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:1rem; font-weight:700;
}

/* ---------------- WhatsApp float ---------------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:60;
  background:#1FAE55; color:#fff; width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.6rem;
  box-shadow:0 10px 24px -8px rgba(0,0,0,.35);
}

/* ---------------- Footer ---------------- */
footer.site-footer{ background:var(--teal-dark); color:#CFE3DF; padding:52px 0 26px; }
footer.site-footer h4{ color:#fff; font-family:'Public Sans',sans-serif; font-size:.85rem; letter-spacing:.05em; text-transform:uppercase; margin-bottom:14px; }
footer.site-footer .grid-4{ margin-bottom:36px; }
footer.site-footer a{ color:#CFE3DF; display:block; margin-bottom:8px; font-size:.92rem; }
footer.site-footer a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:20px; font-size:.8rem; color:#9DBCB6; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }

/* ---------------- Responsive ---------------- */
@media (max-width:900px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-media{ order:-1; }
  .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  nav.main-nav{
    position:fixed; inset:64px 0 auto 0; background:var(--paper);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:12px 24px; border-bottom:1px solid var(--line);
    transform:translateY(-130%); transition:transform .2s ease;
  }
  nav.main-nav.open{ transform:translateY(0); }
  nav.main-nav a{ width:100%; padding:12px 0; border-bottom:1px solid var(--line); }
  nav.main-nav .btn{ margin:12px 0; }
  .nav-toggle{ display:block; }
  .grid-3, .grid-4{ grid-template-columns:1fr; }
  .hero-stats{ gap:20px; }
  footer.site-footer .grid-4{ grid-template-columns:1fr 1fr; }
}
