:root {
  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --primary-dark: #0e2240;
  --accent: #c0392b;
  --accent-light: #e74c3c;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-50: #f0f3f8;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --gold: #d4a843;
  --gold-light: #f0d78c;
  --success: #22c55e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ========== UTILITY ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary-light);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 32px; height: 2px; background: var(--accent);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--primary-dark);
  line-height: 1.2; margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem; color: var(--gray-600);
  max-width: 600px; line-height: 1.8;
}

/* ========== NAV ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 50px; width: 50px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; color: var(--primary);
  line-height: 1.2;
}
.nav-logo-tagline { font-size: 11px; color: var(--gray-600); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-800);
  font-size: 14px; font-weight: 500; padding: 8px 16px;
  border-radius: var(--radius-sm); transition: all 0.2s;
}
.nav-links a:hover { color: var(--primary); background: var(--gray-50); }
.nav-links .btn-nav {
  background: var(--primary); color: white !important;
  padding: 10px 24px; border-radius: 50px;
}
.nav-links .btn-nav:hover { background: var(--primary-light); }

.mobile-toggle {
  display: none; background: none; border: none;
  font-size: 24px; color: var(--primary); cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(192,57,43,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,168,67,0.1) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2; max-width: 1200px;
  margin: 0 auto; padding: 120px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-text { animation: fadeInUp 1s ease; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  padding: 8px 20px; border-radius: 50px;
  font-size: 13px; color: var(--gold-light);
  font-weight: 500; margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-badge i { font-size: 10px; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; color: white;
  line-height: 1.15; margin-bottom: 24px;
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  line-height: 1.8; margin-bottom: 40px; max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.3s ease;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 4px 20px rgba(192,57,43,0.35);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
  background: rgba(255,255,255,0.1); color: white;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
}
.hero-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl); padding: 48px;
  text-align: center; position: relative;
}
.hero-card img {
  width: 200px; height: 200px; object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
  margin-bottom: 24px;
}
.hero-card-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: white; font-weight: 600;
}
.hero-card-sub { font-size: 14px; color: var(--gold-light); margin-top: 4px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 50px;
}
.hero-stat {
  text-align: center; padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 800; color: white;
}
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 4px;
}

/* ========== HERO SLIDER ========== */
.hero-slider { position: relative; min-height: 100vh; width: 100%; }
.hero-slide {
  position: absolute; top: 0; left: 0;
  width: 100%; min-height: 100vh;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; pointer-events: all; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); color: white;
  font-size: 17px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.hero-nav:hover { background: rgba(255,255,255,0.25); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5); background: transparent;
  cursor: pointer; transition: all 0.3s ease; padding: 0;
}
.hero-dot.active { background: var(--gold-light); border-color: var(--gold-light); width: 28px; border-radius: 5px; }
/* Hero card variants */
.hero-card-icon-big { font-size: 2.6rem; color: var(--gold-light); margin-bottom: 16px; }
.hero-loan-item, .hero-branch-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.85); font-size: 13px;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-loan-item:last-child, .hero-branch-item:last-child { border-bottom: none; }
.hero-loan-item i, .hero-branch-item i { color: var(--gold-light); font-size: 11px; flex-shrink: 0; }
.hero-fd-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.8);
}
.hero-fd-row:last-child { border-bottom: none; }
.hero-fd-rate { font-weight: 700; color: var(--gold-light); }

/* ========== SERVICES ========== */
.services { background: var(--off-white); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-subtitle { margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: white; border-radius: var(--radius-lg);
  padding: 40px 32px; transition: all 0.4s ease;
  border: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: white; margin-bottom: 24px;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--primary-dark); margin-bottom: 12px;
}
.service-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ========== ABOUT ========== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-image {
  position: relative;
}
.about-image-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl); padding: 60px;
  text-align: center; position: relative;
  overflow: hidden;
}
.about-image-card::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
}
.about-image-card img {
  width: 180px; height: 180px; object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}
