/* ============================================
   ALKIMA — Web Pública · main.css
   Paleta: #2a649b (azul), blanco, slate
   Tipografía: Cormorant Garamond + Jost
   ============================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #2a649b;
  --blue-dark:   #1e4d79;
  --blue-mid:    #4a84bb;
  --blue-light:  #e8f1f9;
  --blue-xlight: #f2f7fc;
  --slate:       #f6f8fb;
  --white:       #ffffff;
  --text:        #1a2332;
  --text-mid:    #3d4f61;
  --text-muted:  #5e7285;
  --border:      #cddaea;
  --border-light:#e3edf5;
  --gold:        #c9a96e;
  --green:       #2e7d52;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 2px 8px rgba(42,100,155,0.08);
  --shadow-md:    0 6px 24px rgba(42,100,155,0.12);
  --transition:   0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

/* ── UTILIDADES ── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}

/* ── NAVBAR ── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-sm); }

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

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 60px; width: auto; }
.nav-logo .logo-blanco { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 9px 22px;
  border-radius: 7px;
  font-weight: 500 !important;
  font-size: 13px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  overflow: hidden;
}

.hero-left {
  padding: 5rem 3.5rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.hero-left h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero-left h1 em {
  color: var(--blue);
  font-style: italic;
}

.hero-sub {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-right {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-dark) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-geo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-geo-1 { width: 320px; height: 320px; top: -80px; right: -80px; }
.hero-geo-2 { width: 240px; height: 240px; bottom: -60px; left: -40px; }

.hero-img-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.hero-img-placeholder small {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ── BOTONES ── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}
.btn-whatsapp:hover { background: #1fba59; color: white; transform: translateY(-1px); }

.btn-whatsapp-sm { padding: 11px 20px; font-size: 13.5px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-submit {
  flex: 1;
  background: var(--blue);
  color: white;
  border: none;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── STATS BAR ── */
.stats-bar { background: var(--blue); padding: 1.75rem 2rem; }
.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 1rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: white;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── SECCIONES BASE ── */
.section { padding: 5.5rem 2rem; }
.section-alt { background: var(--slate); }

.section-inner { max-width: 1140px; margin: 0 auto; }

.section-header {
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
}

/* ── SERVICIOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 46px;
  height: 46px;
  background: var(--blue-light);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 4px;
}
.service-tag-estetica { color: #6b4fa8; background: #f0ecfb; }
.service-tag-laser    { color: #2e7d52; background: #e6f4ed; }

/* ── EQUIPO ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); }

.team-card-placeholder { opacity: 0.55; }

.team-photo {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-1 { background: linear-gradient(135deg, var(--blue-light) 0%, #c0d8ee 100%); }
.team-photo-2 { background: linear-gradient(135deg, #e8f1f9 0%, #b8d0e8 100%); }
.team-photo-placeholder { background: var(--slate); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
}
.team-avatar-placeholder { background: var(--border); color: var(--text-muted); font-family: var(--font-body); font-size: 1.5rem; }

.team-info { padding: 1.25rem 1.5rem; }
.team-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 2px; }
.team-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.team-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── GALERÍA ANTES/DESPUÉS ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--white);
}

.gallery-split {
  height: 180px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.gallery-split::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: white;
  z-index: 2;
}

.gallery-before {
  background: linear-gradient(160deg, #b8ccd8, #8aaabb);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}
.gallery-before-2 { background: linear-gradient(160deg, #c8c0d0, #a098b0); }
.gallery-before-3 { background: linear-gradient(160deg, #c0c8d0, #a0b0b8); }

.gallery-after {
  background: linear-gradient(160deg, var(--blue-light), #a8c8e0);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}
.gallery-after-2 { background: linear-gradient(160deg, #e0d8f0, #b0a8d8); }
.gallery-after-3 { background: linear-gradient(160deg, #d8e8f0, #a0c0d8); }

.gallery-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.32);
  padding: 2px 7px;
  border-radius: 3px;
}
.gallery-label-after { background: rgba(42,100,155,0.65); }

.gallery-footer {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-title { font-size: 13.5px; font-weight: 500; color: var(--text); }
.gallery-cat   { font-size: 11.5px; color: var(--text-muted); }
.gallery-note  { margin-top: 1.25rem; font-size: 12px; color: var(--text-muted); font-style: italic; }

/* ── TESTIMONIOS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.testi-stars {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}

.testi-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 500; color: var(--text); }

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.blog-img { height: 145px; }
.blog-img-1 { background: linear-gradient(135deg, var(--blue-light), #b0d0e8); }
.blog-img-2 { background: linear-gradient(135deg, #e8f4ec, #b8dcc4); }
.blog-img-3 { background: linear-gradient(135deg, #f5ede8, #e0c8b8); }

.blog-body { padding: 1.1rem 1.25rem; }
.blog-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.4rem;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.blog-date { font-size: 11.5px; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 740px; }

.faq-item { border-bottom: 1px solid var(--border-light); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--blue); }
.faq-q[aria-expanded="true"] { color: var(--blue); }

.faq-icon {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform var(--transition);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  padding: 0 0 1.2rem;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-a a { color: var(--blue); font-weight: 400; }

/* ── CONTACTO ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.75rem; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}
.contact-value { font-size: 14px; color: var(--text); line-height: 1.5; }
.contact-value a { color: var(--text); }
.contact-value a:hover { color: var(--blue); }

.map-wrap { margin-bottom: 1.5rem; }
.map-note { font-size: 11.5px; color: var(--text-muted); margin-top: 6px; }

.instagram-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--blue-xlight);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.instagram-qr { width: 72px; height: auto; border-radius: 6px; }
.instagram-handle { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.instagram-link { font-size: 13px; color: var(--blue); }

/* ── FORMULARIO ── */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

.form-group { margin-bottom: 0.9rem; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42,100,155,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { 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='%235e7285' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.form-feedback {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  margin-bottom: 0.75rem;
}
.form-feedback.success { background: #e6f4ed; color: var(--green); border: 1px solid #b8dcc4; }
.form-feedback.error   { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6c6; }

/* ── FOOTER ── */
footer {
  background: #12202f;
  color: rgba(255,255,255,0.65);
  padding: 4rem 2rem 1.75rem;
}

.footer-inner { max-width: 1140px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-img { height: 44px; width: auto; margin-bottom: 1rem; opacity: 0.9; }
.footer-tagline { font-size: 13px; line-height: 1.7; max-width: 200px; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1.25rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--blue); color: white; }

.footer-col-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
}

.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links-list a:hover { color: white; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.footer-contact svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }
.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-sistema-link {
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.footer-sistema-link:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-left { padding: 4rem 2.5rem; }
  .services-grid,
  .team-grid,
  .gallery-grid,
  .testimonials-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 3.5rem 1.5rem; }
  .hero-left h1 { font-size: 2.2rem; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }

  .services-grid,
  .team-grid,
  .gallery-grid,
  .testimonials-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  #navbar { position: relative; }
}
