/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
    --navy:       #1a2c5b;
    --navy-dark:  #111e3e;
    --navy-mid:   #1e3470;
    --navy-light: #243770;
    --gold:       #f5a623;
    --gold-dark:  #d4891a;
    --gold-light: #ffc85c;
    --cream:      #faf8f3;
    --white:      #ffffff;
    --text-dark:  #1a1a2e;
    --text-mid:   #4a4a6a;
    --text-light: #9090aa;
    --border:     rgba(26, 44, 91, 0.12);
    --shadow-sm:  0 2px 12px rgba(26, 44, 91, 0.08);
    --shadow-md:  0 8px 32px rgba(26, 44, 91, 0.14);
    --shadow-lg:  0 20px 60px rgba(26, 44, 91, 0.2);
    --radius:     12px;
    --radius-lg:  20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.2; }
p { font-family: 'Cormorant Garamond', serif; font-size: 1.18rem; color: var(--text-mid); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ============================================================
   ANNOUNCEMENT BANNER
============================================================ */
.announcement-bar {
    background: var(--gold);
    color: var(--navy-dark);
    padding: 10px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
    position: relative;
    z-index: 1100;
}
.announcement-bar .reg-btn {
    background: var(--navy);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    margin-left: 14px;
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
}
.announcement-bar .reg-btn:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
}

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
    padding: 6px 0;
    transition: all 0.4s ease;
    position: sticky;
    top: 0;
    z-index: 1050;
    background: linear-gradient(to bottom, rgba(17,30,62,0.96) 0%, rgba(17,30,62,0.7) 100%);
}
#mainNav.scrolled {
    background: var(--navy-dark) !important;
    padding: 4px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-brand img {
    height: 52px;
    width: auto;
    display: block;
}
.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.brand-sub { font-family: 'Lato', sans-serif; font-size: 0.6rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; display: block; text-align: center; }

.navbar-nav .nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.82) !important;
    padding: 8px 10px !important;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute; bottom: 2px; left: 10px; right: 10px;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transition: transform 0.3s ease; border-radius: 1px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold) !important; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.dropdown-menu {
    background: var(--navy-dark);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    margin-top: 6px !important;
}
.dropdown-item {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem; font-weight: 400; letter-spacing: 0.05em;
    color: rgba(255,255,255,0.75) !important;
    border-radius: 6px; padding: 8px 14px; transition: var(--transition);
}
.dropdown-item:hover { background: rgba(245,166,35,0.15); color: var(--gold) !important; }

.navbar-toggler { border: 2px solid rgba(255,255,255,0.35); border-radius: 8px; padding: 6px 10px; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO
============================================================ */
#home {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden; background: var(--navy-dark); padding: 0;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08);
    transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.active {
    opacity: 1; transform: scale(1);
}
.hero-dots {
    position: absolute; bottom: 28px; right: 30px;
    display: flex; flex-direction: column; gap: 10px; z-index: 10;
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent; cursor: pointer;
    transition: var(--transition); padding: 0;
}
.hero-dot.active {
    background: var(--gold); border-color: var(--gold);
    transform: scale(1.2);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(17,30,62,0.88) 0%, rgba(17,30,62,0.7) 40%, rgba(26,44,91,0.25) 70%, rgba(26,44,91,0.1) 100%);
}
.hero-glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 85%, rgba(245,166,35,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 85% 15%, rgba(245,166,35,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 130px 0 90px; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,166,35,0.14); border: 1px solid rgba(245,166,35,0.38);
    color: var(--gold); padding: 7px 20px; border-radius: 30px;
    font-family: 'Lato', sans-serif; font-size: 0.76rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 28px;
}
.hero-eyebrow .dot {
    width: 7px; height: 7px; background: var(--gold); border-radius: 50%;
    animation: blink 2s infinite;
}
@keyframes blink {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.4; transform:scale(0.75); }
}

