/* ============================================================
   EMG MEDICINA ESTÉTICA — style.css
   Paleta: Blanco + Salmón | Tipografía: Cormorant + Jost
   ============================================================ */

:root {
  --salmon:      #E8927C;
  --salmon-dark: #C9705A;
  --salmon-light:#F5C4B8;
  --salmon-pale: #FDF0EC;
  --white:       #FFFFFF;
  --off-white:   #FAF8F7;
  --text-dark:   #2C2420;
  --text-mid:    #5A4A44;
  --text-light:  #9A8A85;
  --border:      #EDE0DC;
  --shadow:      rgba(232,146,124,0.18);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'Jost', sans-serif;
  --radius:      4px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.section-title span { color: var(--salmon); }
.section-desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.8;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--salmon);
  color: var(--white);
}
.btn-primary:hover { background: var(--salmon-dark); transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-salmon-outline {
  background: transparent;
  color: var(--salmon);
  border: 1.5px solid var(--salmon);
}
.btn-salmon-outline:hover { background: var(--salmon); color: var(--white); }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--text-dark);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  font-size: .88rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .5s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner a { color: var(--salmon-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  padding: 8px 20px;
  border: none;
  border-radius: 2px;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#cookie-accept { background: var(--salmon); color: #fff; }
#cookie-reject { background: transparent; color: #aaa; border: 1px solid #555; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: .02em;
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  max-width: 200px;
}

@media (max-width: 640px) {
  .nav-logo-img {
    height: 38px;
  }
}

.nav-logo span { color: var(--salmon-light); }
#navbar.scrolled .nav-logo { color: var(--text-dark); }
#navbar.scrolled .nav-logo span { color: var(--salmon); }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--salmon-light);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a::after { background: var(--salmon); }
.nav-cta {
  background: var(--salmon) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--salmon-dark) !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
#navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--salmon); }

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  /*background-image: url('https://images.unsplash.com/photo-1560750588-73207b1ef5b8?w=1800&q=80');*/
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,36,32,0.72) 0%,
    rgba(201,112,90,0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
@media (min-width: 1400px) {
  .hero-content {
    transform: translateX(-280px);
  }
}

.hero-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--salmon-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--salmon-light);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp .8s .6s forwards;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .8s forwards;
  justify-content: center;  /* ← centra el grupo dentro del hero */
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.hero-wa-group {
  display: flex;
  flex-direction: column;
  align-items: center;   /* ← centra el hint y el botón entre sí */
  gap: 8px;
}

.hero-wa-hint {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.02em;
  line-height: 1.4;
  max-width: 320px;
  text-align: center;
  margin: 0;
  font-style: italic;        /* ← lo diferencia visualmente del cuerpo */
  font-family: 'Cormorant Garamond', serif;  /* ← usa la serif del sitio, más elegante */
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
  white-space: nowrap;
}

.btn-wa:hover {
  background-color: #1ebe5a;
}

/* ── HERO STATS BAR ── */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /*divide-x: 1px solid rgba(255,255,255,.15);*/
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--salmon-light);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

@media (max-width: 768px) {
  .hero-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stat:nth-child(3) { border-right: none; }
}
@media (max-width: 480px) {
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(4) { border-right: none; }
}

/* ── NECESIDAD BAR ── */
.necesidad-bar {
  background: #eda6a6;
  border-bottom: 4px solid #f0e8e4;
  padding: 20px 0;
  box-shadow: 0 4px 16px rgba(14, 14, 14, 0.06);
}
.necesidad-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.necesidad-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--text-dark);
  white-space: nowrap;
}
.necesidad-select-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 360px;
}
.necesidad-select {
  width: 100%;
  appearance: none;
  background: #fdf6f4;
  border: 1.5px solid #080808;
  border-radius: 8px;
  padding: 12px 44px 12px 16px;
  font-family: 'Jost', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.necesidad-select:focus,
.necesidad-select:hover {
  border-color: var(--salmon);
}
.necesidad-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color:  #080808;
  pointer-events: none;
}

/* ── SERVICIOS DESTACADOS ── */
#servicios {
  padding: 96px 0;
  background: var(--off-white);
}
.servicios-header {
  text-align: center;
  margin-bottom: 56px;
}
.servicios-header .section-desc { margin: 0 auto; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.servicio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px var(--shadow);
  border-color: var(--salmon-light);
}
.servicio-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.servicio-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.servicio-card:hover .servicio-card-img img { transform: scale(1.06); }
.servicio-card-body {
  padding: 28px 26px 32px;
}
/* ── Lista de items en servicio-card ── */
.servicio-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.servicio-list li {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.servicio-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--salmon);
  font-size: 1.9rem;
  line-height: 1;
}
.servicio-num {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--salmon);
  margin-bottom: 8px;
}
.servicio-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.servicio-card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 22px;
}
.servicio-card a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--salmon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.servicio-card a:hover { gap: 12px; }

