/* =========================================================
   Fidif School Complex — Global Stylesheet
   Theme: Purple / White / Gold
========================================================= */

:root {
  --purple: #d928a7;
  --purple-deep: #d928a7;
  --purple-soft: #f5f0ff;
  --gold: #d4af37;
  --gold-soft: #f5e6a8;
  --white: #ffffff;
  --ink: #1a1033;
  --muted: #6b6781;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #faf8ff;
  --border: rgba(109, 40, 217, 0.12);
  --shadow-sm: 0 4px 12px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 10px 30px rgba(76, 29, 149, 0.1);
  --shadow-lg: 0 20px 50px rgba(76, 29, 149, 0.18);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1240px;
  --transition: 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg: #0e0820;
  --surface: #1a1033;
  --surface-alt: #1f1640;
  --ink: #f4f1ff;
  --muted: #b5afd0;
  --border: rgba(212, 175, 55, 0.18);
  --purple-soft: #1f1640;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background var(--transition),
    color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}
h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== Top Bar =================== */
.topbar {
  background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  color: #fff;
  font-size: 13px;
  padding: 10px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar .info {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar .info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
}
.topbar .info i {
  color: var(--gold);
}
.topbar .socials {
  display: flex;
  gap: 14px;
}
.topbar .socials a {
  opacity: 0.9;
  transition: var(--transition);
}
.topbar .socials a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* =================== Navbar =================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
[data-theme="dark"] .navbar {
  background: rgba(14, 8, 32, 0.85);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gold);
}
.brand-text {
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--purple);
  display: block;
}
.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  color: var(--ink);
}
.nav-links a:hover {
  color: var(--purple);
  background: var(--purple-soft);
}
.nav-links a.active {
  color: var(--purple);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--ink);
  transition: var(--transition);
}
.theme-toggle:hover {
  background: var(--purple-soft);
  color: var(--purple);
  border-color: var(--gold);
}
.theme-toggle .moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .moon {
  display: inline;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  place-items: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  box-shadow: var(--shadow-md);
  border: 1.5px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.btn-gold {
  background: linear-gradient(135deg, #e8c76a, var(--gold));
  color: #2a1f00;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #2a1f00;
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--ink);
  padding: 10px 16px;
}
.btn-ghost:hover {
  color: var(--purple);
}

/* =================== Hero =================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(76, 29, 149, 0.92) 0%,
    rgba(109, 40, 217, 0.78) 50%,
    rgba(26, 16, 51, 0.7) 100%
  );
}
.hero-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}
.hero-orb.one {
  top: -120px;
  right: -120px;
}
.hero-orb.two {
  bottom: -160px;
  left: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
}

.hero-inner {
  padding: 100px 0;
  max-width: 760px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  margin: 22px 0 18px;
}
.hero h1 .gold {
  color: var(--gold);
  font-style: italic;
}
.hero p.lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  opacity: 0.92;
  max-width: 600px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Hero stats overlay */
.hero-stats {
  position: relative;
  margin-top: -60px;
  z-index: 2;
}
.stats-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--border);
}
.stat:last-child {
  border-right: none;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--purple);
  font-weight: 700;
}
.stat .num .plus {
  color: var(--gold);
}
.stat .label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* =================== Sections =================== */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--surface-alt);
}
.section-purple {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
}
.section-purple h1,
.section-purple h2,
.section-purple h3 {
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  color: var(--gold);
  background: var(--purple-soft);
  border-color: rgba(212, 175, 55, 0.3);
}
[data-theme="dark"] .section-head .eyebrow {
  background: rgba(212, 175, 55, 0.1);
}
.section-head h2 {
  margin: 16px 0 14px;
}
.section-head .gold-line {
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.section-head p {
  color: var(--muted);
}
.section-purple .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

/* =================== Cards =================== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transition: width var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}
.card:hover::before {
  width: 100%;
}
.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 24px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}
.card h3 {
  margin-bottom: 10px;
  color: var(--ink);
}
.card p {
  color: var(--muted);
  font-size: 15px;
}

/* Glassmorphism cards (Teachers, About) */
.glass-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(245, 240, 255, 0.5));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .glass-card {
  background: linear-gradient(160deg, rgba(76, 29, 149, 0.32), rgba(26, 16, 51, 0.55));
  border-color: rgba(212, 175, 55, 0.3);
}
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 24px 60px rgba(76, 29, 149, 0.18),
    0 0 0 1px rgba(212, 175, 55, 0.5);
}

/* =================== Staff (Teachers) =================== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.staff-card {
  text-align: center;
}
.staff-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  position: relative;
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
}
.staff-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--purple);
  margin-bottom: 4px;
}
[data-theme="dark"] .staff-name {
  color: var(--gold);
}
.staff-role {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.staff-subject {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0;
  font-style: italic;
}
.staff-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.staff-section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--purple);
  margin: 0 0 8px;
}
[data-theme="dark"] .staff-section-title {
  color: var(--gold);
}
.staff-section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* =================== Academics =================== */
.level-card {
  padding: 32px;
}
.level-card .level-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.level-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.level-card .subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.level-card .subjects span {
  background: var(--surface-alt);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--border);
}
.level-card ul.highlights {
  margin-top: 14px;
}
.level-card ul.highlights li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}
.level-card ul.highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  top: 0;
}

.hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface);
}
.hours-table th,
.hours-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.hours-table th {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  font-weight: 600;
}
.hours-table tr:last-child td {
  border-bottom: none;
}
.hours-table tr:hover td {
  background: var(--purple-soft);
}

