/* =============================================
   VARIABLES
   ============================================= */
:root {
  --gold:        #9B7355;
  --gold-light:  #D4B896;
  --gold-dim:    rgba(155,115,85,.15);
  --dark:        #000000;
  --dark-deep:   #000000;
  --text:        #2D2D2D;
  --text-mid:    #5a5a5a;
  --text-soft:   #8a8a8a;
  --bg:          #FAF8F6;
  --white:       #FFFFFF;

  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;

  --sh-sm: 0 2px 8px rgba(0,0,0,.07);
  --sh-md: 0 8px 28px rgba(0,0,0,.11);

  --r:    12px;
  --r-lg: 20px;
  --tr:   .28s ease;
  --nav:  68px;
  --mw:   1100px;
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* =============================================
   UTILIDADES
   ============================================= */
.container {
  width: 100%;
  max-width: var(--mw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-h);
  line-height: 1.2;
  color: var(--dark);
}

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .65rem;
}

.section-intro { text-align: center; margin-bottom: 2.5rem; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.section-sub {
  font-size: .97rem; color: var(--text-mid);
  max-width: 480px; margin-inline: auto;
  line-height: 1.65; margin-top: .5rem;
}

/* =============================================
   BOTONES
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  border: none;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #7a5a40;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155,115,85,.35);
}
.btn-full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--dark);
  font-size: .9rem;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  border: 1.5px solid var(--gold-light);
  transition: background var(--tr), border-color var(--tr), transform var(--tr);
}
.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
}
.btn-wa:hover {
  background: #1ebe5d;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: background var(--tr), transform var(--tr);
  margin-bottom: 1.75rem;
}
.btn-wa-large:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--gold);
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  padding: .55rem 1.3rem;
  border-radius: 50px;
  transition: background var(--tr);
}
.btn-nav:hover { background: #7a5a40; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav);
  background: var(--dark);
  border-bottom: 1px solid rgba(212,184,150,.12);
  transition: box-shadow var(--tr);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.navbar-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  transform: translateY(-4px);
}
.nav-logo {
  height: 53px;
  width: auto;
  display: block;
  transition: opacity var(--tr);
  opacity: .92;
}
.logo-link:hover .nav-logo { opacity: 1; }

.nav-menu {
  display: flex; align-items: center; gap: 1.75rem;
  margin-left: auto;
  margin-right: 1.5rem;
}
.nav-menu a:not(.btn-nav) {
  font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.65);
  transition: color var(--tr);
  position: relative;
}
.nav-menu a:not(.btn-nav)::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--gold-light);
  transition: width var(--tr);
}
.nav-menu a:not(.btn-nav):hover { color: var(--gold-light); }
.nav-menu a:not(.btn-nav):hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .25rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-top: var(--nav);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.hero-glow {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at right center, rgba(155,115,85,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.hero-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: .35rem .9rem; border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1; margin-bottom: 0;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 1.75rem;
  max-width: 420px;
}
.hero-location {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: var(--text-soft);
  margin-top: 1.1rem;
}
.hero-location svg { color: var(--gold); flex-shrink: 0; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.hero-logo {
  width: 280px;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 32px rgba(155,115,85,.25));
}
.hero-logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(155,115,85,.12) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

/* =============================================
   QUOTE
   ============================================= */
.quote-section {
  background: var(--dark-deep);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.quote { text-align: center; max-width: 580px; margin-inline: auto; }
.quote-mark {
  display: block;
  font-family: var(--font-h); font-size: 4.5rem; line-height: .5;
  color: var(--gold); margin-bottom: 1rem;
}
.quote p {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #fff; line-height: 1.3; margin-bottom: 1.25rem;
}
.quote p em { font-style: italic; color: var(--gold-light); }
.quote cite {
  font-size: .8rem; font-style: normal;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* =============================================
   SERVICIOS
   ============================================= */
.services {
  background: var(--white);
  padding-bottom: 5rem;
  max-width: var(--mw);
  margin-inline: auto;
  overflow: hidden;
}
.services .section-intro {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.service-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-panel-image {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 340px;
}

.service-panel-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-panel-image--dental {
  background: linear-gradient(145deg, #0d1f1e 0%, #1a3332 50%, #0f2120 100%);
}
.service-panel-image--estetica {
  background: linear-gradient(145deg, #1a1209 0%, #2d1e0a 50%, #1f160a 100%);
}

.service-panel-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding: 2.5rem;
  gap: .6rem;
}
.service-panel-overlay--right { align-items: flex-end; text-align: right; }
.service-panel-overlay svg { color: var(--gold-light); }
.service-panel-overlay h3 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff; line-height: 1.2;
}
.panel-gold-line {
  display: block; width: 40px; height: 2px;
  background: var(--gold); border-radius: 2px;
  margin-top: .25rem;
}

.service-panel-content {
  background: var(--bg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; flex-direction: column;
  justify-content: center; gap: 2rem;
}
.service-panel-content--dark {
  background: var(--dark-deep);
}

.service-list {
  display: flex; flex-direction: column; gap: 0;
}
.service-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(155,115,85,.18);
}
.service-list li:last-child { border-bottom: none; }
.service-list--light li { border-bottom-color: rgba(212,184,150,.15); }

.svc-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--gold-dim);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.svc-icon--light {
  background: rgba(212,184,150,.15);
  color: var(--gold-light);
}

.service-list li h4 {
  font-family: var(--font-h); font-size: 1.05rem;
  color: var(--dark); margin-bottom: .2rem;
}
.service-list--light li h4 { color: #fff; }

.service-list li p {
  font-size: .92rem; color: var(--text-mid); line-height: 1.5;
}
.service-list--light li p { color: rgba(255,255,255,.55); }

/* =============================================
   SOBRE IDIMO
   ============================================= */
.about {
  padding: 5rem 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.about-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.about-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo {
  width: 260px;
  max-width: 90%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 40px rgba(155,115,85,.25));
}
.about-logo-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,184,150,.35);
  z-index: 0;
}

.about-content { display: flex; flex-direction: column; gap: .9rem; }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.about-content > p {
  font-size: .95rem; color: var(--text-mid); line-height: 1.75;
}
.about-bullets {
  display: flex; flex-direction: column; gap: .6rem;
  margin: .25rem 0 .5rem;
}
.about-bullets li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; color: var(--text-mid);
}
.about-bullets li svg { color: var(--gold); flex-shrink: 0; }

/* =============================================
   SOCIAL CTA
   ============================================= */
.social-cta {
  background: var(--dark-deep);
  padding: 4.5rem 0;
}
.social-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}
.social-cta-label {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.social-cta-title {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.3;
}
.social-cta-title em {
  color: var(--gold-light);
  font-style: normal;
}
.social-cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .5rem;
}
.btn-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  min-width: 230px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.btn-social span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
}
.btn-social strong {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.btn-social small {
  font-size: .75rem;
  color: rgba(255,255,255,.75);
}
.btn-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 18px rgba(220,39,67,.35);
}
.btn-ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(220,39,67,.45);
}
.btn-wap {
  background: #25D366;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
}
.btn-wap:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