.about-floating-card {
  position: absolute; bottom: -20px; right: -20px;
  background: white; border-radius: var(--radius-md);
  padding: 20px 28px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.about-floating-card i { font-size: 28px; color: var(--success); }
.about-floating-num { font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.about-floating-label { font-size: 12px; color: var(--gray-600); }

.about-content .section-subtitle { margin-bottom: 32px; }

.mission-vision {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px;
}
.mv-card {
  padding: 24px; border-radius: var(--radius-md);
  border: 1px solid var(--gray-100); background: var(--gray-50);
}
.mv-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--primary); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.mv-card h4 i { color: var(--accent); font-size: 14px; }
.mv-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ========== LOANS & SAVINGS ========== */
.loans-savings { background: var(--off-white); }
.ls-header { text-align: center; margin-bottom: 60px; }
.ls-header .section-subtitle { margin: 0 auto; }

.ls-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 48px;
}
.ls-tab {
  padding: 12px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: 2px solid var(--gray-200);
  background: white; color: var(--gray-600);
  transition: all 0.3s;
}
.ls-tab.active {
  background: var(--primary); color: white;
  border-color: var(--primary);
}
.ls-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.ls-content { display: none; }
.ls-content.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

.ls-card {
  background: white; border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--gray-100);
  transition: all 0.3s;
}
.ls-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ls-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 20px;
}
.ls-card-icon.loan { background: #fef2f2; color: var(--accent); }
.ls-card-icon.saving { background: #f0fdf4; color: var(--success); }
.ls-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 10px;
}
.ls-card p { font-size: 14px; color: var(--gray-600); margin-bottom: 16px; }
.ls-card-rate {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-50); padding: 6px 14px;
  border-radius: 50px; font-size: 13px; font-weight: 600;
  color: var(--primary);
}

/* ========== CALCULATORS ========== */
.calculators { background: white; }
.calc-header { text-align: center; margin-bottom: 60px; }
.calc-header .section-subtitle { margin: 0 auto; }

.calc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.calc-card {
  background: var(--off-white); border-radius: var(--radius-xl);
  padding: 48px; border: 1px solid var(--gray-100);
}
.calc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--primary-dark);
  margin-bottom: 8px;
}
.calc-card > p { font-size: 14px; color: var(--gray-600); margin-bottom: 32px; }

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--gray-800); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input, .form-group select {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--gray-800); background: white;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-calc {
  width: 100%; padding: 16px; border-radius: var(--radius-sm);
  background: var(--primary); color: white; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.btn-calc:hover { background: var(--primary-light); }

.calc-result {
  margin-top: 24px; padding: 24px;
  background: white; border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  display: none;
}
.calc-result.show { display: block; }
.calc-result h4 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-600); margin-bottom: 8px;
}
.calc-result .result-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 800; color: var(--primary);
}
.calc-result .result-details {
  margin-top: 12px; font-size: 14px; color: var(--gray-600); line-height: 1.8;
}

/* ========== NEWS ========== */
.news { background: var(--off-white); }
.news-header { text-align: center; margin-bottom: 60px; }
.news-header .section-subtitle { margin: 0 auto; }
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.news-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-100);
  transition: all 0.3s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-thumb {
  height: 200px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.news-thumb::before {
  content: ''; position: absolute; inset: 0; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='2' fill='white'/%3E%3C/svg%3E");
}
.news-thumb i { font-size: 48px; color: rgba(255,255,255,0.3); }
.news-body { padding: 28px; }
.news-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--gray-400); margin-bottom: 12px;
}
.news-tag {
  background: var(--gray-50); padding: 4px 12px;
  border-radius: 50px; font-size: 12px; font-weight: 600;
  color: var(--primary);
}
.news-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--primary-dark);
  margin-bottom: 10px; line-height: 1.4;
}
.news-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }
.news-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.news-link:hover { color: var(--accent); }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
}
.contact-info { }
.contact-info .section-subtitle { margin-bottom: 40px; }
.contact-item {
  display: flex; gap: 16px; margin-bottom: 28px;
}
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gray-50); display: flex;
  align-items: center; justify-content: center;
  font-size: 18px; color: var(--primary); flex-shrink: 0;
}
.contact-item h4 {
  font-size: 15px; font-weight: 600; color: var(--primary-dark);
  margin-bottom: 2px;
}
.contact-item p { font-size: 14px; color: var(--gray-600); }

.contact-form-wrap {
  background: var(--off-white); border-radius: var(--radius-xl);
  padding: 48px; border: 1px solid var(--gray-100);
}
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 28px;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--gray-800); background: white; transition: border-color 0.2s;
}
.contact-form .form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark); color: white; padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 60px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.8; max-width: 300px;
}
.footer-socials {
  display: flex; gap: 12px; margin-top: 20px;
}
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center;
  color: white; transition: all 0.3s; text-decoration: none;
}
.footer-socials a:hover { background: var(--accent); }

