/* ==========================================================================
   CEAM (CENTRO EDUCACIONAL ANDRADE MACHADO) - DESIGN SYSTEM
   Modern, Accessible, Responsive CSS3
   Author: DEV.DEIVIN (https://www.deivin.com.br)
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --ceam-blue-dark: #091e42;
  --ceam-blue-primary: #003399;
  --ceam-blue-secondary: #0052cc;
  --ceam-blue-light: #e6f0ff;
  --ceam-yellow-primary: #ffb703;
  --ceam-yellow-hover: #fb8500;
  --ceam-text-dark: #172b4d;
  --ceam-text-muted: #5e6c84;
  --ceam-bg-light: #f4f6f9;
  --ceam-white: #ffffff;
  --ceam-border: #dfe1e6;
  --ceam-success: #36b37e;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(9, 30, 66, 0.08);
  --shadow-md: 0 8px 24px rgba(9, 30, 66, 0.12);
  --shadow-lg: 0 16px 40px rgba(9, 30, 66, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--ceam-text-dark);
  background-color: var(--ceam-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--ceam-bg-light); }
.bg-dark { background-color: var(--ceam-blue-dark); }
.text-white { color: var(--ceam-white) !important; }
.text-light-gray { color: #b3c2d4; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.gap-40 { gap: 40px; }

.section-header {
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ceam-blue-primary);
  background: var(--ceam-blue-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-tag.tag-gold {
  color: var(--ceam-yellow-primary);
  background: rgba(255, 183, 3, 0.15);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ceam-blue-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--ceam-text-muted);
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--ceam-blue-dark);
  font-weight: 700;
  margin-bottom: 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ceam-yellow-primary) 0%, var(--ceam-yellow-hover) 100%);
  color: var(--ceam-blue-dark);
  box-shadow: 0 4px 14px rgba(251, 133, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(251, 133, 0, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--ceam-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--ceam-blue-primary);
  border: 2px solid var(--ceam-blue-primary);
}

.btn-outline-primary:hover {
  background: var(--ceam-blue-primary);
  color: var(--ceam-white);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* --- Top Announcement Bar --- */
.top-bar {
  background-color: var(--ceam-blue-dark);
  color: #c0ccdc;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-info i {
  color: var(--ceam-yellow-primary);
  margin-right: 6px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ceam-white);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 110%;
  background: var(--ceam-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: none;
  min-width: 150px;
  z-index: 1000;
}

.lang-menu.open {
  display: block;
}

.lang-menu button {
  width: 100%;
  text-align: left;
  padding: 8px 14px;
  border: none;
  background: none;
  font-size: 0.85rem;
  color: var(--ceam-text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.lang-menu button:hover, .lang-menu button.active {
  background: var(--ceam-blue-light);
  color: var(--ceam-blue-primary);
  font-weight: 700;
}

/* --- Header & Sticky Nav --- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo .main-logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ceam-text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--ceam-blue-primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--ceam-blue-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn-cta {
  background: var(--ceam-blue-primary);
  color: var(--ceam-white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full);
}

.nav-btn-cta:hover {
  background: var(--ceam-blue-secondary);
  color: var(--ceam-white) !important;
}

.nav-btn-cta::after { display: none; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ceam-blue-dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091e42 0%, #003399 70%, #0052cc 100%);
  color: var(--ceam-white);
  padding: 110px 0 100px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 183, 3, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 183, 3, 0.2);
  border: 1px solid rgba(255, 183, 3, 0.5);
  color: var(--ceam-yellow-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.highlight-yellow { color: var(--ceam-yellow-primary); }
.highlight-blue { color: #60a5fa; }

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 36px;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 36px;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ceam-yellow-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 6px;
}

/* --- About Section --- */
.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.align-center {
  align-items: center;
}

.paragraph-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ceam-blue-dark);
  margin-bottom: 18px;
  line-height: 1.6;
}

.about-text-col p {
  color: var(--ceam-text-muted);
  margin-bottom: 16px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.pillar-item {
  background: var(--ceam-bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--ceam-yellow-primary);
}

.pillar-item i {
  font-size: 1.6rem;
  color: var(--ceam-blue-primary);
  margin-bottom: 10px;
}

.pillar-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--ceam-blue-dark);
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.image-stack {
  position: relative;
}

.image-stack .img-primary {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 480px;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--ceam-blue-dark);
  color: var(--ceam-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.floating-badge i {
  font-size: 2rem;
  color: var(--ceam-yellow-primary);
}

.floating-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.floating-badge span {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* --- Differentials Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diff-card {
  background: var(--ceam-white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--ceam-border);
  display: flex;
  flex-direction: column;
}

.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ceam-blue-primary);
}