/* =================== Why-choose feature row =================== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* =================== Testimonials =================== */
.testimonials {
  position: relative;
}
.testimonial-track {
  display: flex;
  overflow: hidden;
}
.testimonial {
  min-width: 100%;
  padding: 40px;
  text-align: center;
  transition: opacity 600ms ease;
  -webkit-transition: opacity 600ms ease;
  -moz-transition: opacity 600ms ease;
  -ms-transition: opacity 600ms ease;
  -o-transition: opacity 600ms ease;
}
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 14px;
}
.testimonial p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 20px;
  font-style: italic;
  color: var(--ink);
}
.testimonial .author {
  font-weight: 600;
  color: var(--purple);
}
[data-theme="dark"] .testimonial .author {
  color: var(--gold);
}
.testimonial .role {
  font-size: 13px;
  color: var(--muted);
}
.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}
.dots button.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* =================== Image grid =================== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.image-grid .photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}
.image-grid .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.image-grid .photo:hover img {
  transform: scale(1.08);
}
.image-grid .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(76, 29, 149, 0.55));
  opacity: 0;
  transition: var(--transition);
}
.image-grid .photo:hover::after {
  opacity: 1;
}

/* =================== Gallery =================== */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-bar button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}
.filter-bar button:hover {
  border-color: var(--gold);
  color: var(--purple);
}
.filter-bar button.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.gallery-grid {
  columns: 3 280px;
  column-gap: 18px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 600ms ease;
  display: block;
}
.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 8, 32, 0.95);
  display: none;
  place-items: center;
  z-index: 999;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.lightbox.active {
  display: grid;
  animation: fadeIn 0.3s ease;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}
.lightbox button {
  position: absolute;
  color: #fff;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.4);
  transition: var(--transition);
}
.lightbox button:hover {
  background: var(--gold);
  color: #2a1f00;
}
.lb-close {
  top: 24px;
  right: 24px;
}
.lb-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* =================== About content blocks =================== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse {
  grid-template-columns: 1fr 1.1fr;
}
.split .media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}
.split .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split .media::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: translate(14px, 14px);
  opacity: 0.55;
}
.split h2 {
  margin-bottom: 18px;
}
.split .gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 18px;
  border-radius: 2px;
}
.split p {
  color: var(--muted);
  margin-bottom: 14px;
}
.split ul.checks li {
  position: relative;
  padding-left: 32px;
  margin: 10px 0;
  color: var(--ink);
}
.split ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1f00;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}

/* =================== Contact =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.contact-info-item .ico {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 15px;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.form .field {
  display: grid;
  gap: 6px;
}
.form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form input,
.form textarea,
.form select {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}
.form textarea {
  min-height: 130px;
  resize: vertical;
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--purple);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 200;
  font-weight: 500;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =================== CTA Band =================== */
.cta-band {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 60%);
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 6px;
}

/* =================== Page Header =================== */
.page-header {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before,
.page-header::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.page-header::before {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -180px;
  left: -120px;
  opacity: 0.25;
}
.page-header::after {
  width: 360px;
  height: 360px;
  background: #fff;
  bottom: -200px;
  right: -120px;
  opacity: 0.12;
}
.page-header h1 {
  color: #fff;
  position: relative;
}
.page-header p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  position: relative;
}
.breadcrumb {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  font-size: 14px;
  opacity: 0.9;
  position: relative;
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb .sep {
  color: var(--gold);
}

/* =================== Footer =================== */
.footer {
  background: linear-gradient(135deg, #1a1033, #0e0820);
  color: #c9c3df;
  padding: 70px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.footer .brand .logo {
  background: linear-gradient(135deg, var(--gold), #b8941f);
  color: #2a1f00;
}
.footer .brand-text strong {
  color: #fff;
}
.footer .brand-text small {
  color: var(--gold);
}
.footer p,
.footer a {
  color: #c9c3df;
  font-size: 14px;
  line-height: 1.8;
}
.footer a:hover {
  color: var(--gold);
}
.footer ul li {
  margin: 6px 0;
}
.footer .info-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 10px 0;
}
.footer .info-line i {
  color: var(--gold);
  margin-top: 4px;
}
.footer .socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer .socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: var(--transition);
}
.footer .socials a:hover {
  background: var(--gold);
  color: #2a1f00;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #9d97b4;
}

/* =================== Floating Buttons =================== */
.float-whatsapp,
.float-top {
  position: fixed;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  color: #fff;
  font-size: 22px;
}
.float-whatsapp {
  bottom: 24px;
  background: #25d366;
}
.float-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
}
.float-top {
  bottom: 90px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  border: 1.5px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  font-size: 18px;
}
.float-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.float-top:hover {
  transform: translateY(-4px);
}

/* =================== Responsive =================== */
@media (max-width: 1024px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
  }
  .stat:nth-last-child(-n + 2) {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .topbar .info span:nth-child(2) {
    display: none;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 12px 14px;
  }
  .hamburger {
    display: grid;
  }
  .nav-actions .btn {
    display: none;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 0;
  }
  .hero {
    min-height: 78vh;
  }
  .hero-inner {
    padding: 60px 0;
  }
  .row-2 {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    columns: 2 160px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cta-band .container {
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .stats-card {
    grid-template-columns: 1fr 1fr;
    padding: 22px;
  }
  .gallery-grid {
    columns: 1;
  }
  h1 {
    font-size: 2rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