/* =============================================
   TESTIMONIOS
   ============================================= */
.testimonials {
  padding: 5rem 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .9rem;
  border: 1px solid transparent;
  transition: box-shadow var(--tr), transform var(--tr);
}
.testimonial-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.testimonial-card--gold {
  background: var(--dark-deep);
  border-color: rgba(212,184,150,.2);
}
.testimonial-stars {
  font-size: .95rem; color: var(--gold); letter-spacing: .1em;
}
.testimonial-card--gold .testimonial-stars { color: var(--gold-light); }
.testimonial-card p {
  font-size: .9rem; line-height: 1.7;
  color: var(--text-mid); font-style: italic; flex: 1;
}
.testimonial-card--gold p { color: rgba(255,255,255,.75); }
.testimonial-footer {
  display: flex; flex-direction: column; gap: .1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(212,184,150,.25);
}
.testimonial-card--gold .testimonial-footer { border-top-color: rgba(255,255,255,.1); }
.testimonial-footer strong {
  font-size: .88rem; font-weight: 600; color: var(--dark);
}
.testimonial-card--gold .testimonial-footer strong { color: #fff; }
.testimonial-footer span { font-size: .76rem; color: var(--text-soft); }
.testimonial-card--gold .testimonial-footer span { color: rgba(255,255,255,.4); }

/* =============================================
   CONTACTO
   ============================================= */
.contact {
  padding: 5rem 0;
  background: var(--bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: .8rem; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; }
.contact-info > p { font-size: .95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: .4rem; }
.contact-meta { display: flex; flex-direction: column; gap: .75rem; }
.contact-meta-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: var(--text-mid);
}
.contact-meta-item svg { color: var(--gold); flex-shrink: 0; }
.contact-meta-item a { color: var(--gold); font-weight: 500; }
.contact-meta-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  box-shadow: var(--sh-md);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label {
  font-size: .8rem; font-weight: 600;
  color: var(--dark); letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-b); font-size: .9rem; color: var(--text);
  background: var(--bg);
  border: 1.5px solid rgba(212,184,150,.5);
  border-radius: var(--r);
  padding: .72rem 1rem;
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B7355' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(155,115,85,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: .78rem; color: var(--text-soft); text-align: center;
}
.form-note a { color: var(--gold); font-weight: 500; }
.form-note a:hover { text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark-deep);
  padding: 2.5rem 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: .65rem; }
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  opacity: .85;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-h); font-size: .9rem; color: #fff;
}
.footer-brand span { font-size: .7rem; color: rgba(255,255,255,.38); letter-spacing: .03em; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color var(--tr); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-copy {
  font-size: .72rem; color: rgba(255,255,255,.25);
  text-align: right; justify-self: end;
}

/* =============================================
   BOTONES FLOTANTES
   ============================================= */
.instagram-float {
  position: fixed;
  bottom: calc(1.5rem + 54px + .75rem);
  right: 1.5rem;
  z-index: 90;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(220,39,67,.4);
  transition: transform var(--tr), box-shadow var(--tr);
}
.instagram-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(220,39,67,.5);
}

