/* =========================================================
   style2.css — "Sano Blue" skin for index2.php
   Scope:  [data-skin="alt"] overrides existing styles
           .s2-*  new component classes
   ========================================================= */

/* Design tokens */
[data-skin="alt"] {
  --blue:          #1a5dc8;
  --blue-dark:     #1347a8;
  --blue-xdark:    #0e3483;
  --blue-light:    #f0f6ff;
  --radius:        12px;
  --radius-lg:     20px;
  --btn-radius:    8px;
  --font-heading:  'Montserrat', system-ui, sans-serif;
}

/* Global heading font under this skin */
[data-skin="alt"] h1,
[data-skin="alt"] h2,
[data-skin="alt"] h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
}

/* Blue accent span (partial-color headings) */
.s2-accent { color: #1a5dc8; }

/* Small label above headings */
.s2-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1a5dc8;
  margin-bottom: .6rem;
}

/* Section header */
.s2-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.s2-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: .75rem;
  line-height: 1.2;
}
.s2-subtitle {
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.s2-section-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Button overrides ────────────────────────────── */
[data-skin="alt"] .btn {
  border-radius: 8px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
}
[data-skin="alt"] .btn--primary {
  background: #1a5dc8;
  border-color: #1a5dc8;
}
[data-skin="alt"] .btn--primary:hover {
  background: #1347a8;
  border-color: #1347a8;
}
[data-skin="alt"] .btn--outline {
  border-color: #1a5dc8;
  color: #1a5dc8;
}
[data-skin="alt"] .btn--outline:hover {
  background: #1a5dc8;
  color: #fff;
}

/* ── Info bar override ───────────────────────────── */
[data-skin="alt"] .info-bar {
  background: #1a5dc8;
}
[data-skin="alt"] .info-bar a { color: rgba(255,255,255,.9); }

/* ── Hero override ───────────────────────────────── */
[data-skin="alt"] .hero {
  min-height: 88vh;
}
[data-skin="alt"] .hero-slide__overlay {
  background: linear-gradient(
    to right,
    rgba(26, 93, 200, 0.93) 0%,
    rgba(26, 93, 200, 0.85) 38%,
    rgba(26, 93, 200, 0.40) 58%,
    rgba(0, 0, 0, 0)        75%
  ) !important;
}
[data-skin="alt"] .hero__content {
  max-width: 520px;
  text-align: left;
  align-items: flex-start;
  padding-left: 0;
}
[data-skin="alt"] .hero__title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: none;
}
[data-skin="alt"] .hero__subtitle {
  text-align: left;
  max-width: 440px;
}
[data-skin="alt"] .hero__actions { justify-content: flex-start; }
[data-skin="alt"] .hero__badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 6px;
}

@media (max-width: 700px) {
  [data-skin="alt"] .hero-slide__overlay {
    background: rgba(26, 93, 200, 0.82) !important;
  }
  [data-skin="alt"] .hero__content {
    max-width: 100%;
  }
}

