/* ============================================
   CCI Gujarati Site — Shared Stylesheet
   Chicago Cardiology Institute · Every Heartbeat Is Precious
   Palette derived from the official CCI logo:
   - Brand Red: #E31E2D (heart in logo)
   - Brand Red Deep: #B8101D
   - Brand Gray: #7A7A7A (CHICAGO / INSTITUTE text)
   - Brand Charcoal: #2D2D2D
   - Cream / Warm white backgrounds
   ============================================ */

:root {
  /* Official CCI palette */
  --cci-red: #E31E2D;
  --cci-red-deep: #B8101D;
  --cci-red-darker: #8E0A14;
  --cci-red-soft: #FCE3E5;
  --cci-gray: #7A7A7A;
  --cci-gray-deep: #4A4A4A;
  --cci-charcoal: #2D2D2D;

  /* Supporting palette */
  --cci-cream: #FAF6F0;
  --cci-warm-white: #FDFBF7;
  --cci-gold: #C89B3C;
  --cci-gold-soft: #E8D49A;
  --cci-mist: #E8E2D9;
  --cci-stone: #8A8278;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Noto Serif Gujarati', serif;
  --font-gujarati-serif: 'Noto Serif Gujarati', 'Cormorant Garamond', serif;
  --font-body: 'Mukta Vaani', 'Noto Serif Gujarati', sans-serif;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(45, 45, 45, 0.08);
  --shadow-deep: 0 12px 48px rgba(45, 45, 45, 0.16);
  --shadow-card: 0 2px 12px rgba(227, 30, 45, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cci-warm-white);
  color: var(--cci-charcoal);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============ PARENT BRAND BAR — chicagocardiology.com ============ */
.parent-brand-bar {
  background: var(--cci-red-deep);
  color: white;
  padding: 11px 0;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-bottom: 2px solid var(--cci-gold);
  font-weight: 500;
}
.parent-brand-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.parent-brand-bar .gu-text {
  font-family: var(--font-gujarati-serif);
}
.parent-brand-bar a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--cci-gold);
  padding-bottom: 1px;
  transition: all 0.2s;
  font-family: var(--font-display);
  font-size: 15px;
}
.parent-brand-bar a:hover { color: var(--cci-gold); }
.parent-brand-bar .heart {
  color: var(--cci-gold);
  font-size: 16px;
}

/* ============ UTILITY BAR ============ */
.utility-bar {
  background: var(--cci-charcoal);
  color: white;
  padding: 8px 0;
  font-size: 13px;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.utility-bar a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.utility-bar a:hover { color: var(--cci-gold); }
.utility-bar a strong { color: var(--cci-gold); }
.utility-bar .lang-toggle a {
  margin-left: 12px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  font-size: 12px;
}
.utility-bar .lang-toggle a.active {
  background: var(--cci-red);
  border-color: var(--cci-red);
}

/* ============ HEADER / NAV ============ */
header.main-nav {
  background: var(--cci-warm-white);
  border-bottom: 1px solid var(--cci-mist);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-soft);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.logo img {
  height: 64px;
  width: auto;
}
.logo-tag {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  border-left: 2px solid var(--cci-red);
  padding-left: 14px;
}
.logo-tag .gu {
  font-family: var(--font-gujarati-serif);
  font-size: 16px;
  color: var(--cci-red-deep);
  font-weight: 600;
}
.logo-tag .sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--cci-gray);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--cci-charcoal);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--cci-red); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cci-red);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--cci-red); }
.nav-links a.active::after { width: 100%; }

/* ============ BUTTONS ============ */
.cta-button {
  background: var(--cci-red);
  color: white !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  border: 2px solid var(--cci-red);
  font-family: var(--font-body);
  font-size: 15px;
}
.cta-button:hover {
  background: var(--cci-red-deep);
  border-color: var(--cci-red-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(227, 30, 45, 0.3);
}
.cta-button.outline {
  background: transparent;
  color: var(--cci-red) !important;
}
.cta-button.outline:hover {
  background: var(--cci-red);
  color: white !important;
}
.cta-button.ghost {
  background: transparent;
  color: white !important;
  border-color: rgba(255,255,255,0.4);
}
.cta-button.ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}
.cta-button.urgent {
  background: var(--cci-red);
  border-color: var(--cci-red);
  color: white !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 0 rgba(227, 30, 45, 0.5);
  animation: pulse-red 2.2s infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 30, 45, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(227, 30, 45, 0); }
}
.cta-button.urgent:hover {
  background: var(--cci-red-deep);
  border-color: var(--cci-red-deep);
}

/* ============ SECTION BASE ============ */
section { padding: 88px 0; }
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}
.eyebrow-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--cci-red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  padding: 0 36px;
}
.eyebrow-tag::before, .eyebrow-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--cci-red);
}
.eyebrow-tag::before { left: 0; }
.eyebrow-tag::after { right: 0; }

.section-title {
  font-family: var(--font-gujarati-serif);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 700;
  color: var(--cci-charcoal);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--cci-stone);
  line-height: 1.7;
}

/* ============ PAISLEY BG OVERLAY ============ */
.paisley-bg { position: relative; }
.paisley-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(227, 30, 45, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(74, 74, 74, 0.04) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}
.paisley-bg > * { position: relative; z-index: 1; }

/* ============ FOOTER ============ */
footer.main-footer {
  background: var(--cci-charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding: 0 0 0;
}
.footer-parent-band {
  background: linear-gradient(135deg, var(--cci-red-deep) 0%, var(--cci-red) 50%, var(--cci-red-darker) 100%);
  color: white;
  padding: 36px 0;
  border-top: 3px solid var(--cci-gold);
  border-bottom: 3px solid var(--cci-gold);
  position: relative;
  overflow: hidden;
}
.footer-parent-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 10 C50 20 50 35 40 50 C30 35 30 20 40 10 M40 50 C50 60 50 70 40 75 C30 70 30 60 40 50' fill='none' stroke='%23C89B3C' stroke-width='0.5' opacity='0.18'/></svg>");
  opacity: 0.5;
}
.footer-parent-band .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
}
.footer-parent-band .gu {
  font-family: var(--font-gujarati-serif);
  font-size: 1.08rem;
  font-weight: 500;
}
.footer-parent-band a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--cci-gold);
  padding-bottom: 3px;
  transition: all 0.2s;
}
.footer-parent-band a:hover { color: var(--cci-gold); }

.footer-main {
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  margin-bottom: 16px;
  max-width: 280px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.93rem;
  line-height: 1.65;
  max-width: 340px;
}
.footer-brand .tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cci-gold);
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
footer h5 {
  font-family: var(--font-gujarati-serif);
  font-size: 1rem;
  color: var(--cci-gold);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s;
}
footer a:hover { color: var(--cci-gold); }
.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 64px 0; }
  .logo-tag { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .logo img { height: 48px; }
  .section-title { font-size: 1.7rem; }
  .parent-brand-bar .container { font-size: 12.5px; gap: 8px; }
  .parent-brand-bar a { font-size: 14px; }
  .footer-parent-band a { font-size: 1.15rem; }
}
