/* =============================================
   DRA. PAOLA RODRÍGUEZ RAMOS — NEFRÓLOGA
   Stylesheet — Blue & White Theme
   ============================================= */

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

/* --- CSS Variables --- */
:root {
  --primary:      #1565C0;
  --primary-dark: #0D47A1;
  --accent:       #42A5F5;
  --accent-light: #90CAF9;
  --bg:           #F5F9FF;
  --bg-white:     #FFFFFF;
  --text:         #1A1A2E;
  --text-light:   #555577;
  --border:       #DDEAFF;
  --shadow:       0 4px 24px rgba(21, 101, 192, 0.10);
  --radius:       12px;
  --nav-h:        72px;
  --transition:   0.3s ease;
}

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

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
}

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

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

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

/* --- Utility --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 80px 0;
}

.section--bg {
  background: var(--bg);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.section-subtitle {
  max-width: 600px;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-outline-blue {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-blue:hover {
  background: var(--primary);
  color: #fff;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.navbar__brand-specialty {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--primary);
  background: var(--bg);
}

.navbar__links a.btn-cita {
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  margin-left: 0.5rem;
}
.navbar__links a.btn-cita:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 2px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow);
  z-index: 999;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
}
.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile a:hover { color: var(--primary); background: var(--bg); }
.navbar__mobile a.btn-cita {
  background: var(--primary);
  color: #fff;
  text-align: center;
  margin-top: 0.5rem;
  border-bottom: none;
  border-radius: 50px;
}

/* =============================================
   PAGE HERO BANNER (inner pages)
   ============================================= */
