/* ============================================
   REACHeR IAS ACADEMY - Master Stylesheet
   ============================================ */

:root {
  /* Brand palette derived from REACHeR IAS Academy logo */
  --primary: #1a32c9;          /* royal blue (logo background) */
  --primary-dark: #0f1f8a;     /* deeper royal blue for headings */
  --primary-light: #3a55e8;    /* lighter royal blue */
  --secondary: #ffd400;        /* gold/yellow (logo crown & shield) */
  --secondary-dark: #e6bf00;
  --secondary-deep: #b89400;   /* dark gold for text on light bg */
  --accent: #e60000;           /* red (IAS ACADEMY text) */
  --accent-dark: #c50000;
  --text-dark: #14172e;
  --text-muted: #4a4f6b;
  --text-light: #7a7f96;
  --bg-light: #f6f8ff;
  --bg-soft: #eaeefc;
  --white: #ffffff;
  --border: #dde2f4;
  --success: #27ae60;
  --shadow-sm: 0 2px 8px rgba(26, 50, 201, 0.10);
  --shadow-md: 0 6px 20px rgba(26, 50, 201, 0.15);
  --shadow-lg: 0 12px 36px rgba(26, 50, 201, 0.22);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--primary-dark); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }

.text-center { text-align: center; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title h2 { margin-bottom: 15px; position: relative; }
.section-title h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  margin: 18px auto 0;
  border-radius: 2px;
}
.section-title p { max-width: 720px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info a { color: var(--white); }
.topbar-info a:hover { color: var(--secondary); }
.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  margin-left: 6px;
}
.topbar-social a:hover { background: var(--secondary); color: var(--white); }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 64px;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
  display: block;
}
.site-footer .logo img { height: 70px; }
@media (max-width: 480px) {
  .logo img { height: 52px; }
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: var(--bg-soft); }

.nav-cta { margin-left: 10px; padding: 11px 22px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-dark);
}

@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 80px 20px 20px;
    transition: right 0.35s ease;
    overflow-y: auto;
    z-index: 1000;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 13px 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-cta { margin: 12px 0 0; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 999;
  }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 31, 138, 0.92) 0%, rgba(26, 50, 201, 0.85) 100%),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 212, 0, 0.22), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 212, 0, 0.18);
  color: var(--secondary);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 212, 0, 0.4);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 span {
  color: var(--secondary);
  animation: siren-blink 3.2s ease-in-out infinite;
}
@keyframes siren-blink {
  0%, 100% {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(255, 212, 0, 0.9), 0 0 20px rgba(255, 212, 0, 0.6);
  }
  50% {
    color: #ff2a2a;
    text-shadow: 0 0 8px rgba(255, 42, 42, 0.9), 0 0 20px rgba(255, 42, 42, 0.6);
  }
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
}
.stat-item .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 70px 0 60px; }
}

/* ============================================
   PAGE BANNER (inner page hero)
   ============================================ */
