/*
Theme Name: Ponte Mon@ - Estetica Avanzada
Theme URI: https://pontemona.com
Author: Ponte Mon@
Author URI: https://pontemona.com
Description: Tema personalizado para Ponte Mon@ - Centros de estetica avanzada en Sestao y Bilbao. Tratamientos faciales, corporales y depilacion laser.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ponte-mona
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ═══════ CSS VARIABLES ═══════ */
:root {
  --blue: #4ca8c5;
  --blue-light: rgba(76, 168, 197, 0.15);
  --blue-soft: rgba(76, 168, 197, 0.35);
  --blue-glow: rgba(76, 168, 197, 0.08);
  --teal: #387b88;
  --teal-light: rgba(56, 123, 136, 0.12);
  --teal-soft: rgba(56, 123, 136, 0.25);
  --pink: #c75a97;
  --pink-light: rgba(199, 90, 151, 0.12);
  --pink-soft: rgba(199, 90, 151, 0.30);
  --pink-glow: rgba(199, 90, 151, 0.08);
  --cream: #faf8f6;
  --white: #ffffff;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --text-muted: #9a9a9a;
  --border: rgba(56, 123, 136, 0.1);
  --shadow-sm: 0 2px 20px rgba(56, 123, 136, 0.06);
  --shadow-md: 0 8px 40px rgba(56, 123, 136, 0.08);
  --shadow-lg: 0 20px 60px rgba(56, 123, 136, 0.1);
  --radius: 20px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

/* ═══════ NAVBAR ═══════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 248, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}
nav.scrolled { background: rgba(250, 248, 246, 0.95); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 40px;
}
.nav-logo a { display: inline-block; }
.nav-logo img { height: 50px; cursor: pointer; transition: transform 0.3s; }
.nav-logo img:hover { transform: scale(1.05); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-light);
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 400; transition: color 0.3s; cursor: pointer;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.btn::after { display: none; }

/* Mobile menu */
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal); transition: all 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250,248,246,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 30px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-inner { padding: 12px 20px; }
}

/* ═══════ HERO ═══════ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, rgba(76,168,197,0.06) 40%, rgba(199,90,151,0.06) 70%, var(--cream) 100%);
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
  animation: float 12s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--pink-light) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}
.hero-content {
  text-align: center; position: relative; z-index: 2;
  padding: 120px 40px 80px;
}
.hero-logo { width: 280px; margin-bottom: 20px; animation: fadeUp 1s ease 0.2s both; }
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--text-light); font-weight: 300; font-style: italic;
  letter-spacing: 2px; margin-bottom: 50px;
  animation: fadeUp 1s ease 0.4s both;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; animation: fadeUp 1s ease 0.6s both; }

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

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; border-radius: 50px;
  font-family: 'Nunito Sans', sans-serif; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white; box-shadow: 0 4px 20px rgba(56,123,136,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56,123,136,0.35);
  color: white;
}
.btn-outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal-soft);
}
.btn-outline:hover {
  background: var(--teal-light); transform: translateY(-2px);
  color: var(--teal);
}
.btn-pink {
  background: linear-gradient(135deg, var(--pink), #d878ad);
  color: white; box-shadow: 0 4px 20px rgba(199,90,151,0.25);
}
.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(199,90,151,0.35);
  color: white;
}
.btn-sm { padding: 12px 28px; font-size: 11px; }

/* ═══════ SECTIONS ═══════ */
section { padding: 100px 40px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pink); font-weight: 600; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px); color: var(--teal);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 16px; color: var(--text-light); max-width: 600px;
  line-height: 1.8;
}
.section-subtitle.center { margin: 0 auto; text-align: center; }
.text-center { text-align: center; }

