/* ===========================
   MAUPA – style.css
   Fondo blanco, acentos terracota
   =========================== */

:root {
  --white:        #ffffff;
  --bg:           #ffffff;
  --bg-alt:       #fafafa;
  --cream:        #fdf3e3;
  --cream-dark:   #f5e6cc;
  --terra:        #c87941;
  --terra-dark:   #a85f2a;
  --terra-light:  #e8a870;
  --brown:        #5a3320;
  --text:         #2a1a0e;
  --text-light:   #7a5a40;
  --border:       #ececec;
  --shadow:       rgba(90, 51, 32, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
em { font-style: italic; color: var(--terra); }
p  { line-height: 1.7; color: var(--text-light); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--terra);
  color: var(--white);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 18px rgba(200, 121, 65, .30);
}
.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 121, 65, .40);
}
.btn-xl { font-size: 1.1rem; padding: 1rem 2.4rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--terra);
  border: 2px solid var(--terra);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all .25s;
}
.btn-secondary:hover {
  background: var(--terra);
  color: var(--white);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px var(--shadow); }

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: .95rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--terra); }

.nav-cta {
  background: var(--terra) !important;
  color: var(--white) !important;
  padding: .5rem 1.3rem;
  border-radius: 50px;
  transition: background .25s !important;
}
.nav-cta:hover { background: var(--terra-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--terra);
  border-radius: 4px;
  display: block;
  transition: .3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: .7rem 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--terra); }
.mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 8rem 1.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.paw {
  position: absolute;
  font-size: 3rem;
  opacity: .06;
  pointer-events: none;
  animation: floatPaw 6s ease-in-out infinite;
}
.paw-1 { top: 15%; left: 5%;  animation-delay: 0s; }
.paw-2 { top: 60%; right: 8%; animation-delay: 2s; font-size: 2rem; }
.paw-3 { bottom: 10%; left: 20%; animation-delay: 4s; font-size: 1.5rem; }

@keyframes floatPaw {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%       { transform: translateY(-15px) rotate(10deg); }
}

.hero-content {
  flex: 1;
  max-width: 560px;
  animation: fadeUp .9s ease both;
}
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp .9s .2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--terra);
  font-weight: 800;
  font-size: .85rem;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-title { margin-bottom: 1.2rem; color: var(--brown); }
.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 420px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  box-shadow: 0 2px 16px var(--shadow);
  min-width: 190px;
  transition: transform .25s, box-shadow .25s;
}
.hero-card:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 28px var(--shadow);
}
.card-emoji { font-size: 2rem; }
.hero-card strong { display: block; color: var(--brown); font-size: 1rem; }
.hero-card span   { font-size: .85rem; color: var(--text-light); }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  color: var(--terra);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-header h2 { margin-bottom: .8rem; color: var(--brown); }

/* ── SERVICIOS ── */
.servicios {
  padding: 6rem 1.5rem;
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  position: relative;
  box-shadow: 0 2px 20px var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(90,51,32,.12);
}
.service-card--featured {
  background: var(--terra);
  border-color: var(--terra);
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured p  { color: rgba(255,255,255,.88); }
.service-card--featured .service-list li { color: rgba(255,255,255,.88); }
.service-card--featured .service-list li::before { color: var(--cream); }

.service-badge {
  position: absolute;
  top: -14px; right: 1.5rem;
  background: var(--brown);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  padding: .3rem .9rem;
  border-radius: 50px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--brown); margin-bottom: .7rem; }
.service-card p  { margin-bottom: 1.2rem; flex: 1; }

