/* ============================================
   BÉRYL ESTHÉTIQUE — Estilos globales
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --cream:       #FAF7F4;
  --cream-dark:  #F0EAE2;
  --brown:       #8B6E4E;
  --brown-dark:  #5C3D2E;
  --brown-deep:  #2C1810;
  --gold:        #C9A96E;
  --gold-light:  #E8D5B0;
  --gold-pale:   #F5EDD8;
  --white:       #FFFFFF;
  --text:        #3D2B1F;
  --text-muted:  #7A6255;

  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;

  --shadow-sm: 0 2px 12px rgba(44, 24, 16, 0.08);
  --shadow-md: 0 8px 32px rgba(44, 24, 16, 0.12);
  --shadow-lg: 0 20px 60px rgba(44, 24, 16, 0.16);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ---- Tipografía ---- */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  line-height: 1.2;
  color: var(--brown-deep);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  max-width: 580px;
  color: var(--text-muted);
}

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 110, 78, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--brown);
}
.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #B8935A);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.5);
}

/* ---- Animaciones de entrada ---- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }
.fade-up:nth-child(7) { transition-delay: 0.6s; }
.fade-up:nth-child(8) { transition-delay: 0.7s; }

/* ============================================
   NAVEGACIÓN
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}

.nav.scrolled {
  padding: 14px 0;
  background: rgba(250, 247, 244, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--brown); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--brown); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-deep);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--ff-heading);
  font-size: 2rem;
  color: var(--brown-deep);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,247,244,0.85) 40%, rgba(250,247,244,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  color: var(--brown);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge span { color: var(--gold); font-size: 1em; }

.hero h1 {
  margin-bottom: 24px;
  font-style: italic;
}

.hero h1 em {
  font-style: normal;
  color: var(--brown);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-divider {
  width: 180px;
  margin-top: 60px;
  opacity: 0.4;
}

.hero-float {
  position: absolute;
  right: 5%;
  bottom: 10%;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-float-text strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--brown-deep);
}

.hero-float-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  background: var(--white);
}

.servicios-header {
  text-align: center;
  margin-bottom: 64px;
}

.servicios-header .section-subtitle {
  margin: 0 auto;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.servicio-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.servicio-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brown));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.servicio-card:hover::before {
  transform: scaleX(1);
}

.servicio-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
  background: var(--gold-light);
  transform: scale(1.05);
}

.servicio-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--brown-deep);
}

.servicio-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.servicio-card .servicio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
  transition: gap var(--transition);
}

.servicio-card:hover .servicio-link {
  gap: 10px;
}

/* ============================================
   FILOSOFÍA
   ============================================ */
.filosofia {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.filosofia::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.filosofia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.filosofia-text .section-subtitle {
  margin-bottom: 48px;
}

.pilares {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pilar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pilar:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.pilar-num {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}

.pilar-body strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 4px;
  font-family: var(--ff-body);
}

.pilar-body p {
  font-size: 0.88rem;
  margin: 0;
}

.filosofia-image {
  position: relative;
}

.filosofia-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.filosofia-image-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 140px;
}

.filosofia-image-badge strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  color: var(--brown);
  line-height: 1;
}

.filosofia-image-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   SOBRE NOSOTRAS
   ============================================ */
.sobre {
  background: var(--brown-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sobre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/fondo2.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.sobre-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.sobre .section-label { color: var(--gold-light); }

.sobre h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.sobre p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.sobre-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 56px 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  display: block;
}

/* ============================================
   GALERÍA
   ============================================ */
.galeria {
  background: var(--white);
}

.galeria-header {
  text-align: center;
  margin-bottom: 56px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

.galeria-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.galeria-item:first-child {
  grid-row: span 2;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,24,16,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.galeria-item:hover img { transform: scale(1.06); }
.galeria-item:hover::after { opacity: 1; }

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios {
  background: var(--cream);
}

.testimonios-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.testimonio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}

.testimonio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonio-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.testimonio-stars span {
  color: var(--gold);
  font-size: 1rem;
}

.testimonio-card blockquote {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown-deep);
  line-height: 1.6;
  margin-bottom: 24px;
  border: none;
  padding: 0;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonio-avatar {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--brown);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonio-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brown-deep);
}

.testimonio-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACTO CTA (BANNER)
   ============================================ */
.contacto-cta {
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--cream-dark) 100%);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.contacto-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contacto-cta-text h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.contacto-cta-text p {
  font-size: 1rem;
  max-width: 480px;
}

.contacto-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.contacto-cta-actions .contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   MAPA / UBICACIÓN
   ============================================ */
.ubicacion {
  background: var(--white);
}

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ubicacion-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.95rem;
  margin: 0;
}

.info-item a {
  color: var(--brown);
  transition: color var(--transition);
}
.info-item a:hover { color: var(--gold); }

.ubicacion-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
}

.ubicacion-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--brown-deep);
  color: var(--white);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

/* ============================================
   PAGE HERO (páginas internas)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-pale) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--brown); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* ============================================
   SERVICIOS PAGE — detalle
   ============================================ */
.servicio-detalle {
  background: var(--white);
}

.servicio-detalle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.servicio-detalle-grid:last-child { border-bottom: none; }

.servicio-detalle-grid.reverse { direction: rtl; }
.servicio-detalle-grid.reverse > * { direction: ltr; }

.servicio-detalle-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.servicio-detalle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-detalle-grid:hover .servicio-detalle-img img {
  transform: scale(1.03);
}

.servicio-detalle-text .section-label { margin-bottom: 10px; }

.servicio-detalle-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}

.servicio-detalle-text p { margin-bottom: 20px; }

.servicio-detalle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  background: var(--gold-pale);
  color: var(--brown);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--gold-light);
}

/* ============================================
   CONTACTO PAGE
   ============================================ */
.contacto-form-section {
  background: var(--cream);
}

.contacto-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-card > p {
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
  background: var(--white);
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .filosofia-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding-top: 80px; }
  .hero-float { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .filosofia-grid { grid-template-columns: 1fr; }
  .filosofia-image { order: -1; }
  .filosofia-image img { height: 340px; }
  .filosofia-image-badge { bottom: -16px; left: 16px; }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .galeria-item:first-child { grid-row: span 1; }

  .sobre-stats { gap: 36px; }

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

  .contacto-cta-inner { flex-direction: column; text-align: center; }
  .contacto-cta-actions { align-items: center; }

  .ubicacion-grid { grid-template-columns: 1fr; }
  .ubicacion-map { height: 280px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > :first-child { grid-column: span 1; }

  .servicio-detalle-grid { grid-template-columns: 1fr; }
  .servicio-detalle-grid.reverse { direction: ltr; }

  .contacto-form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .page-hero { padding: 140px 0 64px; }
}

@media (max-width: 480px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .galeria-item { height: 240px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