/* ═══════ QUIENES SOMOS ═══════ */
.about-section {
  background: var(--white);
  position: relative;
}
.about-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-soft), var(--pink-soft), transparent);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-top: 50px;
}
.about-image-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  position: relative;
}
.about-img {
  aspect-ratio: 3/4; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-light), var(--pink-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; overflow: hidden;
  transition: transform 0.5s;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img:hover { transform: scale(1.02); }
.about-img:nth-child(2) { margin-top: 30px; }
.about-text p { margin-bottom: 20px; color: var(--text-light); }
.about-text .highlight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--teal); font-style: italic;
  border-left: 2px solid var(--pink-soft);
  padding-left: 20px; margin: 30px 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 60px 20px; }
}

/* ═══════ EQUIPO ═══════ */
.team-section {
  background: linear-gradient(180deg, var(--cream) 0%, rgba(76,168,197,0.04) 100%);
}
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px; margin-top: 50px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s;
  border: 1px solid transparent;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.team-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--pink-light));
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--teal);
  font-family: 'Cormorant Garamond', serif;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 {
  font-size: 20px; color: var(--teal); margin-bottom: 4px;
}
.team-card .role {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--pink); margin-bottom: 12px;
}
.team-card p {
  font-size: 14px; color: var(--text-light);
}

/* ═══════ RESENAS ═══════ */
.reviews-section { background: var(--white); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 50px;
}
.review-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card::before {
  content: '\201C'; position: absolute; top: 16px; right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px; color: var(--pink-soft); line-height: 1;
}
.review-stars { color: #f0b840; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p {
  font-size: 15px; color: var(--text-light); font-style: italic;
  margin-bottom: 16px; line-height: 1.7;
}
.review-author {
  font-size: 13px; font-weight: 600; color: var(--teal);
  letter-spacing: 0.5px;
}

/* ═══════ CENTER SELECTOR ═══════ */
.centers-section {
  background: linear-gradient(135deg, rgba(56,123,136,0.03), rgba(199,90,151,0.03));
}
.centers-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  margin-top: 50px;
}
.center-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: all 0.5s; cursor: pointer;
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  display: block;
}
.center-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.center-card-img {
  height: 260px;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--teal-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-muted); letter-spacing: 1px;
  text-transform: uppercase; position: relative; overflow: hidden;
}
.center-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.center-card-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(transparent, var(--white));
}
.center-card-body { padding: 30px; text-align: center; }
.center-card-body h3 {
  font-size: 28px; color: var(--teal); margin-bottom: 8px;
}
.center-card-body p {
  color: var(--text-light); font-size: 14px; margin-bottom: 20px;
}
@media (max-width: 768px) {
  .centers-grid { grid-template-columns: 1fr; }
}

/* ═══════ SUBPAGE HEADER ═══════ */
.subpage-hero {
  min-height: 50vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 100px;
}
.subpage-hero.sestao {
  background: linear-gradient(160deg, var(--cream), rgba(76,168,197,0.08) 50%, var(--cream));
}
.subpage-hero.bilbao {
  background: linear-gradient(160deg, var(--cream), rgba(199,90,151,0.08) 50%, var(--cream));
}
.subpage-hero-content { position: relative; z-index: 2; }
.breadcrumb {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.subpage-hero h1 {
  font-size: clamp(36px, 6vw, 56px); color: var(--teal);
}
.subpage-hero .subtitle {
  font-size: 18px; color: var(--text-light); margin-top: 12px;
  font-style: italic; font-family: 'Cormorant Garamond', serif;
}

/* ═══════ TREATMENT SECTIONS ═══════ */
.treatment-divider {
  text-align: center; padding: 20px 0;
}
.treatment-divider .line {
  width: 60px; height: 1.5px; margin: 0 auto;
  background: linear-gradient(90deg, var(--blue-soft), var(--pink-soft));
}

.treatment-block {
  padding: 80px 40px; position: relative;
}
.treatment-block:nth-child(even) { background: var(--white); }
.treatment-block:nth-child(odd) { background: var(--cream); }

.treatment-header {
  text-align: center; margin-bottom: 50px;
}
.treatment-header h2 {
  font-size: clamp(28px, 4vw, 42px); color: var(--teal);
}
.treatment-header p {
  color: var(--text-light); max-width: 600px; margin: 12px auto 0;
  font-size: 16px;
}

/* Carrusel */
.carousel-placeholder {
  display: flex; flex-wrap: nowrap; gap: 14px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.carousel-placeholder::-webkit-scrollbar { display: none; }
.carousel-item {
  width: 260px; min-width: 260px; height: 200px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; flex-shrink: 0; flex-grow: 0;
  scroll-snap-align: start;
  transition: transform 0.3s;
  overflow: hidden;
}
.carousel-item:hover { transform: scale(1.02); }
.carousel-item img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 768px) {
  .carousel-item { width: 220px; min-width: 220px; height: 160px; }
  .carousel-placeholder { gap: 10px; padding: 10px 0; }
}

/* Treatment detail cards */
.treatment-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  align-items: center; margin: 40px auto; max-width: 1100px;
}
.treatment-detail.reverse { direction: rtl; }
.treatment-detail.reverse > * { direction: ltr; }
.treatment-detail-content {}
.treatment-detail-content h3 {
  font-size: 30px; color: var(--teal); margin-bottom: 16px;
}
.treatment-detail-content p {
  color: var(--text-light); margin-bottom: 20px;
}
.treatment-detail-visual {
  aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden;
  position: relative;
}
.treatment-detail-visual .placeholder-media {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--teal-light) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--text-muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
}
.placeholder-media .play-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.8); display: flex;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.placeholder-media .play-icon::after {
  content: ''; width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--teal);
  margin-left: 3px;
}