.page-banner {
  background:
    linear-gradient(135deg, rgba(15, 31, 138, 0.92) 0%, rgba(26, 50, 201, 0.85) 100%),
    url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
}
.page-banner h1 { color: var(--white); margin-bottom: 12px; }
.page-banner .breadcrumb { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.page-banner .breadcrumb a { color: var(--secondary); font-weight: 600; }

/* ============================================
   FEATURES / WHY US
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  padding: 60px 45px;
  border-radius: 50%;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.feature-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .icon { background: var(--accent); color: var(--white); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; display: block; }
.about-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
}
.about-badge strong { font-size: 1.8rem; display: block; line-height: 1; }
.about-badge span { font-size: 0.85rem; }

.about-content .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.about-list {
  list-style: none;
  margin: 20px 0;
}
.about-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--text-dark);
}
.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 22px; height: 22px;
  background: var(--success);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 11px;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================
   COURSES
   ============================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.course-thumb {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  overflow: hidden;
}
.course-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.course-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Board-specific badge tints (light theming) */
.course-tag.tag-tnpsc   { background: #006d77; }
.course-tag.tag-rrb     { background: #003366; }
.course-tag.tag-ssc     { background: #1a2a6c; }
.course-tag.tag-upsc    { background: #800000; }
.course-tag.tag-tet     { background: #1b8a3a; }
.course-tag.tag-tnusrb  { background: #2c3e50; }

/* Board ribbons on the top of course cards */
.course-card.board-tnpsc  { border-top: 4px solid #006d77; }
.course-card.board-rrb    { border-top: 4px solid #003366; }
.course-card.board-ssc    { border-top: 4px solid #1a2a6c; }
.course-card.board-upsc   { border-top: 4px solid #800000; }
.course-card.board-tet    { border-top: 4px solid #1b8a3a; }
.course-card.board-tnusrb { border-top: 4px solid #2c3e50; }

/* Board pill chip used in section eyebrows */
.board-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.board-chip.chip-tnpsc  { background: #006d77; }
.board-chip.chip-rrb    { background: #003366; }
.board-chip.chip-ssc    { background: #1a2a6c; }
.board-chip.chip-upsc   { background: #800000; }
.board-chip.chip-tet    { background: #1b8a3a; }
.board-chip.chip-tnusrb { background: #2c3e50; }
.course-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.course-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-body p { font-size: 0.92rem; flex: 1; }
.course-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}
.course-link:hover { color: var(--accent); gap: 10px; }

/* ============================================
   FACULTY
   ============================================ */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.faculty-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.crew-group-title {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin: 45px 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.crew-group-title:first-of-type { margin-top: 0; }
.crew-group-title i { color: var(--secondary-deep); }
.faculty-photo {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 4rem;
}
.faculty-info { padding: 22px 18px; }
.faculty-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.faculty-info .role {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.faculty-info p { font-size: 0.88rem; margin-bottom: 12px; }
.faculty-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  margin: 0 3px;
}
.faculty-social a:hover { background: var(--accent); color: var(--white); }

/* ============================================
   RESULTS / TOPPERS
   ============================================ */
.toppers-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.topper-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  padding-bottom: 22px;
}
.topper-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.topper-img {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 3.5rem;
}
.topper-rank {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(230, 0, 0, 0.3);
}
.topper-card h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.topper-card .exam {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.topper-card .year { color: var(--text-light); font-size: 0.8rem; }
.toppers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .toppers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .toppers-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 4px solid var(--accent);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px; left: 20px;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.18;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial p {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}
.author-info strong { display: block; color: var(--primary-dark); }
.author-info small { color: var(--text-light); font-size: 0.85rem; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 212, 0, 0.18), transparent 50%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 25px; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-date {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  color: var(--primary-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { color: var(--accent); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.blog-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-body p { font-size: 0.92rem; flex: 1; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,44,71,0.7), transparent);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 12px; left: 12px;
  color: var(--white);
  font-weight: 600;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.contact-card .icon {
  width: 48px; height: 48px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.contact-card a { color: var(--text-dark); }
.contact-card a:hover { color: var(--accent); }

.contact-form {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 50, 201, 0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  font-weight: 700;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner { padding: 0 22px 18px; color: var(--text-muted); }
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0b1654;
  color: rgba(255,255,255,0.85);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--secondary);
}
.footer-about p { font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.footer-about .logo-text strong { color: var(--white); }
.footer-about .logo-text small { color: rgba(255,255,255,0.6); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-col a:hover { color: var(--secondary); padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
}
.footer-contact .icon { color: var(--secondary); flex-shrink: 0; padding-top: 3px; }

.footer-social { margin-top: 16px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  margin-right: 8px;
}
.footer-social a:hover { background: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.footer-bottom a { color: var(--secondary); }

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.float-whatsapp {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.float-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   UTILITIES
   ============================================ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-secondary { color: var(--secondary); }