.diff-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.icon-shield { background: #e3f2fd; color: #1976d2; }
.icon-camera { background: #fff3e0; color: #f57c00; }
.icon-globe { background: #e8f5e9; color: #388e3c; }
.icon-robot { background: #f3e5f5; color: #7b1fa2; }
.icon-brain { background: #fce4ec; color: #c2185b; }
.icon-book { background: #e0f2f1; color: #00796b; }
.icon-laptop { background: #ede7f6; color: #512da8; }
.icon-sun { background: #fff8e1; color: #ffa000; }

.diff-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ceam-blue-dark);
  margin-bottom: 12px;
}

.diff-card p {
  font-size: 0.92rem;
  color: var(--ceam-text-muted);
  line-height: 1.5;
}

/* --- Segments & Tabs --- */
.tabs-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tabs-nav {
  display: flex;
  gap: 10px;
  background: var(--ceam-bg-light);
  padding: 6px;
  border-radius: var(--radius-full);
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ceam-text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--ceam-blue-primary);
}

.tab-btn.active {
  background: var(--ceam-blue-primary);
  color: var(--ceam-white);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.25);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

.segment-intro {
  margin-bottom: 30px;
  max-width: 800px;
}

.badge-accent {
  display: inline-block;
  background: var(--ceam-yellow-primary);
  color: var(--ceam-blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.segment-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--ceam-blue-dark);
  margin-bottom: 10px;
}

.segment-text p {
  color: var(--ceam-text-muted);
  font-size: 1.05rem;
}

/* --- Gallery Grids --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background-color: #e2e8f0;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Specific Galleries */
.gallery-extras {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-projects {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* --- Preparatory Courses --- */
.prep-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}

.prep-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.prep-card.highlight-border {
  border-color: var(--ceam-yellow-primary);
}

.prep-badge {
  display: inline-block;
  background: #3b82f6;
  color: var(--ceam-white);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.prep-badge.badge-military {
  background: #10b981;
}

.prep-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--ceam-white);
}

.prep-card p {
  color: #cbd5e1;
  margin-bottom: 24px;
  font-size: 1rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.check-list li i {
  color: var(--ceam-yellow-primary);
  font-size: 1.1rem;
}

/* --- Extra Badges --- */
.pill-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.pill-badge {
  background: var(--ceam-white);
  border: 1px solid var(--ceam-border);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ceam-blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.pill-badge i {
  color: var(--ceam-yellow-primary);
}

/* --- Units Grid --- */
.units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.unit-card {
  background: var(--ceam-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ceam-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.unit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.unit-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.unit-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ceam-blue-dark);
  color: var(--ceam-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.unit-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.unit-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ceam-blue-dark);
  margin-bottom: 12px;
}

.unit-body p {
  font-size: 0.88rem;
  color: var(--ceam-text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.unit-body p i {
  color: var(--ceam-blue-primary);
  margin-top: 4px;
}

.unit-body .btn {
  margin-top: auto;
  padding-top: 14px;
}

/* --- Contact & Enrollment Section --- */
.contact-highlights {
  margin-top: 30px;
}

.ch-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.ch-item i {
  font-size: 1.6rem;
  color: var(--ceam-blue-primary);
  background: var(--ceam-blue-light);
  padding: 12px;
  border-radius: var(--radius-md);
}

.ch-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--ceam-blue-dark);
}

.ch-item span {
  font-size: 0.9rem;
  color: var(--ceam-text-muted);
}

.custom-form {
  background: var(--ceam-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ceam-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ceam-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ceam-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--ceam-text-dark);
  transition: var(--transition);
  background-color: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ceam-blue-primary);
  background-color: var(--ceam-white);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.15);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--ceam-blue-dark);
  color: #c0ccdc;
}

.footer-top {
  padding: 80px 0 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
}

.footer-logo {
  max-height: 120px;
  width: auto;
  margin-bottom: 14px;
}

.footer-slogan {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ceam-yellow-primary);
  margin-bottom: 20px;
}

.legal-box p {
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 6px;
  color: #a0aec0;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ceam-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--ceam-yellow-primary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--ceam-yellow-primary);
}

.footer-links a:hover {
  color: var(--ceam-white);
  transform: translateX(4px);
}

.footer-contact-list li {
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.footer-contact-list strong {
  color: var(--ceam-white);
}

.footer-contact-list span {
  color: #94a3b8;
}

.social-icons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  color: var(--ceam-white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn .social-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px 0;
  background-color: #06152e;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ceam-yellow-primary);
  letter-spacing: 0.5px;
}

.dev-link:hover {
  color: var(--ceam-white);
  text-decoration: underline;
}

/* --- Floating WhatsApp Button & Pulse --- */
.whatsapp-fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-fab-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: #25d366;
  color: var(--ceam-white);
  border: none;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: var(--transition);
}

.whatsapp-fab-btn:hover {
  transform: scale(1.08);
}

.fab-pulse {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulseEffect 2s infinite;
  pointer-events: none;
}

@keyframes pulseEffect {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* --- WhatsApp Modal --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9, 30, 66, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--ceam-white);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  background: #075e54;
  color: var(--ceam-white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.modal-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.2;
}

.modal-brand span {
  font-size: 0.8rem;
  color: #d1fae5;
}

.modal-close {
  background: none;
  border: none;
  color: var(--ceam-white);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9fafb;
}

.wa-unit-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--ceam-white);
  border: 1px solid var(--ceam-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.wa-unit-link:hover {
  border-color: #25d366;
  background: #ecfdf5;
  transform: translateX(4px);
}

.wa-unit-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ceam-blue-dark);
}

.wa-unit-info span {
  font-size: 0.82rem;
  color: var(--ceam-text-muted);
}

.wa-unit-link i {
  color: #25d366;
  font-size: 1.1rem;
}

.modal-footer {
  padding: 12px 20px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ceam-text-muted);
  background: var(--ceam-white);
  border-top: 1px solid var(--ceam-border);
}

/* --- Lightbox --- */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 30px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--ceam-white);
  font-size: 2.5rem;
  cursor: pointer;
}

/* --- Animations & Keyframes --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  
  .mobile-toggle { display: block; }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--ceam-white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .main-nav.open { display: block; }
  
  .main-nav .nav-list {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  
  .hero-title { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  
  .grid-2-cols {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .cards-grid { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