.page-hero {
  margin-top: var(--nav-h);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin: 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* =============================================
   HOME — HERO SECTION
   ============================================= */
.hero {
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1976D2 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { color: #fff; }

.hero__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__label::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--accent-light);
}

.hero__title {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  border-left: 3px solid var(--accent-light);
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__quote cite {
  display: block;
  font-style: normal;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 0.5rem;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Photo card */
.hero__photo-wrap {
  display: flex;
  justify-content: center;
}

.hero__photo-card {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  width: 320px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.7);
}

.hero__photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.hero__photo-placeholder {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo-placeholder svg {
  width: 48px; height: 48px;
  fill: rgba(255,255,255,0.5);
}

.hero__photo-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin: 0;
}

/* =============================================
   HOME — INTRO SECTION
   ============================================= */
.intro {
  padding: 80px 0;
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro__photo {
  border-radius: var(--radius);
  background: var(--bg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  flex-direction: column;
  gap: 1rem;
}

.intro__photo svg {
  width: 56px; height: 56px;
  fill: var(--accent-light);
}

.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =============================================
   SERVICES TEASER (Home)
   ============================================= */
.services-teaser {
  padding: 80px 0;
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
  transition: width var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
}

.service-card:hover::before {
  width: 6px;
  background: var(--primary);
}

.service-card__icon {
  width: 52px; height: 52px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.service-card p { font-size: 0.92rem; margin: 0; }

/* =============================================
   BLOG PREVIEW (Home) & BLOG PAGE
   ============================================= */
.blog-preview { padding: 80px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

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

.blog-card__image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__image svg {
  width: 52px; height: 52px;
  stroke: rgba(255,255,255,0.7);
  fill: none;
  stroke-width: 1.5;
}

.blog-card__body { padding: 1.5rem; }

.blog-card__date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.blog-card p { font-size: 0.9rem; margin-bottom: 1rem; }

.blog-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 0.5rem; }

/* Full article (blog page) */
.article-full {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: box-shadow var(--transition);
}
.article-full:hover { box-shadow: var(--shadow); }

.article-full__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.article-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.article-date {
  font-size: 0.8rem;
  color: var(--text-light);
}
.article-full h2 { color: var(--primary-dark); margin-bottom: 1rem; }
.article-full p { font-size: 0.96rem; }
.article-full ul {
  list-style: none;
  margin: 1rem 0;
}
.article-full ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.96rem;
  color: var(--text-light);
}
.article-full ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.disclaimer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 1rem;
}
.disclaimer strong { color: var(--primary); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 2rem; font-size: 1.05rem; }

/* =============================================
   TRAYECTORIA PAGE
   ============================================= */
.timeline {
  position: relative;
  padding: 0 0 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
  padding-right: 2.5rem;
}
.timeline-item:nth-child(odd) .timeline-dot { grid-column: 2; }
.timeline-item:nth-child(odd) .timeline-empty { grid-column: 3; }

.timeline-item:nth-child(even) .timeline-empty { grid-column: 1; }
.timeline-item:nth-child(even) .timeline-dot { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
  padding-left: 2.5rem;
}

.timeline-dot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
}

.timeline-dot__inner {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 1;
}

.timeline-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
}

.timeline-content__year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.timeline-content h3 {
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.timeline-content__institution {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.timeline-content p { font-size: 0.9rem; margin: 0; }

/* Philosophy card */
.philosophy-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: #fff;
  margin-top: 3rem;
}
.philosophy-card h3 { color: #fff; margin-bottom: 1rem; }
.philosophy-card p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }

/* =============================================
   SERVICES PAGE — Full Grid
   ============================================= */
.services-full { padding: 80px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-full-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
}

.service-full-card__icon {
  width: 60px; height: 60px;
  background: var(--bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-full-card__icon svg {
  width: 30px; height: 30px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-full-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-full-card p { font-size: 0.93rem; flex: 1; }

.service-full-card__badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* =============================================
   APPOINTMENT PAGE
   ============================================= */
.cita-section { padding: 80px 0; }

.cita-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-card h2 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.form-card > p { margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

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

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

.form-group .error-msg {
  display: none;
  color: #e53935;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #e53935; }
.form-group.error .error-msg { display: block; }

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

/* Info card */
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.info-card h3 { color: var(--primary-dark); margin-bottom: 1.5rem; }

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-item__icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item__icon svg {
  width: 20px; height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-item__text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.info-item__text p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text);
}

.info-item__text a {
  color: var(--primary);
  font-weight: 700;
}
.info-item__text a:hover { color: var(--primary-dark); }

.map-placeholder {
  margin-top: 1.5rem;
  height: 180px;
  background: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   VIDEO ENTREVISTA
   ============================================= */
.entrevista-section { background: #fff; }

.video-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.yt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.yt-grid .video-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

.yt-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  cursor: pointer;
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.yt-thumb:hover img {
  transform: scale(1.03);
}

.yt-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  transition: background 0.2s ease;
}

.yt-thumb:hover .yt-thumb__play {
  background: rgba(0,0,0,0.30);
}

.yt-thumb__play svg {
  width: 48px;
  height: 34px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

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

/* Grid de redes sociales */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.media-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.fb-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.fb-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  border: none;
}

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


.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer__brand-specialty {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 3px;
  min-width: 16px;
}

.footer__contact-item a { color: rgba(255,255,255,0.75); }
.footer__contact-item a:hover { color: #fff; }

.footer__col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.footer__col ul li {
  margin-bottom: 0.6rem;
}

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

.footer__col ul li a:hover { color: #fff; }

.footer__hours p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.75);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: rgba(255,255,255,0.7);
}

.footer__social a:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.footer__social svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.footer__bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   STATS ROW (Home intro)
   ============================================= */
.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item { }

.stat-item__value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-item__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__label { justify-content: center; }
  .hero__buttons { justify-content: center; }
  .hero__photo-wrap { display: none; }

  .intro__inner { grid-template-columns: 1fr; }
  .intro__photo { height: 260px; }

  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2; text-align: left; padding-left: 1.5rem; padding-right: 0;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { grid-column: 1; }
  .timeline-item .timeline-empty { display: none; }
  .timeline-dot { justify-content: flex-start; padding-left: 10px; }

  .cita-inner { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .section { padding: 55px 0; }
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 60px 0; }

  .stats-row { gap: 1.5rem; }
}