.service-list {
  list-style: none;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.service-list li {
  font-size: .9rem;
  color: var(--text-light);
  padding-left: 1.2rem;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: 800;
}

.service-btn {
  display: inline-block;
  background: var(--cream);
  color: var(--terra);
  padding: .7rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  text-align: center;
  transition: all .25s;
}
.service-btn:hover { background: var(--terra-dark); color: var(--white); }
.service-card--featured .service-btn { background: var(--white); color: var(--terra); }
.service-card--featured .service-btn:hover { background: var(--brown); color: var(--white); }

/* ── NOSOTROS ── */
.nosotros { padding: 6rem 1.5rem; background: var(--bg); }
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.nosotros-text .section-tag { display: block; margin-bottom: .5rem; }
.nosotros-text h2 { color: var(--brown); margin-bottom: 1.2rem; }
.nosotros-text p  { margin-bottom: 1rem; }

.nosotros-valores {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}
.valor { display: flex; align-items: flex-start; gap: 1rem; }
.valor > span { font-size: 1.6rem; flex-shrink: 0; }
.valor strong { display: block; color: var(--brown); font-size: .95rem; }
.valor p      { font-size: .88rem; margin: .2rem 0 0; }

.nosotros-visual { display: flex; justify-content: center; }
.visual-blob {
  width: 340px; height: 340px;
  background: var(--cream);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: blobMorph 8s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%       { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%       { border-radius: 50% 50% 60% 40% / 45% 55% 50% 50%; }
}
.blob-inner { display: flex; flex-direction: column; gap: .9rem; z-index: 1; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .8rem 1.4rem;
  box-shadow: 0 2px 14px var(--shadow);
  text-align: center;
}
.stat-card strong { display: block; font-size: 1.3rem; color: var(--terra); font-weight: 800; }
.stat-card span   { font-size: .82rem; color: var(--text-light); }
.big-paw {
  position: absolute;
  bottom: -10px; right: -10px;
  font-size: 4rem;
  opacity: .15;
  transform: rotate(20deg);
}

/* ── GALERÍA ── */
.galeria { padding: 6rem 1.5rem; background: var(--bg-alt); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 260px 260px;
  gap: 1rem;
  margin-bottom: 2rem;
}
.galeria-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
}

.gi-1 { background: linear-gradient(135deg, #f0dcc4 0%, #dfa97a 100%); }
.gi-2 { background: linear-gradient(135deg, #f5e8d0 0%, #c87941 100%); }
.gi-3 { background: linear-gradient(135deg, #e8d0b0 0%, #b86530 100%); }
.gi-4 { background: linear-gradient(135deg, #faebd5 0%, #e09050 100%); }

.gi-1 { background: url('img/foto1.webp') center/cover; }
.gi-2 { background: url('img/foto2.webp') center/cover; }
.gi-3 { background: url('img/foto3.webp') center/cover; }
.gi-4 { background: url('img/foto4.webp') center/cover; }


.galeria-item::before {
  content: '❤️';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: .2;
}
.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90,51,32,.72) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-overlay span { color: var(--white); font-weight: 700; font-size: .95rem; }

.galeria-cta { text-align: center; }

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(220,39,67,.28);
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220,39,67,.40);
}

/* ── CTA FINAL ── */
.cta-section {
  background: var(--terra);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-paw {
  position: absolute;
  font-size: 14rem;
  opacity: .06;
  top: -2rem; left: -2rem;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.cta-section p {
  color: rgba(255,255,255,.82);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.cta-section .btn-primary {
  background: var(--white);
  color: var(--terra);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.cta-section .btn-primary:hover { background: var(--cream); }

/* ── FOOTER ── */
.footer {
  background: var(--brown);
  color: var(--cream);
  padding: 3rem 1.5rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-brand strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--terra-light);
}
.footer-brand span { font-size: .85rem; opacity: .7; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--terra-light); }

.footer-contact { display: flex; flex-direction: column; gap: .4rem; }
.footer-contact a,
.footer-contact span {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--terra-light); }

.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: var(--terra-light); text-decoration: none; }

/* ── MENÚ FLOTANTE LATERAL ── */
.side-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
}

.side-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  width: 52px;
  overflow: hidden;
  padding: .9rem .85rem;
  text-decoration: none;
  transition: width .3s ease, padding .3s ease;
  white-space: nowrap;
  cursor: pointer;
}
.side-btn:hover {
  width: 160px;
  padding-right: 1.2rem;
}
.side-btn svg { flex-shrink: 0; }

.side-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .88rem;
  color: white;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease .05s, transform .25s ease .05s;
  pointer-events: none;
}
.side-btn:hover .side-label {
  opacity: 1;
  transform: translateX(0);
}

.side-btn--wa   { background: #25d366; }
.side-btn--wa:hover { background: #1fba58; }

.side-btn--call { background: #2c7cff; }
.side-btn--call:hover { background: #1a66e0; }

.side-btn--mail { background: var(--terra); }
.side-btn--mail:hover { background: var(--terra-dark); }

@media (max-width: 640px) {
  .side-float {
    top: auto;
    bottom: 1rem;
    transform: none;
    flex-direction: row;
    border-radius: 50px;
    gap: .4rem;
    background: transparent;
    box-shadow: none;
    right: .8rem;
  }
  .side-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,.20);
  }
  .side-btn:hover { width: 48px; }
  .side-label { display: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 7rem;
  }
  .hero-sub  { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-card { min-width: 150px; }
  .nosotros-inner { grid-template-columns: 1fr; }
  .nosotros-visual { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 34px; }
  .galeria-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .galeria-item { height: 220px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links  { justify-content: center; }
  .footer-contact { align-items: center; }
}

/* ── HERO PHOTO (Opción A: imagen real en el hero) ── */
.hero-photo {
  position: relative;
  flex: 0 0 auto;
  width: 340px;
}
.hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 32px 32px 120px 32px;
  box-shadow: 0 12px 48px rgba(90, 51, 32, .18);
  display: block;
}
.hero-photo-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  box-shadow: 0 4px 20px var(--shadow);
}
.hero-photo-badge .card-emoji { font-size: 1.6rem; }
.hero-photo-badge strong { display: block; color: var(--brown); font-size: .95rem; }
.hero-photo-badge span   { font-size: .8rem; color: var(--text-light); }

@media (max-width: 900px) {
  .hero-photo { width: 100%; max-width: 400px; margin: 0 auto; }
  .hero-photo img { height: 320px; }
}
@media (max-width: 640px) {
  .hero-photo img { height: 260px; border-radius: 24px 24px 80px 24px; }
  .hero-photo-badge { bottom: -12px; left: -8px; }
}