/* ── TRATAMIENTOS ── */
#tratamientos {
  padding: 96px 0;
  background: var(--white);
}
.trat-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
  gap: 24px;
  flex-wrap: wrap;
}
.trat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.trat-item {
  position: relative;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
}
.trat-item-inner {
  position: relative;
  height: 320px;
}
.trat-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  filter: brightness(.75);
}
.trat-item:hover img { transform: scale(1.08); filter: brightness(.6); }
.trat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: var(--transition);
}
.trat-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.trat-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.trat-item:hover .trat-list {
  opacity: 1;
  transform: translateY(0);
}
.trat-list li {
  font-size: .82rem;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 6px;
}
.trat-list li::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--salmon-light);
  flex-shrink: 0;
}

/* ── BIO / SOBRE ── */
#sobre {
  padding: 100px 0;
  background: var(--salmon-pale);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sobre-img-wrap {
  position: relative;
}
.sobre-img-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.sobre-img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}
.sobre-deco {
  position: absolute;
  top: -18px; left: -18px;
  width: 120px; height: 120px;
  border: 2px solid var(--salmon-light);
  border-radius: 2px;
  z-index: 0;
}
.sobre-deco2 {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 80px; height: 80px;
  background: var(--salmon);
  border-radius: 2px;
  z-index: 0;
  opacity: .55;
}
.sobre-badge {
  position: absolute;
  bottom: 28px; left: -28px;
  background: var(--white);
  border-radius: 2px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 2;
}
.sobre-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--salmon);
  line-height: 1;
}
.sobre-badge-txt {
  font-size: .75rem;
  color: var(--text-mid);
  margin-top: 2px;
}
.sobre-content .section-tag { margin-bottom: 10px; }
.sobre-content .section-title { margin-bottom: 20px; }
.sobre-content p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}
.sobre-especialidades {
  margin: 28px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.sobre-especialidades li {
  font-size: .88rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sobre-especialidades li svg {
  width: 16px; height: 16px;
  color: var(--salmon);
  flex-shrink: 0;
}

/* ── POR QUÉ ELEGIRNOS ── */
#elegir {
  padding: 96px 0;
   background: var(--salmon);
}
/* Acento del título de elegir: blanco sobre fondo salmón */
.elegir-title-accent {
  color: var(--white) !important;
}
.elegir-header {
  text-align: center;
  margin-bottom: 64px;
}
.elegir-header .section-title { color: var(--white); }
.elegir-header .section-tag { color: rgba(255,255,255,.85) !important; }
.elegir-header .section-desc { color: rgba(255,255,255,.82); margin: 0 auto; }
.elegir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.25);
}
.elegir-item {
  background: var(--salmon);
  padding: 48px 36px;
  border-top: 3px solid transparent;
  transition: border-color var(--transition);
  text-align: center;
}
.elegir-item:hover { border-color: var(--white); }
.elegir-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.elegir-icon svg { width: 26px; height: 26px; color: var(--white); }
.elegir-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.elegir-item p {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
}

/* ── CONTACTO (parallax) ── */
#contacto {
  position: relative;
  background-image: url('../img/parallax_contacto.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.contacto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,36,32,0.78);
}
.contacto-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto-info .section-title { color: var(--white); }
.contacto-info .section-tag { color: var(--salmon-light); }
.contacto-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contacto-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contacto-detail-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(232,146,124,.15);
  border: 1px solid rgba(232,146,124,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contacto-detail-icon svg { width: 18px; height: 18px; color: var(--salmon-light); }
.contacto-detail-body { flex: 1; }
.contacto-detail-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--salmon-light);
  margin-bottom: 4px;
}
.contacto-detail-val {
  font-size: .94rem;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}
.contacto-detail-val a { color: rgba(255,255,255,.82); }
.contacto-detail-val a:hover { color: var(--salmon-light); }

/* Mapa estático */
.contacto-map {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(232,146,124,.25);
}
.contacto-map a { display: block; }
.contacto-map img { width: 100%; height: 160px; object-fit: cover; transition: opacity .3s; }
.contacto-map img:hover { opacity: .85; }