.footer-col h4 {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px; color: rgba(255,255,255,0.9);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  text-decoration: none; font-size: 14px;
  color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.footer-col ul a:hover { color: white; }

.footer-bottom {
  padding: 24px 0; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl); padding: 60px;
  text-align: center; position: relative;
  overflow: hidden; margin: 0 24px;
  transform: translateY(60px);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white; margin-bottom: 16px; position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.8); font-size: 1.1rem;
  margin-bottom: 32px; position: relative;
}
.cta-banner .btn { position: relative; }

/* ========== GALLERY ========== */
.gallery { background: white; }
.gallery-header { text-align: center; margin-bottom: 60px; }
.gallery-header .section-subtitle { margin: 0 auto; }

.gallery-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 40px;
}
.gallery-tab {
  padding: 10px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: 2px solid var(--gray-200);
  background: white; color: var(--gray-600);
  transition: all 0.3s;
}
.gallery-tab.active {
  background: var(--primary); color: white;
  border-color: var(--primary);
}
.gallery-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
  aspect-ratio: 1; background: var(--gray-50);
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }
.gallery-item.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }

.gallery-item-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25); gap: 8px;
  transition: all 0.4s;
}
.gallery-item-placeholder i { font-size: 36px; }
.gallery-item-placeholder span {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600;
}

.gallery-item img, .gallery-item video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,34,64,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }

.gallery-overlay-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; color: white;
  margin-bottom: 2px;
}
.gallery-overlay-date {
  font-size: 12px; color: rgba(255,255,255,0.6);
}
.gallery-overlay-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s;
}
.gallery-overlay-play i { font-size: 22px; color: white; margin-left: 4px; }
.gallery-item:hover .gallery-overlay-play {
  background: var(--accent); border-color: var(--accent);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-content {
  max-width: 90vw; max-height: 80vh;
  border-radius: var(--radius-md); overflow: hidden;
}
.lightbox-content img, .lightbox-content video {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; border-radius: var(--radius-md);
}
.lightbox-caption {
  margin-top: 16px; text-align: center;
  color: rgba(255,255,255,0.8); font-size: 15px;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

@media (max-width: 968px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide, .gallery-item.featured { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-tabs { flex-wrap: wrap; }
}
.team { background: var(--off-white); }
.team-header { text-align: center; margin-bottom: 60px; }
.team-header .section-subtitle { margin: 0 auto; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-100);
  transition: all 0.4s ease; text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo {
  position: relative; height: 260px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); gap: 8px;
}
.team-photo-placeholder i { font-size: 64px; }
.team-photo-placeholder span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(14,34,64,0.7), transparent);
}
.team-info { padding: 24px 20px 28px; }
.team-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--primary-dark); margin-bottom: 4px;
}
.team-role {
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.team-accolades {
  font-size: 13px; color: var(--gray-600); line-height: 1.6;
}
.team-socials-row {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 14px;
}
.team-socials-row a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-50); display: flex;
  align-items: center; justify-content: center;
  color: var(--gray-600); font-size: 13px;
  text-decoration: none; transition: all 0.3s;
}
.team-socials-row a:hover { background: var(--primary); color: white; }

/* CEO card highlight */
.team-card.ceo-card {
  border: 2px solid var(--primary);
  position: relative;
}
.team-card.ceo-card::after {
  content: 'CEO'; position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: var(--primary-dark);
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 50px; z-index: 2;
}

@media (max-width: 968px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.whatsapp-float-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.whatsapp-tooltip {
  background: white; color: var(--gray-800);
  padding: 10px 18px; border-radius: 12px 12px 0 12px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); max-width: 220px;
  opacity: 0; transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  line-height: 1.4;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1; transform: translateY(0);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ========== SOCIAL BAR (HERO) ========== */
.hero-socials {
  display: flex; gap: 12px; margin-top: 24px;
}
.hero-socials a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 16px;
  text-decoration: none; transition: all 0.3s;
}
.hero-socials a:hover {
  background: rgba(255,255,255,0.2); color: white;
  border-color: rgba(255,255,255,0.3);
}
.hero-socials a.wa:hover { background: #25D366; border-color: #25D366; }
.hero-socials a.fb:hover { background: #1877F2; border-color: #1877F2; }
.hero-socials a.ig:hover { background: #E4405F; border-color: #E4405F; }
.hero-socials a.tt:hover { background: #000000; border-color: #000000; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== MOBILE ========== */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 140px; }
  .hero p { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 20px; gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .cta-banner { margin: 0 16px; padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ls-tabs { flex-wrap: wrap; }
}