.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 54px; height: 54px;
  background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--tr), box-shadow var(--tr);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}

/* =============================================
   ANIMACIONES
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-animate="fade-in"] { transform: scale(.97); }
[data-animate].visible { opacity: 1; transform: none; }

/* =============================================
   NAVBAR ACTIONS (teléfono + agendar)
   ============================================= */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  transition: color var(--tr);
}
.nav-phone:hover { color: var(--gold-light); }
.nav-phone svg { color: var(--gold); flex-shrink: 0; }

.btn-agendar {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
}
.btn-agendar:hover {
  background: var(--gold);
  color: #fff;
}

/* =============================================
   HERO CARRUSEL (pantalla completa)
   ============================================= */
.hero-carousel {
  position: relative;
  margin-top: var(--nav);
  height: calc((100vh - var(--nav)) * 0.8);
  min-height: 400px;
  overflow: hidden;
  background: var(--dark);
}

.hc-track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.hc-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

/* Backdrop difuminado para slides con imagen cuadrada */
.hc-slide:not(.hc-slide--content)::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(35px) brightness(0.32) saturate(0.7);
  z-index: 0;
}

.hc-slide:not(.hc-slide--content) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}

/* Slide 0: contenido hero — fondo carbón */
.hc-slide--content {
  background-color: #131210;
  background-image:
    radial-gradient(ellipse at 32% 55%, rgba(155,115,85,.11) 0%, transparent 50%),
    linear-gradient(45deg,  rgba(255,255,255,.018) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.018) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, rgba(255,255,255,.018) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.018) 75%);
  background-size: 100% 100%, 4px 4px, 4px 4px, 4px 4px, 4px 4px;
  background-position: 0 0, 0 0, 0 2px, 2px -2px, -2px 0px;
  display: flex;
  align-items: center;
}

.hc-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
  max-width: var(--mw);
  margin-inline: auto;
}

.hc-text {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.hc-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Anillo exterior decorativo */
.hc-logo-wrap::before {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(212,184,150,.13);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Glow radial detrás del logo */
.hc-logo-wrap::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,115,85,.12) 0%, transparent 68%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hc-logo {
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 0 28px rgba(155,115,85,.45))
    drop-shadow(0 0 64px rgba(155,115,85,.18));
}

/* Overrides para el slide de contenido (fondo oscuro) */
.hc-slide--content .hero-title { color: #fff; }
.hc-slide--content .hero-sub   { color: rgba(255,255,255,.7); }
.hc-slide--content .hero-location { color: rgba(255,255,255,.45); }
.hc-slide--content .hero-location svg { color: var(--gold); }

/* Overlay de slides con imagen */
.hc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 40%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  z-index: 2;
}

.hc-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(10,9,7,.65);
  color: var(--gold-light);
  border: 1.5px solid var(--gold-light);
  font-family: var(--font-body);
  font-size: clamp(.64rem, 1.1vw, .75rem);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .68rem 1.65rem;
  border-radius: 50px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0,0,0,.45), 0 0 0 0 rgba(212,184,150,.5);
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr), box-shadow var(--tr);
  animation: cta-pulse 2.8s ease-in-out infinite;
}
.hc-slide-cta::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D4B896'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hc-slide-cta:hover {
  background: var(--gold-light);
  color: #0a0907;
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  animation: none;
}
.hc-slide-cta:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a0907'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0,0,0,.45), 0 0 0 0 rgba(212,184,150,.55); }
  55%       { box-shadow: 0 4px 18px rgba(0,0,0,.45), 0 0 0 10px rgba(212,184,150,0); }
}

/* Botones de navegación */
.hc-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(212,184,150,.3);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.hc-btn:hover {
  background: rgba(155,115,85,.65);
  transform: translateY(-50%) scale(1.08);
}
.hc-btn--prev { left: 1.5rem; }
.hc-btn--next { right: 1.5rem; }