/* Formulario */
.contacto-form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contacto-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.contacto-form-wrap p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group select {
  background: #FAF8F7;
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23E8927C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-group select:focus { border-color: var(--salmon); outline: none; }
.form-group select option {
  background: #FAF8F7;
  color: var(--text-dark);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--salmon); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.recaptcha-wrap { margin: 16px 0; }
.form-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .88rem;
  display: none;
}
.form-msg.success { background: rgba(80,180,120,.15); color: #7edba8; border: 1px solid rgba(80,180,120,.3); display: block; }
.form-msg.error   { background: rgba(220,80,80,.15); color: #f4a4a4; border: 1px solid rgba(220,80,80,.3); display: block; }

/* ── FOOTER ── */
#footer {
  background: var(--salmon-dark);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  margin-bottom: 28px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; display: flex; align-items: center; }
.footer-brand .nav-logo span { color: var(--salmon); }
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 22px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.15); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.72);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}
.footer-bottom a { color: var(--white); }
.footer-privacy a {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}
.footer-privacy a:hover { color: var(--white); }

/* ── WHATSAPP FLOTANTE ── */
#whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .3s ease, box-shadow .3s;
  cursor: pointer;
}
.wa-bubble:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.5); }
.wa-bubble svg { width: 30px; height: 30px; }
.wa-tooltip {
  background: var(--text-dark);
  color: var(--white);
  font-size: .8rem;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
#whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ── ANIMATIONS (scroll-triggered via JS class) ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .trat-grid { grid-template-columns: repeat(2, 1fr); }
  .elegir-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-inner { grid-template-columns: 1fr; gap: 48px; }
  .sobre-img-wrap { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .servicios-grid { grid-template-columns: 1fr; }
  .trat-grid { grid-template-columns: 1fr; }
  .elegir-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sobre-badge { left: 12px; }
  .hero-btns { flex-direction: column; }
  #hero { background-attachment: scroll; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
  .hero-content { flex: 1; }
  .hero-stats { position: relative; width: 100%; }
  #contacto { background-attachment: scroll; }
  .hero-content { padding-bottom: 20px; }
  .hero-wa-hint { font-size: 1.1rem; }
  .necesidad-select-wrap { min-width: 0; width: 100%; }
  .necesidad-inner { flex-direction: column; align-items: center; gap: 12px; }
  /* Agregar dentro de @media (max-width: 768px) */
  .contacto-inner { padding: 60px 0; }
  .contacto-form-wrap { padding: 28px 20px; }
  .contacto-map img { height: 130px; }
  }

/* CORREGIDO */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .servicios-grid { gap: 18px; }
  /* REEMPLAZAR POR */
  #hero {
    height: auto;
    min-height: 100svh;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url('../img/hero_euge_mobile.jpg');
    background-attachment: scroll;
    background-position: center top;
  }
.hero-content { padding-bottom: 32px; flex: 1; }
.hero-stats { position: relative; width: 100%; flex-shrink: 0; }
  .contacto-grid { gap: 28px; }
  .recaptcha-wrap { transform: scale(0.87); transform-origin: left top; }
}

@media (max-width: 991px) {
  .hero-content {
    transform: none;
  }
}

/* ── RESEÑAS ── */
#resenas {
  padding: 96px 0;
  background: var(--off-white);
}
.resenas-header {
  text-align: center;
  margin-bottom: 56px;
}
.resenas-header .section-desc { margin: 0 auto; }
.resenas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.resena-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}
.resena-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
  border-color: var(--salmon-light);
}
.resena-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--salmon-pale);
  border: 3px solid var(--salmon-light);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.resena-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.resena-nombre {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.resena-estrellas {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 14px;
}
.resena-estrellas svg {
  width: 16px; height: 16px;
  fill: #F5A623;
}
.resena-texto {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
}

/* ── EQUIPO (sección nosotros) ── */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.equipo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.equipo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
  border-color: var(--salmon-light);
}
.equipo-card-img {
  height: 220px;
  overflow: hidden;
}
.equipo-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
.equipo-card:hover .equipo-card-img img { transform: scale(1.05); }
.equipo-card-body {
  padding: 22px 20px 28px;
}
.equipo-card-nombre {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.equipo-card-rol {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 10px;
}
.equipo-card-bio {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .resenas-grid { grid-template-columns: repeat(2, 1fr); }
  .equipo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .resenas-grid { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .equipo-grid { grid-template-columns: 1fr; }
}

/* Variante: solo 2 imágenes rectangulares, sin texto */
.equipo-grid--duo {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.equipo-card--img-only {
  border-radius: 12px;
  overflow: hidden;
}

.equipo-card--img-only .equipo-card-img {
  height: 360px;        /* ajustá la altura a gusto */
}

.equipo-card--img-only .equipo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .equipo-grid--quad {
    grid-template-columns: 1fr;
  }

  .equipo-card--img-only .equipo-card-img {
    height: 360px;
  }
}

/* ── LINKEDIN LINK EN EQUIPO ── */
.equipo-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0077B5;
  transition: opacity .2s;
}
.equipo-linkedin:hover { opacity: .75; }
.equipo-linkedin svg { width: 15px; height: 15px; }

/* ── FAQ ── */
.faq-wrap {
  background: var(--white);
  margin-top: 0;
  padding: 80px 0;
  position: relative;
}
.faq-wrap .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-header .section-title { margin-bottom: 0; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--salmon); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition: background .2s, border-color .2s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--text-mid);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s;
}
.faq-icon::before {
  width: 10px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px; height: 10px;
  transform: translate(-50%, -50%);
}
details[open] .faq-icon {
  background: var(--salmon);
  border-color: var(--salmon);
}
details[open] .faq-icon::before,
details[open] .faq-icon::after {
  background: var(--white);
}
details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 4px 22px;
}
.faq-answer p {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.85;
}
.faq-answer a { color: var(--salmon); }
.faq-answer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .faq-wrap { padding: 40px 24px; }
  .faq-question { font-size: 1rem; }
}