.hero-title { font-size: clamp(3rem, 6.5vw, 5.2rem); font-weight: 900; color: #fff; line-height: 1.05; margin-bottom: 0; }
.hero-title .accent { color: var(--gold); display: block; }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(255,255,255,0.65); margin: 14px 0 10px; }
.hero-sub { font-family: 'Lato', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 38px; }
.hero-rule { width: 72px; height: 3px; background: linear-gradient(to right, var(--gold), transparent); margin-bottom: 32px; border-radius: 2px; }

.btn-primary-gold {
    background: var(--gold); color: var(--navy-dark);
    font-family: 'Lato', sans-serif; font-weight: 900; font-size: 0.82rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 14px 30px; border-radius: 8px; border: 2px solid var(--gold);
    display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.btn-primary-gold:hover {
    background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy-dark);
    transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,166,35,0.4);
}
.btn-ghost-white {
    background: transparent; color: #fff;
    font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.82rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 13px 30px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.35);
    display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; transform: translateY(-2px); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-val { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-family: 'Lato', sans-serif; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

.scroll-hint { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint span { font-family: 'Lato', sans-serif; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.25); border-radius: 11px; position: relative; }
.scroll-mouse::after {
    content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 7px; background: var(--gold); border-radius: 2px;
    animation: mouseScroll 2s infinite;
}
@keyframes mouseScroll {
    0%   { opacity:1; transform: translateX(-50%) translateY(0); }
    100% { opacity:0; transform: translateX(-50%) translateY(11px); }
}

/* ============================================================
   SHARED SECTION STYLES
============================================================ */
section { padding: 96px 0; }

.section-eyebrow {
    font-family: 'Lato', sans-serif; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); flex-shrink: 0; }