/* Dots */
.hc-dots {
  position: absolute;
  bottom: 1.75rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .5rem;
  z-index: 10;
}
.hc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  padding: 0;
}
.hc-dot.active {
  background: var(--gold-light);
  transform: scale(1.35);
}

/* Barra de progreso */
.hc-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 10;
  width: 0;
}

/* =============================================
   GALERÍA / CARRUSEL
   ============================================= */
.gallery {
  padding: 5rem 0;
  background: var(--white);
}

.carousel {
  position: relative;
  max-width: var(--mw);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  background: var(--dark);
}

.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  color: #fff;
  font-family: var(--font-h);
  font-size: 1.15rem;
  padding: 2rem 2rem 1.5rem;
  letter-spacing: .02em;
}

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(212,184,150,.35);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), transform var(--tr);
  z-index: 10;
  cursor: pointer;
}
.carousel-btn:hover {
  background: rgba(155,115,85,.75);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn--prev { left: 1.25rem; }
.carousel-btn--next { right: 1.25rem; }

.carousel-dots {
  position: absolute;
  bottom: 1.1rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .45rem;
  z-index: 10;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  padding: 0;
}
.carousel-dot.active {
  background: var(--gold-light);
  transform: scale(1.3);
}

/* =============================================
   RESPONSIVE — TABLET ≤ 860px
   ============================================= */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    gap: 2rem;
  }
  .hero-visual { order: -1; }
  .hero-sub { margin-inline: auto; }
  .hero-location { justify-content: center; }
  .hero-logo { width: 200px; }

  .hc-content-inner { grid-template-columns: 1fr; text-align: center; }
  .hc-logo-wrap { order: -1; }
  .hc-logo { max-width: 260px; }
  .hc-text { align-items: center; }
  .hero-location { justify-content: center; }
  .nav-phone { display: none; }

  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-logo { width: 200px; }
  .about-logo-ring { width: 280px; height: 280px; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .footer-brand { justify-content: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
  .footer-copy { text-align: center; justify-self: auto; }
}

/* =============================================
   RESPONSIVE — MOBILE ≤ 600px
   ============================================= */
@media (max-width: 600px) {
  :root { --nav: 60px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav); left: 0; right: 0;
    background: var(--dark);
    flex-direction: column; align-items: stretch;
    padding: 1.25rem; gap: 0;
    border-bottom: 1px solid rgba(212,184,150,.15);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    opacity: 0; transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--tr), transform var(--tr);
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a:not(.btn-nav) {
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .95rem;
    color: rgba(255,255,255,.7);
  }
  .nav-menu .btn-nav {
    margin-top: 1rem; text-align: center;
    padding: .8rem; border-radius: var(--r);
  }

  /* Navbar actions mobile — aparece debajo del nav-menu */
  .navbar-actions {
    position: fixed;
    top: var(--nav); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--dark);
    padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(212,184,150,.15);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    opacity: 0; transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--tr), transform var(--tr);
    z-index: 98;
    margin-left: 0;
    gap: .65rem;
  }
  .navbar-actions.open {
    opacity: 1; transform: translateY(0);
    pointer-events: auto;
    top: calc(var(--nav) + 3 * 3.05rem + 2rem);
  }
  .nav-phone { display: flex; justify-content: center; }
  .btn-agendar { width: 100%; text-align: center; padding: .8rem; border-radius: var(--r); }

  /* Hero carousel mobile */
  .hero-carousel { min-height: 340px; }
  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: .65rem; }

  .service-panel { grid-template-columns: 1fr; }
  .service-panel--flip .service-panel-image { order: -1; }
  .service-panel-image { aspect-ratio: 4 / 3; max-height: unset; min-height: 0; align-self: auto; width: 100%; }
  .service-panel-content { padding: 2rem 1.25rem; gap: 1.5rem; }

  .btn-wa-large { width: 100%; justify-content: center; }
  .btn-wa { width: 100%; justify-content: center; }

  .about-logo { width: 160px; }
  .about-logo-ring { width: 220px; height: 220px; }

  .btn-social { min-width: 0; width: 100%; max-width: 320px; }
  .social-cta-btns { flex-direction: column; align-items: center; }

  .contact-form { padding: 1.5rem; }

  .footer-nav { gap: 1rem; }
  .footer-inner { gap: 1rem; }

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

  .carousel-slide img { height: 280px; }
  .carousel-caption { font-size: .9rem; padding: 1.5rem 1rem 1rem; }
  .carousel-btn { width: 38px; height: 38px; }

  .navbar-actions { gap: .5rem; }
  .btn-agendar { font-size: .78rem; padding: .45rem .9rem; }
  .hc-btn { width: 38px; height: 38px; }
  .hc-btn--prev { left: .75rem; }
  .hc-btn--next { right: .75rem; }
}