/* ══ MODALES SERVICIOS ══ */
.svc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(44, 36, 32, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.svc-modal.open {
  display: flex;
}
.svc-modal-inner {
  background: #fff;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.svc-modal-inner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
}
.svc-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .2s;
}
.svc-modal-close:hover { background: var(--salmon-light); }
.svc-modal-body {
  padding: 28px 32px 36px;
}
.svc-modal-body .servicio-num {
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--salmon);
  margin-bottom: 6px;
}
.svc-modal-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.svc-modal-body p {
  color: #5a4a44;
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: .97rem;
}
.svc-modal-cta { margin-top: 8px; }

@media (max-width: 600px) {
  .svc-modal-inner img { height: 180px; }
  .svc-modal-body { padding: 20px 20px 28px; }
  .svc-modal-body h3 { font-size: 1.5rem; }
}

/* ══ TRAT-ITEM como enlace ══ */
a.trat-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.trat-item:hover .trat-item-inner img {
  transform: scale(1.04);
}

.servicio-ver-mas {
  color: var(--salmon);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
}

/* ══════════════════════════════════════
   SEPARADOR LENGUITA
══════════════════════════════════════ */
.seccion-separador {
  padding: 0;
  margin: 0;
  line-height: 0;
}
.separador-linea {
  height: 8px;
  background: var(--salmon);
  border-radius: 0 0 60px 60px;
  width: 100%;
}

/* ══════════════════════════════════════
   PRODUCTOS
══════════════════════════════════════ */
#productos {
  padding: 96px 0;
  background: var(--off-white, #fdf6f4);
}
.productos-header {
  text-align: center;
  margin-bottom: 16px;
}
.productos-banner {
  margin: 0 auto 8px;
  max-width: 600px;
  font-size: .9rem;
  background: #fff;
  border: 1px solid var(--salmon-light);
  border-left: 3px solid var(--salmon);
  border-radius: 4px;
  padding: 12px 18px;
  color: var(--text-mid);
  text-align: left;
}

/* Filtros */
.productos-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 32px 0 40px;
}
.prod-filtro {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--border, #e8e0dc);
  background: #fff;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
}
.prod-filtro:hover {
  border-color: var(--salmon);
  color: var(--salmon);
}
.prod-filtro.active {
  background: var(--salmon);
  border-color: var(--salmon);
  color: #fff;
}

/* Grid productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--border, #e8e0dc);
  border-radius: var(--radius, 4px);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow, rgba(0,0,0,.08));
  border-color: var(--salmon-light);
}
.prod-card.hidden { display: none; }
.prod-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f9f5f3;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.06); }
.prod-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prod-marca {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--salmon);
  margin: 0;
}
.prod-nombre {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  flex: 1;
}
.prod-btn {
  display: inline-block;
  margin-top: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--salmon);
  text-decoration: none;
  transition: color .2s;
}
.prod-btn:hover { color: var(--salmon-dark); }

/* CTA tienda */
.productos-cta {
  text-align: center;
  margin-top: 48px;
}

/* Responsive productos */
@media (max-width: 1100px) {
  .productos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .productos-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-body { padding: 10px 10px 12px; }
}