/* Centered eyebrow variant — lines on both sides */
.section-eyebrow.centered {
    justify-content: center;
}
.section-eyebrow.centered::before { display: none; }
.section-eyebrow.centered::after  { content: ''; width: 28px; height: 2px; background: var(--gold); flex-shrink: 0; }
.section-h { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.section-rule { width: 52px; height: 3px; background: linear-gradient(to right, var(--gold), var(--gold-light)); border-radius: 2px; margin-bottom: 22px; }
.section-rule.center { margin-left: auto; margin-right: auto; }
.section-lead { font-family: 'Cormorant Garamond', serif; font-size: 1.28rem; color: var(--text-mid); line-height: 1.8; max-width: 600px; }

/* ============================================================
   FADE-IN ANIMATION
============================================================ */
.fi { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fi.on { opacity: 1; transform: translateY(0); }
.fi.d1 { transition-delay: 0.08s; }
.fi.d2 { transition-delay: 0.16s; }
.fi.d3 { transition-delay: 0.24s; }
.fi.d4 { transition-delay: 0.32s; }
.fi.d5 { transition-delay: 0.40s; }
.fi.d6 { transition-delay: 0.48s; }

/* ============================================================
   THE SCHOOL
============================================================ */
#school { background: var(--cream); }

.school-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid var(--border); color: var(--navy);
    padding: 8px 18px; border-radius: 30px;
    font-family: 'Lato', sans-serif; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.04em; box-shadow: var(--shadow-sm);
}
.school-badge i { color: var(--gold); }

.milestone-box { border-radius: var(--radius-lg); padding: 30px 26px; height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.milestone-num { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; line-height: 1; }
.milestone-lbl { font-family: 'Lato', sans-serif; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }

.location-chip { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.location-chip-icon { width: 46px; height: 46px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }

.houses-ribbon { display: flex; border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.house-pill { flex: 1; padding: 13px 8px; text-align: center; font-family: 'Lato', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.hp-tagore      { background: #42a5f5; }
.hp-vivekananda { background: #fdd835; color: #333; }
.hp-nehru       { background: #43a047; }
.hp-gandhi      { background: #c62828; }

.feat-card { background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; height: 100%; border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.feat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat-card:hover::after { transform: scaleX(1); }
.feat-icon { width: 52px; height: 52px; background: rgba(245,166,35,0.1); border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--gold); margin-bottom: 18px; transition: var(--transition); }
.feat-card:hover .feat-icon { background: var(--gold); color: #fff; transform: rotate(6deg) scale(1.1); }
.feat-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feat-card p  { font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ============================================================
   ACADEMICS
============================================================ */
#academics { background: #fff; }

.acad-row { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); margin-bottom: 14px; }
.acad-row:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.acad-icon { width: 48px; height: 48px; min-width: 48px; background: var(--navy); color: var(--gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.acad-row h5 { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.acad-row p  { font-size: 0.88rem; margin: 0; }

.floor-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px 28px; height: 100%; position: relative; overflow: hidden; }
.floor-card::before { content: attr(data-n); position: absolute; right: -8px; bottom: -18px; font-family: 'Playfair Display', serif; font-size: 7rem; font-weight: 900; color: rgba(255,255,255,0.04); line-height: 1; pointer-events: none; }
.floor-tag { font-family: 'Lato', sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.floor-card h4 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.floor-card p  { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin: 0; }

.syllabus-pills a { background: var(--navy); color: #fff; padding: 8px 20px; border-radius: 8px; font-family: 'Lato', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; transition: var(--transition); display: inline-block; }
.syllabus-pills a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }

/* ============================================================
   ACHIEVEMENTS
============================================================ */
#achievements { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
#achievements::before { content: ''; position: absolute; top: -120px; right: -120px; width: 450px; height: 450px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 65%); pointer-events: none; }
#achievements .section-h { color: #fff; }

.ach-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-lg); padding: 30px 26px; height: 100%; transition: var(--transition); }
.ach-card:hover { background: rgba(245,166,35,0.07); border-color: rgba(245,166,35,0.28); }
.ach-card-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--gold); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ach-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ach-item:last-child { border-bottom: none; }
.ach-dot { width: 8px; height: 8px; min-width: 8px; background: var(--gold); border-radius: 50%; margin-top: 7px; }
.ach-item p { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin: 0; }

.ach-stat-card { background: rgba(245,166,35,0.06); border: 1px solid rgba(245,166,35,0.18); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ach-big-num { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900; color: var(--gold); line-height: 1; }
.ach-big-lbl { font-family: 'Lato', sans-serif; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 28px; }
.ach-divider { width: 48px; height: 1px; background: rgba(245,166,35,0.25); margin-bottom: 28px; }

/* ============================================================
   PRINCIPAL
============================================================ */
#principal { background: var(--cream); }

.principal-frame { position: relative; display: inline-block; text-align: left; }
.principal-frame::before { content: ''; position: absolute; top: -14px; left: -14px; right: 14px; bottom: 14px; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: 0; pointer-events: none; }
.principal-img { position: relative; z-index: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 360px; display: block; }
.principal-namebadge { position: relative; z-index: 1; background: var(--navy); color: #fff; padding: 14px 22px; border-radius: var(--radius); margin-top: 18px; display: inline-block; max-width: 100%; }
.principal-namebadge .pn { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--gold); font-weight: 600; }
.principal-namebadge .pt { font-size: 0.76rem; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; }

.quote-giant { font-family: 'Playfair Display', serif; font-size: 7rem; color: rgba(245,166,35,0.14); line-height: 0.5; display: block; margin-bottom: 14px; }
.principal-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.18rem; line-height: 1.85; color: var(--text-mid); }
.highlight-phrase { color: var(--navy); font-style: normal; font-weight: 600; }

/* ============================================================
   ALUMNI
============================================================ */
#alumni { background: #fff; }

.alumni-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); height: 100%; }
.alumni-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.alumni-avatar { height: 96px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: 0.04em; }
.alumni-body { padding: 18px; }
.alumni-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.alumni-role { font-family: 'Lato', sans-serif; font-size: 0.88rem; color: var(--text-mid); line-height: 1.4; margin-bottom: 10px; }
.alumni-role .co { color: var(--gold); font-weight: 700; }
.alumni-batch { display: inline-block; background: rgba(26,44,91,0.08); color: var(--navy); padding: 3px 11px; border-radius: 20px; font-family: 'Lato', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }

/* ============================================================
   CONTACT
============================================================ */
#contact { background: var(--cream); }

.ct-card { background: #fff; border-radius: var(--radius-lg); padding: 26px 22px; display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--border); transition: var(--transition); height: 100%; }
.ct-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.ct-icon { width: 46px; height: 46px; min-width: 46px; background: var(--navy); color: var(--gold); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.ct-card h6 { font-family: 'Lato', sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.ct-card p, .ct-card a { font-family: 'Lato', sans-serif; font-size: 0.96rem; color: var(--text-dark); margin: 0; line-height: 1.6; }
.ct-card a:hover { color: var(--navy); }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: none; display: block; }

.admissions-box { background: var(--navy); border-radius: var(--radius-lg); padding: 34px 28px; color: #fff; height: 100%; }
.admissions-box h4 { color: var(--gold); margin-bottom: 16px; }
.admissions-box p { color: rgba(255,255,255,0.68); font-size: 0.93rem; line-height: 1.7; margin-bottom: 22px; }
.class-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); padding: 4px 10px; border-radius: 6px; font-family: 'Lato', sans-serif; font-size: 0.76rem; display: inline-block; }

/* ============================================================
   SOCIAL WIDGETS
============================================================ */
.social-widget-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.social-widget-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.social-widget-header {
    background: var(--navy);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.social-widget-header > i {
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}
.swh-name   { font-family: 'Lato', sans-serif; font-size: 0.88rem; font-weight: 700; color: #fff; line-height: 1.2; }
.swh-handle { font-family: 'Lato', sans-serif; font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.swh-follow {
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 5px 14px;
    border-radius: 20px;
    font-family: 'Lato', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: var(--transition);
}
.swh-follow:hover {
    background: rgba(255,255,255,0.28);
    color: #fff;
}
.social-widget-body {
    background: #fafafa;
    overflow: hidden;
}

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.55); padding: 64px 0 28px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-brand-logo { display: flex; align-items: center; gap: 12px; }
.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-brand img { height: 80px; display: block; }
.fb-est { font-family: 'Lato', sans-serif; font-size: 0.6rem; color: rgba(255,255,255,0.7); letter-spacing: 0.16em; text-transform: uppercase; text-align: left; }
.footer-desc { font-size: 0.96rem; line-height: 1.75; max-width: 290px; color: rgba(255,255,255,0.75); }

.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); font-size: 0.95rem; transition: var(--transition); }
.social-btn:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }

.footer-h { font-family: 'Lato', sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 9px; }
.f-links a { font-size: 0.92rem; color: rgba(255,255,255,0.5); transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.f-links a::before { content: ''; width: 14px; height: 1px; background: var(--gold); flex-shrink: 0; transition: width 0.3s ease; }
.f-links a:hover { color: var(--gold); }
.f-links a:hover::before { width: 22px; }

.f-ct-item { display: flex; gap: 11px; margin-bottom: 12px; font-size: 0.92rem; }
.f-ct-item i { color: var(--gold); margin-top: 3px; min-width: 15px; }

.footer-hr { border-top: 1px solid rgba(255,255,255,0.07); margin: 38px 0 22px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    section { padding: 68px 0; }
    .hero-stats { gap: 20px; }
    .stat-val { font-size: 1.7rem; }
    .hero-content { padding: 100px 0 70px; }
    .principal-frame::before { display: none; }
    .principal-img { max-width: 260px; }
    /* Map full height on mobile */
    .map-wrap { min-height: 280px; }
    .map-wrap iframe { min-height: 280px; }
}
@media (max-width: 576px) {
    .hero-stats { flex-wrap: wrap; }
}
