/*
Theme Name: Alitas al Cielo
Theme URI: https://www.alitasalcielo.com.ar/
Author: Alitas al Cielo
Description: Tema personalizado para servicio de cremacion de mascotas en CABA y GBA.
Version: 1.0.0
Text Domain: alitas-al-cielo
*/

:root {
  --ink: #4a4a4a;
  --muted: #6f6b68;
  --line: #e7ddd4;
  --paper: #fcf8f3;
  --white: #fffefd;
  --cream: #f6eee5;
  --terracotta: #c77c62;
  --terracotta-dark: #a95f49;
  --sage: #819b88;
  --sage-dark: #617a68;
  --sky: #b8dbea;
  --sky-dark: #6fa7be;
  --peach-dark: var(--terracotta);
  --cocoa: #4a4a4a;
  --gold: var(--sky-dark);
  --shadow: 0 18px 46px rgba(74,74,74,.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.topbar { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 9px 18px; background: var(--ink); color: var(--white); font-size: 14px; text-align: center; }
.topbar a { font-weight: 800; text-decoration: none; }
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px clamp(18px, 5vw, 68px); background: rgba(252,248,243,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.home .nav { position: fixed; left: 0; right: 0; top: 38px; background: rgba(252,248,243,.84); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 138px; height: auto; }
.menu { display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a.active { color: var(--terracotta-dark); }
.mobile-menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 18px; border: 1px solid transparent; border-radius: 8px; background: var(--terracotta); color: var(--white); font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 12px 28px rgba(169,95,73,.22); }
.button:hover { background: var(--terracotta-dark); }
.button.secondary { background: var(--sage); color: var(--white); border-color: var(--sage); box-shadow: 0 10px 24px rgba(97,122,104,.17); }
.button.secondary:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.button.ghost { background: rgba(255,255,255,.18); color: var(--white); border-color: rgba(255,255,255,.44); box-shadow: none; }

.hero-home { min-height: 100vh; display: grid; align-items: center; padding: 150px clamp(18px, 5vw, 68px) 70px; color: var(--white); background: linear-gradient(90deg, rgba(74,74,74,.66) 0%, rgba(169,95,73,.46) 34%, rgba(199,124,98,.14) 64%, rgba(255,255,255,.02) 82%), url("assets/hero-paz-cercania-v2.jpg") center / cover no-repeat; }
.hero-home-inner, .page-hero-inner, .section-inner { max-width: 1180px; margin: 0 auto; width: 100%; }
.hero-logo-card { width: min(430px, 92vw); padding: 0; margin-bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: transparent; box-shadow: none; }
.hero-logo-card img { width: 176px; filter: drop-shadow(0 8px 22px rgba(0,0,0,.30)); }
.hero-wordmark { color: #fffaf5; font-size: clamp(34px, 5vw, 54px); font-weight: 400; line-height: .95; letter-spacing: 0; text-shadow: 0 7px 24px rgba(0,0,0,.42); }
.hero-home h1 { max-width: 690px; margin: 0 0 16px; color: var(--white); font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: 0; }
.hero-home p { max-width: 610px; margin: 0 0 28px; color: rgba(255,255,255,.90); font-size: clamp(18px, 2vw, 22px); }
.hero-home .hero-emotional { margin-bottom: 8px; color: var(--sky); font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; }
.seo-intro { padding-top: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); background: var(--white); }
.seo-intro p { max-width: 970px; margin: 0 auto; color: var(--muted); font-size: 18px; text-align: center; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 650px; margin-top: 24px; }
.quick-facts div { min-height: 58px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.quick-facts strong { display: block; color: var(--ink); font-size: 15px; text-align: center; }
.quick-facts span { display: block; color: var(--muted); font-size: 14px; text-align: center; }
.hero-home .quick-facts div { border-color: rgba(255,255,255,.34); background: rgba(255,248,242,.18); backdrop-filter: blur(10px); }
.hero-home .quick-facts strong { color: var(--white); }
.hero-home .quick-facts span { color: rgba(255,255,255,.84); }

.page-hero { padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 68px); background: linear-gradient(105deg, rgba(252,248,243,.98), rgba(246,238,229,.94)), radial-gradient(circle at 82% 28%, rgba(184,219,234,.44), transparent 34%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.76); color: var(--sky-dark); font-size: 14px; font-weight: 800; }
h1, h2, h3 { color: var(--ink); letter-spacing: 0; }
.page-hero h1, .section-head h2 { margin: 18px 0 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; }
.page-hero p, .section-head p { max-width: 760px; margin: 0; color: var(--muted); font-size: 18px; }
section { padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 68px); }
.band { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonials-section { background: linear-gradient(180deg, #fcf8f3 0%, #f2f7f4 100%); }
.section-head { max-width: 780px; margin-bottom: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.card, .panel { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p, .panel p { margin: 0; color: var(--muted); }
.testimonials-wrap { position: relative; }
.testimonial-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 42%); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; padding: 4px 4px 18px; scrollbar-color: var(--terracotta) var(--cream); }
.testimonial-card { scroll-snap-align: start; min-height: 268px; display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #dce8e1; border-radius: 8px; background: linear-gradient(180deg, #fffefd 0%, #f4f8f5 100%); box-shadow: var(--shadow); }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sky-dark); color: var(--white); font-weight: 900; }
.reviewer strong { display: block; color: var(--ink); }
.reviewer span { color: var(--muted); font-size: 14px; }
.stars { color: #d59b25; font-size: 18px; letter-spacing: 0; }
.testimonial-card blockquote { margin: 0; color: var(--ink); font-size: 17px; }
.carousel-hint { margin-top: 8px; color: var(--muted); font-size: 14px; }
.icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--sky); color: #426f82; font-weight: 900; font-size: 20px; }
.image-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.image-frame img { width: 100%; min-height: 360px; object-fit: cover; }
.process-image img { aspect-ratio: 3 / 2; min-height: 0; }
.check-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; color: var(--muted); }
.check-list li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step { min-height: 206px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--sky-dark); color: var(--white); font-weight: 900; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 12px 30px rgba(70,50,39,.08); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery figcaption { padding: 12px 14px; color: var(--muted); font-size: 14px; }
details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
summary { cursor: pointer; font-weight: 800; }
details p { margin: 12px 0 0; color: var(--muted); }
.cta { padding: clamp(30px, 5vw, 46px); border-radius: 8px; background: var(--sage-dark); color: var(--white); }
.cta h2 { margin: 0 0 12px; color: var(--white); font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.cta p { max-width: 720px; color: rgba(255,255,255,.84); font-size: 18px; }
.info-list { display: grid; gap: 12px; }
.info-item { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.info-item strong { display: block; margin-bottom: 4px; }
.info-item span, .info-item a { color: var(--muted); text-decoration: none; }
.map-frame { width: 100%; min-height: 300px; border: 0; border-radius: 8px; display: block; }
.location-card { display: grid; grid-template-rows: 390px 1fr 300px; overflow: hidden; padding: 0; }
.location-card > img { width: 100%; height: 390px; object-fit: cover; object-position: center; }
.location-card .location-body { padding: 22px; }
.coverage-text { margin-top: 12px !important; font-size: 15px; }
.home-location-list { display: grid; gap: 12px; margin-top: 26px; }
.home-location-item { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.home-location-item:first-child { border-top: 1px solid var(--line); }
.location-marker { position: relative; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--sky); transform: rotate(-45deg) scale(.72); }
.location-marker::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--white); }
.home-location-item div { min-width: 0; }
.home-location-item span:not(.location-marker) { display: block; margin-bottom: 2px; color: var(--sage-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.home-location-item strong { display: block; color: var(--ink); font-size: 17px; }
.home-location-actions { margin-top: 26px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--cocoa); font-weight: 800; text-decoration: none; }
.social-links .facebook { border-color: #1877f2; background: #1877f2; color: #fff; }
.social-links .instagram { border-color: #e4405f; background: linear-gradient(135deg, #f58529, #e4405f 58%, #c13584); color: #fff; }
.social-links .facebook:hover { background: #0f66d8; }
.social-links .instagram:hover { background: linear-gradient(135deg, #dc741d, #c92f4d 58%, #9f2b6b); }
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; justify-content: center; min-width: 178px; min-height: 52px; padding: 14px 18px; border-radius: 999px; background: #1fa855; color: var(--white); font-weight: 900; text-decoration: none; box-shadow: 0 16px 34px rgba(31,168,85,.30); }
footer { padding: 28px clamp(18px, 5vw, 68px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 980px) {
  body.menu-open { overflow: hidden; }
  .nav { padding: 11px 18px; }
  .mobile-menu-toggle { display: block; flex: 0 0 auto; }
  .nav-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; max-height: calc(100vh - 110px); overflow-y: auto; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); background: rgba(252,248,243,.99); box-shadow: 0 18px 36px rgba(74,74,74,.14); white-space: normal; }
  .nav-open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a:not(.button) { display: flex; align-items: center; min-height: 46px; padding: 9px 4px; border-bottom: 1px solid rgba(231,221,212,.75); font-size: 16px; font-weight: 700; }
  .menu > .button { display: none; }
  .home .nav { top: 56px; }
  .quick-facts, .grid-3, .grid-2, .split, .steps, .gallery { grid-template-columns: 1fr; }
  .testimonial-carousel { grid-auto-columns: minmax(280px, 86%); }
  .location-card { grid-template-rows: 320px auto 300px; }
  .location-card > img { height: 320px; }
  .hero-home { background: linear-gradient(90deg, rgba(74,74,74,.72), rgba(169,95,73,.38), rgba(255,255,255,.04)), url("assets/hero-paz-cercania-v2.jpg") 62% center / cover no-repeat; }
}

@media (max-width: 560px) {
  .topbar { font-size: 13px; }
  .brand img { width: 116px; }
  .hero-home { min-height: calc(350px + 150vw); padding: 142px 18px 380px; background: linear-gradient(180deg, rgba(74,74,74,.94) 0%, rgba(169,95,73,.76) 38%, rgba(97,122,104,.30) 64%, rgba(74,74,74,.04) 100%), url("assets/hero-paz-cercania-movil-v1.jpg") center bottom / 100% auto no-repeat, var(--ink); }
  .hero-logo-card { margin-bottom: 20px; }
  .hero-logo-card img { width: 118px; }
  .hero-wordmark { font-size: 36px; }
  .hero-home h1 { font-size: 40px; line-height: 1.02; }
  .hero-home .quick-facts { display: none; }
  .hero-actions .button, .actions .button { width: 100%; }
  .floating { left: 14px; right: 14px; bottom: 14px; }
  footer { padding-bottom: 86px; }
}