/* ── Booking bar ─────────────────────────────────── */
.s2-booking-bar {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  position: relative;
  z-index: 10;
}
.s2-booking-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.s2-booking-bar__col {
  padding: 2rem 2.5rem;
}
.s2-booking-bar__col + .s2-booking-bar__col {
  border-left: 1px solid #e2e8f0;
}
.s2-booking-bar__title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: .75rem;
}
.s2-booking-bar__addr {
  color: #4a5568;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.s2-booking-bar__addr i { color: #1a5dc8; margin-right: .4rem; }
.s2-booking-bar__btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.s2-booking-bar__hours-rows { display: flex; flex-direction: column; gap: .4rem; }
.s2-booking-bar__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: #4a5568;
  padding: .3rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.s2-booking-bar__hours-row span:first-child { font-weight: 600; color: #1e293b; }
.s2-booking-bar__hours-row span:last-child { color: #1a5dc8; font-weight: 500; }

@media (max-width: 768px) {
  .s2-booking-bar__grid { grid-template-columns: 1fr; }
  .s2-booking-bar__col + .s2-booking-bar__col { border-left: none; border-top: 1px solid #e2e8f0; }
  .s2-booking-bar__col { padding: 1.5rem; }
}

/* ── Services ────────────────────────────────────── */
.s2-section-services {
  background: #fff;
}
.s2-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.s2-service-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow .25s, transform .25s;
}
.s2-service-card:hover {
  box-shadow: 0 8px 28px rgba(26,93,200,.10);
  transform: translateY(-2px);
}
.s2-service-card__icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #dce8ff;
  color: #1a5dc8;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.s2-service-card__body {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.s2-service-card__title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.s2-service-card__desc {
  font-size: .87rem;
  color: #4a5568;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.s2-learn-more {
  font-size: .82rem;
  font-weight: 600;
  color: #1a5dc8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .5rem;
}
.s2-learn-more i { font-size: .7rem; transition: transform .2s; }
.s2-learn-more:hover i { transform: translateX(3px); }

/* ── Mission / Quote ─────────────────────────────── */
.s2-section-quote {
  background: #f0f6ff;
  padding: 5rem 0;
}
.s2-section-quote__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.s2-quote-mark {
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: .7;
  color: #1a5dc8;
  opacity: .5;
  display: block;
  margin-bottom: .5rem;
}
.s2-quote-text {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: #1e293b;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.s2-quote-author { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1rem; }
.s2-quote-author__name { font-weight: 700; color: #1e293b; }
.s2-quote-author__title { font-size: .88rem; color: #4a5568; }
.s2-btn-outline-blue {
  border: 2px solid #1a5dc8;
  color: #1a5dc8;
  background: transparent;
  border-radius: 8px;
}
.s2-btn-outline-blue:hover { background: #1a5dc8; color: #fff; }

.s2-mission-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 320px;
}
.s2-mission-img-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #dce8ff;
  z-index: 0;
}
.s2-mission-img {
  position: relative;
  z-index: 1;
  max-height: 380px;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
}
.s2-mission-img-placeholder {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: #1a5dc8;
  opacity: .35;
}

@media (max-width: 900px) {
  .s2-section-quote__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .s2-section-quote__right { order: -1; }
  .s2-mission-img-wrap { min-height: 220px; }
  .s2-mission-img-wrap::before { width: 220px; height: 220px; }
}

/* ── Stats ───────────────────────────────────────── */
.s2-section-stats {
  background: #fff;
  padding: 5rem 0;
}
.s2-section-stats__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.s2-section-stats__header .s2-title { text-align: left; }
.s2-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.s2-stat-num {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1a5dc8;
  line-height: 1;
  margin-bottom: .4rem;
}
.s2-stat-title {
  display: block;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: .3rem;
  font-size: .95rem;
}
.s2-stat-text {
  font-size: .85rem;
  color: #4a5568;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .s2-section-stats__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .s2-section-stats__header .s2-title { text-align: center; }
  .s2-section-stats__header .s2-label { text-align: center; }
}
@media (max-width: 480px) {
  .s2-stats-grid { grid-template-columns: 1fr; }
}

/* ── CTA Band ────────────────────────────────────── */
.s2-cta-band {
  background: #1a5dc8;
  padding: 2.5rem 0;
}
.s2-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.s2-cta-band__content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.s2-cta-band__icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
}
.s2-cta-band__title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .2rem;
}
.s2-cta-band__sub {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin: 0;
}
.s2-cta-band__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: #1a5dc8;
  font-weight: 700;
  font-family: 'Montserrat', system-ui, sans-serif;
  padding: .85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.s2-cta-band__btn:hover { background: #f0f6ff; }
@media (max-width: 768px) {
  .s2-cta-band__inner { flex-direction: column; text-align: center; }
  .s2-cta-band__content { flex-direction: column; gap: .75rem; }
}

/* ── Insurance circles ───────────────────────────── */
.s2-section-insurance { background: #fff; }
.s2-insurance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.s2-insurance-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  transition: box-shadow .2s, border-color .2s;
}
.s2-insurance-circle:hover {
  box-shadow: 0 4px 16px rgba(26,93,200,.12);
  border-color: #dce8ff;
}
.s2-insurance-circle img {
  max-width: 72px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(0.5) opacity(.7);
  transition: filter .2s;
  display: block;
}
.s2-insurance-circle:hover img { filter: none; }
.s2-insurance-circle--text,
.s2-insurance-circle span {
  font-size: .7rem;
  font-weight: 600;
  color: #4a5568;
  text-align: center;
  line-height: 1.3;
}

/* ── Gallery ─────────────────────────────────────── */
.s2-section-gallery { background: #f9f9f9; }
.s2-gallery-masonry { columns: 3; column-gap: 1rem; }
.s2-gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.s2-gallery-item img { width: 100%; display: block; transition: transform .4s; }
.s2-gallery-item:hover img { transform: scale(1.04); }
.s2-gallery-item .gallery-item__overlay { opacity: 0; transition: opacity .3s; }
.s2-gallery-item:hover .gallery-item__overlay { opacity: 1; }
@media (max-width: 700px) { .s2-gallery-masonry { columns: 2; } }
@media (max-width: 420px) { .s2-gallery-masonry { columns: 1; } }

/* ── Hours ───────────────────────────────────────── */
.s2-section-hours { background: #f0f6ff; }
.s2-hours-rows {
  max-width: 520px;
  margin: 0 auto;
}
.s2-hours-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 0;
  border-bottom: 1px solid #dce8ff;
}
.s2-hours-row:last-child { border-bottom: none; }
.s2-hours-days { font-weight: 600; color: #1e293b; min-width: 140px; }
.s2-hours-dots {
  flex: 1;
  border-bottom: 2px dotted #b8d0f5;
}
.s2-hours-time { color: #1a5dc8; font-weight: 600; }
.s2-multi-hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }

/* ── Location ────────────────────────────────────── */
.s2-section-location { background: #fff; }

/* ── Team ────────────────────────────────────────── */
.s2-section-team { background: #f9f9f9; }
.s2-team-grid {
  display: grid;
  grid-template-columns: repeat(var(--team-cols, 3), 1fr);
  gap: 1.5rem;
}
.s2-team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.s2-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26,93,200,.12);
}
.s2-team-card__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #dce8ff;
}
.s2-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.s2-team-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #93b4e8;
}
.s2-team-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.s2-team-card__name {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 .25rem;
}
.s2-team-card__role {
  font-size: .78rem;
  color: #1a5dc8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .75rem;
}
.s2-team-card__bio {
  font-size: .85rem;
  color: #4a5568;
  line-height: 1.55;
  flex: 1;
  margin: 0 0 .75rem;
}
@media (max-width: 900px) {
  .s2-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .s2-team-grid { grid-template-columns: 1fr; }
}

/* ── Reviews ─────────────────────────────────────── */
.s2-section-reviews { background: #f0f6ff; }
[data-skin="alt"] .reviews-section { background: #f0f6ff; }
[data-skin="alt"] .reviews-overall { color: #1e293b; }
[data-skin="alt"] .reviews-score { color: #1e293b; }
[data-skin="alt"] .stars-inline i { color: #f59e0b; }
[data-skin="alt"] .review-card {
  background: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-radius: 12px;
}
[data-skin="alt"] .review-card__text { color: #2c3440; }
[data-skin="alt"] .review-card__text::before { color: #1a5dc8; }
[data-skin="alt"] .review-avatar { background: #1a5dc8; }

/* ── Contact strip ───────────────────────────────── */
.s2-contact-strip { background: #1a5dc8; padding: 4rem 0; }
.s2-contact-strip__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.s2-contact-strip__text .s2-label { color: rgba(255,255,255,.7); }
.s2-contact-strip__text .s2-title { color: #fff; margin-bottom: 0; }
.s2-contact-strip__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.s2-contact-btn {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; padding: .9rem 1.5rem; text-decoration: none; color: #fff;
  transition: background .2s;
}
.s2-contact-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.s2-contact-btn i { font-size: 1.4rem; flex-shrink: 0; }
.s2-contact-btn span { font-size: .75rem; opacity: .8; display: block; }
.s2-contact-btn strong { display: block; font-size: .95rem; }
.s2-contact-btn--wa {
  background: rgba(37,211,102,.18);
  border-color: rgba(37,211,102,.35);
}
.s2-contact-btn--wa:hover { background: rgba(37,211,102,.28); }
@media (max-width: 768px) {
  .s2-contact-strip__inner { flex-direction: column; text-align: center; }
  .s2-contact-strip__actions { justify-content: center; }
}

/* ── Social section ──────────────────────────────── */
.s2-section-social { background: #fff; }

/* ── Suppress wave dividers ──────────────────────── */
[data-skin="alt"] .section-divider { display: none; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .s2-services-grid { grid-template-columns: 1fr; }
  .s2-section-quote { padding: 3rem 0; }
  .s2-section-stats { padding: 3rem 0; }
  .s2-hours-days { min-width: 110px; }
}

/* =========================================================
   FIXES — inherited dark-skin rules leaking into light sections
   -----------------------------------------------------------
   Every section in index2.php carries BOTH a legacy class from
   style.css and an .s2-* class. The .s2-* background (light) wins
   the cascade, but the legacy *descendant* text rules still apply,
   leaving white text on light backgrounds. These re-colour them.
   ========================================================= */

/* ── Reviews: legacy .reviews-section assumed a dark blue bg ── */
[data-skin="alt"] .s2-section-reviews .reviews-overall > div span {
  color: #52627a;                     /* was rgba(255,255,255,.65) on #f0f6ff */
}
[data-skin="alt"] .s2-section-reviews .review-card__meta strong {
  color: #1e293b;                     /* was var(--white) on a white card */
}
[data-skin="alt"] .s2-section-reviews .review-card__meta span {
  color: #64748b;                     /* was rgba(255,255,255,.55) */
}
[data-skin="alt"] .s2-section-reviews .review-card__source-icon {
  color: #94a3b8;                     /* was rgba(255,255,255,.4) */
}

/* ── Social cards: legacy .contacto assumed a gray-900 bg ────
   .contact-card was white text on a translucent-white fill, so on
   .s2-section-social (#fff) the whole grid rendered invisible.     */
[data-skin="alt"] .s2-section-social .contact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}
[data-skin="alt"] .s2-section-social .contact-card:hover {
  background: #f0f6ff;
  border-color: #1a5dc8;
  transform: translateY(-3px);
}
[data-skin="alt"] .s2-section-social .contact-card span {
  color: #64748b;
  opacity: 1;                         /* legacy rule dropped it to .65 */
}

/* ── Vertical rhythm ──────────────────────────────────────────
   .section is 80px desktop / 56px mobile via --section-py, but the
   s2 sections hardcoded 5rem/4rem/2.5rem, so they neither matched
   their neighbours nor shrank on mobile. Tie them all to the token. */
[data-skin="alt"] .s2-section-quote,
[data-skin="alt"] .s2-section-stats {
  padding: var(--section-py) 0;
}
[data-skin="alt"] .s2-cta-band,
[data-skin="alt"] .s2-contact-strip {
  padding: calc(var(--section-py) * .55) 0;   /* deliberately tighter accent bands, but proportional */
}