@media (max-width: 768px) {
  .treatment-detail, .treatment-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .treatment-block { padding: 50px 20px; }
}

/* Treatment items row */
.treatment-items {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin: 30px auto; max-width: 1100px;
}
.treatment-item {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all 0.4s; border: 1px solid var(--border);
}
.treatment-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.treatment-item-img {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-light), var(--pink-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  overflow: hidden;
}
.treatment-item-img img { width: 100%; height: 100%; object-fit: cover; }
.treatment-item-body {
  padding: 20px;
}
.treatment-item-body h4 {
  font-size: 20px; color: var(--teal); margin-bottom: 4px;
}
.treatment-item-body p {
  font-size: 13px; color: var(--text-light);
}

/* CTA section */
.cta-section {
  text-align: center; padding: 60px 40px;
  background: linear-gradient(135deg, rgba(56,123,136,0.04), rgba(199,90,151,0.04));
  border-radius: var(--radius);
  margin: 0 40px;
}
.cta-section h3 {
  font-size: 32px; color: var(--teal); margin-bottom: 12px;
}
.cta-section p {
  color: var(--text-light); margin-bottom: 24px;
}

/* Location */
.location-block {
  padding: 60px 40px; text-align: center;
}
.location-block h3 {
  font-size: 28px; color: var(--teal); margin-bottom: 20px;
}
.map-placeholder {
  max-width: 900px; margin: 0 auto;
  height: 300px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-light), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

/* ═══════ FOOTER ═══════ */
footer {
  background: linear-gradient(160deg, #2c5e66, #1d4148);
  color: rgba(255,255,255,0.7); padding: 60px 40px 30px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 60px; margin-bottom: 16px; filter: brightness(1.8); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: white; margin-bottom: 16px; font-weight: 400;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 14px; margin-bottom: 8px; transition: color 0.3s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1100px; margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ═══════ ANIMATIONS ═══════ */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Decorative elements */
.deco-circle {
  position: absolute; border-radius: 50%; pointer-events: none;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: all 0.3s; cursor: pointer; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.4); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  animation: bounce 2s ease infinite;
}
.scroll-indicator span {
  display: block; width: 20px; height: 20px;
  border-right: 2px solid var(--teal-soft);
  border-bottom: 2px solid var(--teal-soft);
  transform: rotate(45deg); margin: -6px 0;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ═══════ WORDPRESS SPECIFIC ═══════ */
/* Prevent admin bar from overlapping fixed nav */
body.admin-bar nav {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar nav {
    top: 46px;
  }
}

/* WordPress alignment classes */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 8px; }
