/* ============================================================
   KOCHI LOCATION PAGE (PHP template)
   Loaded exclusively by that page — keeps global style.css clean.
   ============================================================ */

/* --- Technology (commented block / future) --- */
.kochi-tech-hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  background: var(--grad-accent);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  color: #fff;
  max-width: calc(100% - 2.5rem);
}

.kochi-tech-hero-badge-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.kochi-tech-hero-badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  margin: 0;
}

/* Future uncommented technology block (scoped to this page) */
body.page-location-kochi .tech-section h3.tech-feature-title {
  margin-top: 0;
}

body.page-location-kochi .tech-section .tech-feature:last-child {
  margin-bottom: 0;
}

.kochi-tech-image-wrap-legacy {
  min-height: min(480px, 70vh);
  background: linear-gradient(145deg, #1a3a7a, #0c5c55);
}

.kochi-tech-hero-image {
  width: 100%;
  height: 100%;
  min-height: min(480px, 60vh);
  object-fit: cover;
  display: block;
}

@media (max-width: 575.98px) {
  .kochi-tech-image-wrap-legacy,
  .kochi-tech-hero-image {
    min-height: 260px;
  }
}

.kochi-tech-label-accent {
  color: var(--color-accent-light);
}

.kochi-tech-label-accent::before {
  background: var(--color-accent-light);
}

/* --- Sunrise image --- */
.kochi-sunrise-hospital-img {
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(10, 31, 68, 0.14);
  min-height: 240px;
}

.kochi-sunrise-hospital-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* --- Section 1: split hero --- */
.kochi-location-hero .page-hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .kochi-location-hero .page-hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.kochi-location-hero .page-hero-lead {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 36rem;
  font-size: clamp(0.94rem, 1.1vw, 0.98rem);
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .kochi-location-hero .page-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.kochi-location-hero .hero-trust-strip {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.kochi-location-hero .hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: clamp(0.82rem, 0.4vw + 0.8rem, 0.86rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.kochi-location-hero .hero-trust-item:last-child {
  margin-bottom: 0;
}

.kochi-location-hero .hero-trust-item i {
  color: var(--color-accent-light, #6ee7d8);
  margin-top: 0.12rem;
  flex-shrink: 0;
}

.kochi-hero-img {
  border-radius: var(--radius-xl, 28px);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.kochi-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.kochi-hero-content-wrap {
  z-index: 1;
}

.kochi-hero-cta,
.kochi-cta-justify {
  justify-content: center;
}

.kochi-location-hero .btn-secondary-custom {
  background: rgba(255, 255, 255, 0.16);
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.55);
}

.kochi-location-hero .btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
}

@media (max-width: 575.98px) {
  .kochi-location-hero .d-flex.flex-column.flex-sm-row.gap-3 {
    width: 100%;
  }

  .kochi-location-hero .d-flex.flex-column.flex-sm-row.gap-3 > a {
    width: 100%;
  }
}

/* --- Prose & section utilities --- */
.kochi-prose {
  color: var(--color-text-muted);
  line-height: 1.85;
}

.kochi-prose--spaced {
  margin-top: 1rem;
}

.kochi-prose-subtle {
  color: var(--color-text-muted);
  opacity: 0.9;
}

.kochi-label-center {
  justify-content: center;
}

.kochi-narrow-720 {
  max-width: 720px;
}

.kochi-narrow-640 {
  max-width: 640px;
}

.kochi-narrow-700 {
  max-width: 700px;
}

/* Sunrise hospital list */
.kochi-sun-list-icon {
  font-size: 1.25rem;
}

.kochi-sun-list-text {
  line-height: 1.6;
}

/* FAQ side column */
.kochi-faq-side-lead {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Map */
.kochi-map-subtitle {
  max-width: 100%;
}

.kochi-map-embed-wrap {
  background: #e8eef5;
}

.kochi-map-iframe {
  min-height: clamp(220px, 48vw, 380px);
  border: 0;
  vertical-align: middle;
}

.kochi-map-foot {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.kochi-map-foot-label {
  color: var(--color-text-dark);
}

.kochi-map-gmaps {
  color: var(--color-accent);
  font-weight: 600;
}

.kochi-map-gmaps .kochi-map-gmaps-icon {
  font-size: 0.85em;
}

.kochi-map-section-rule {
  border-color: rgba(10, 37, 88, 0.12) !important;
}

/* Contact */
.kochi-form-hint {
  font-size: 0.85rem;
}

.kochi-btn-appointment-submit {
  justify-content: center;
}

.kochi-contact-hospital-name {
  font-family: var(--font-heading);
  font-weight: 700;
}

.kochi-contact-value-note {
  font-size: 0.9rem;
  line-height: 1.55;
}

.kochi-contact-value-note--tight {
  line-height: 1.5;
}

.kochi-sidebar-cta {
  justify-content: center;
}

/* Footer CTA in page */
.kochi-footer-legacy {
  color: rgba(255, 255, 255, 0.5);
}

/* Sticky bar (this page) — backgrounds only; layout stays global */
.kochi-sticky-bg-call {
  background: var(--color-primary);
  color: #fff;
}

.kochi-sticky-bg-wa {
  background: #25d366;
  color: #fff;
}

.kochi-sticky-bg-appt {
  background: var(--color-accent);
  color: #fff;
}

/* --- Responsive: Sunrise image --- */
@media (max-width: 991.98px) {
  .kochi-location-hero .kochi-hero-img {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .kochi-sunrise-hospital-img img {
    min-height: 240px;
  }
}

@media (min-width: 992px) {
  .kochi-sunrise-hospital-img img {
    min-height: 320px;
  }
}

/* --- Jotform / testimonials: avoid horizontal overflow on narrow phones --- */
@media (max-width: 575.98px) {
  .testimonials-section .container {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }
}

/* CTA band equal-width buttons: see style.css (.cta-band rules in max-width: 991.98px) */
@media (max-width: 991.98px) {
  .cta-band .text-lg-end {
    text-align: center !important;
  }
}
