/* =========================================================
   VIVA EVENTS — GLOBAL LUXURY UI (FINAL)
   Covers: Index + Packages + About (and reusable for all pages)
   Navy + Gold | 3D Panels | Centered Layout | Unified Buttons
========================================================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

/* =========================
   TOKENS
========================= */
:root{
  --font-display:"Playfair Display",serif;
  --font-body:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  --radius-xl:42px;
  --radius-lg:28px;
  --radius-md:20px;

  --gold:#d4af37;
  --gold2:#f2d47b;

  --ease:cubic-bezier(.2,.8,.2,1);

  --shadow-1:0 40px 90px rgba(0,0,0,.55);
  --shadow-2:0 22px 55px rgba(0,0,0,.40);
  --shadow-3:0 12px 28px rgba(0,0,0,.28);
}

/* =========================
   THEME TOKENS
========================= */
html[data-theme="dark"]{
  --bg:#0b1220;
  --bg2:#0e1a30;

  --text:#eaf0ff;
  --muted:#b9c3da;

  --panel:rgba(15,29,53,.78);
  --card:rgba(15,29,53,.62);

  --line:rgba(212,175,55,.30);

  --glow:
    radial-gradient(1200px 700px at 18% 12%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(900px 560px at 80% 10%, rgba(124,195,255,.12), transparent 55%);
}

html[data-theme="light"]{
  --bg:#ffffff;
  --bg2:#f5f6fb;

  --text:#131827;
  --muted:#5b667f;

  --panel:linear-gradient(180deg,#f7f7fb,#ececf4);
  --card:linear-gradient(180deg,#ffffff,#f3f4f8);

  --line:rgba(212,175,55,.45);

  --glow:none;
}

/* =========================
   RESET
========================= */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:
    var(--glow),
    linear-gradient(180deg,var(--bg),var(--bg2));
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
p{margin:0}
ul{margin:0;padding-left:18px}
li{margin:.35rem 0}

/* =========================
   LAYOUT
========================= */
.container{
  width:min(1200px,92%);
  margin-inline:auto;
}
.section{
  padding:72px 0; /* tighter + premium */
}

/* =========================
   TYPOGRAPHY
========================= */
h1,h2,h3{
  font-family:var(--font-display);
  margin:0;
}
h1{
  font-size:clamp(2.25rem,4.2vw,3.6rem);
  line-height:1.06;
  letter-spacing:-.01em;
}
h2{
  font-size:clamp(1.65rem,2.9vw,2.55rem);
  line-height:1.12;
}
h3{
  font-size:1.25rem;
  line-height:1.2;
}
.small{
  font-size:.96rem;
  line-height:1.75;
  color:var(--muted);
}
.lead{
  font-size:1.05rem;
  line-height:1.78;
  max-width:820px;
  margin:14px auto 0;
}
.brand-name{ color:var(--gold); }

/* =========================
   PILL / KICKER / BADGES
========================= */
.kicker{
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--gold);
}
.pill{
  display:inline-block;
  padding:9px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(212,175,55,.08);
}
.badges{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}
.badge{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(212,175,55,.08);
  font-size:.78rem;
  font-weight:700;
}

/* =========================
   UNIFIED BUTTONS (LIKE YOUR SCREENSHOT)
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:56px;
  min-width:210px;
  padding:0 34px;

  border-radius:999px;
  font-family:var(--font-body);
  font-size:1rem;
  font-weight:750;

  color:var(--text);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1.6px solid rgba(212,175,55,.78);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 30px rgba(0,0,0,.35);

  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg, rgba(212,175,55,.18), rgba(212,175,55,.08));
  border-color:rgba(212,175,55,1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 20px 46px rgba(0,0,0,.45);
}
.btn:active{
  transform:translateY(0);
  box-shadow:0 10px 22px rgba(0,0,0,.32);
}

/* Light mode */
html[data-theme="light"] .btn{
  color:#131827;
  background:linear-gradient(180deg,#ffffff,#f3f4f8);
  border-color:rgba(212,175,55,.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 12px 26px rgba(0,0,0,.18);
}

/* =========================
   3D PANELS (ALL PAGES)
========================= */
.panel-3d{
  position:relative;
  border-radius:var(--radius-xl);
  padding:clamp(36px,5vw,72px);

  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--shadow-1);

  text-align:center;
  overflow:hidden;
}

/* Luxury gold top/bottom lines */
.panel-3d::before,
.panel-3d::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:92%;
  height:2px;
  background:linear-gradient(to right, transparent, var(--gold2), var(--gold), var(--gold2), transparent);
}
.panel-3d::before{ top:-1px; }
.panel-3d::after{ bottom:-1px; }

/* Hero gets slightly deeper gradient */
.panel-hero{
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(212,175,55,.18), transparent 60%),
    linear-gradient(135deg, #162a4d, #0b1220);
}
html[data-theme="light"] .panel-hero{
  background:linear-gradient(180deg,#ffffff,#f3f4f8);
}

/* CTA slightly tighter */
.panel-cta{
  padding:clamp(32px,4.2vw,62px);
}

/* Page hero used on Packages/About (same look) */
.panel-page-hero{
  padding:clamp(38px,4.8vw,70px);
}

/* =========================
   SECTION HEAD
========================= */
.section-head{
  max-width:860px;
  margin:0 auto 40px;
}
.section-head h1,
.section-head h2{
  margin-top:14px;
}
.section-head p{
  margin-top:10px;
}

/* =========================
   CARDS (3D)
========================= */
.card-3d{
  background:var(--card);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-2);
  padding:28px 26px;
  text-align:center;

  transition:transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card-3d:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-1);
  border-color:rgba(242,212,123,.9);
}
.icon{ font-size:1.55rem; margin-bottom:10px; }
.step{ color:var(--gold); font-weight:900; }

/* =========================
   GRIDS
========================= */
.grid{ display:grid; gap:22px; justify-items:center; }

.features{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  align-items:stretch;
}
.process-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

/* =========================
   ACTIONS (CENTERED ALWAYS)
========================= */
.actions{
  margin-top:30px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
}

/* =========================
   HERO CENTER LAYOUT (INDEX)
========================= */
.hero-center{
  max-width:980px;
  margin:0 auto;
}
.hero-center .lead{ margin-top:16px; }
.hero-center .small{ max-width:900px; margin:10px auto 0; }

.hero-media{
  margin-top:26px;
  display:flex;
  justify-content:center;
}



.hero-overlay{
  position:absolute;
  left:16px; right:16px; bottom:16px;
}


/* =========================
   PACKAGES PRICING
========================= */
.pricing{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  align-items:stretch;
}

.price-card .price{
  margin:10px 0 6px;
  font-family:var(--font-display);
  font-size:1.55rem;
  color:var(--gold2);
  letter-spacing:.01em;
}
.price-card .list{
  text-align:left;
  max-width:520px;
  margin:14px auto 0;
  padding-left:18px;
}
.price-card.featured{
  border-color:rgba(242,212,123,.98);
  box-shadow:
    0 36px 90px rgba(212,175,55,.40),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.mini-badge{
  display:inline-block;
  margin:0 auto 10px;
  padding:7px 14px;
  border-radius:999px;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  border:1px solid rgba(242,212,123,.65);
  background:rgba(212,175,55,.10);
}
.note{
  margin-top:26px;
  opacity:.92;
}

/* =========================
   ABOUT PAGE
========================= */
.about-split{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  margin-top:20px;
}

.about-why{
  max-width:900px;
  margin:34px auto 0;
}
.about-why .list{
  text-align:left;
  max-width:620px;
  margin:14px auto 10px;
}

/* =========================
   (OPTIONAL) SAFER DEFAULTS
========================= */
::selection{ background:rgba(212,175,55,.25); }


/* =========================================================
   CONTACT FORM — LUXURY FLOATING LABELS + GOLD OUTLINE
========================================================= */


.contact-page .section-head,
.contact-page .contact-info,
.contact-page .contact-box{
  text-align:center;
}

/* CONTACT pill */
.contact-page .kicker{
  display:inline-block;
  margin-bottom:14px; /* was too tight */
}

/* Main title */
.contact-page h2{
  margin-bottom:16px; /* tighten gap */
}

/* Lead paragraph */
.contact-page .lead{
  margin:0 auto 14px;
  max-width:520px;
  line-height:1.6;
}

/* Email + phone */
.contact-page .info-list{
  margin-top:10px;
}

.contact-page .info-list p{
  margin:4px 0; /* remove big vertical gaps */
}

/* Location line */
.contact-page .note{
  margin-top:14px;
  font-size:.85rem;
  opacity:.9;
}

/* Space before form container */
.contact-page .contact-box{
  padding-top:52px; /* aligns with index sections */
}


.contact-form{
  max-width:680px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px 22px;
}

/* Full width fields */
.contact-form .field.full{
  grid-column:1 / -1;
}

/* Field wrapper */
.contact-form .field{
  position:relative;
}

/* Inputs */
.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding:18px 16px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.05);
  border:2px solid rgba(212,175,55,.55); /* ✅ thicker gold */
  color:var(--text);
  font-size:.95rem;
  font-family:var(--font-body);
  transition:all .25s ease;
}

/* Remove white browser styles */
.contact-form select option{
  background:#0b1220;
  color:#fff;
}

/* Floating label */
.contact-form label{
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  pointer-events:none;
  transition:all .25s ease;
  background:transparent;
}

/* When focused or filled */
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label,
.contact-form select:focus + label,
.contact-form select:valid + label{
  top:-8px;
  left:14px;
  font-size:.65rem;
  color:var(--gold);
  background:#0b1220;
  padding:0 6px;
}

/* Focus glow */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(212,175,55,.28);
}

/* Textarea */
.contact-form textarea{
  min-height:140px;
  resize:vertical;
}

/* Button spacing */
.contact-form .btn{
  grid-column:1 / -1;
  margin-top:12px;
}

/* Terms */
.contact-form .terms{
  grid-column:1 / -1;
  margin-top:6px;
  font-size:.75rem;
  color:var(--muted);
  text-align:center;
}

.contact-form .terms a{
  color:var(--gold);
}




/* ======================================================
   VIVA EVENTS — LIGHT MODE (PROFESSIONAL & LUXURY)
   Applies to ALL pages
====================================================== */

html[data-theme="light"] body{
  background:
    linear-gradient(180deg,#ffffff,#f4f6fb);
  color:#131827;
}

/* =========================
   GLOBAL TEXT
========================= */
html[data-theme="light"]{
  --text:#131827;
  --muted:#5b667f;
}



/* =========================================================
   FOOTER — FINAL CLEAN LUXURY (CENTERED & FIXED)
========================================================= */

.site-footer-bar{
  position:relative;
  margin-top:120px;
  padding:80px 0 40px;

  background:
    radial-gradient(900px 400px at 50% 0%, rgba(212,175,55,.12), transparent 60%),
    linear-gradient(180deg,#0b1220,#0a1426);

  border-top:1px solid rgba(212,175,55,.35);
}

/* ================= FOOTER CARD ================= */

.footer-inner{
  position:relative;
  max-width:1100px;
  margin:0 auto;

  padding:64px 28px 48px;

  display:flex;
  flex-direction:column;
  gap:40px;

  align-items:center;
  text-align:center;

  background:rgba(15,29,53,.55);
  border:1px solid rgba(212,175,55,.35);
  border-radius:36px;

  box-shadow:
    0 40px 90px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.04);

  overflow:hidden;
}

/* Gold edge (top + bottom) */
.footer-inner::before,
.footer-inner::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:92%;
  height:2px;

  background:linear-gradient(
    to right,
    transparent,
    var(--gold2),
    var(--gold),
    var(--gold2),
    transparent
  );
}
.footer-inner::before{ top:-1px; }
.footer-inner::after{ bottom:-1px; }

/* =====================================
   FOOTER BRAND — 3D LUXURY TITLE
===================================== */

.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* Viva Events title */
.footer-brand strong{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: .6px;

  color: var(--gold);

  /* Subtle professional 3D depth */
  text-shadow:
    0 1px 0 rgba(255,255,255,.25),
    0 4px 10px rgba(0,0,0,.45),
    0 14px 28px rgba(0,0,0,.55);

  position: relative;
}

/* Elegant gold underline */
.footer-brand strong::after{
  content:"";
  display:block;
  margin:10px auto 0;
  width:56px;
  height:2px;

  background: linear-gradient(
    to right,
    transparent,
    var(--gold2),
    var(--gold),
    var(--gold2),
    transparent
  );
  opacity:.85;
}

/* Subtitle */
.footer-brand .brand-sub{
  margin-top:6px;
  font-size:.75rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
}

/* ================= LIGHT MODE ================= */

html[data-theme="light"] .footer-brand strong{
  color:#131827;
  text-shadow:
    0 1px 0 rgba(255,255,255,.9),
    0 4px 12px rgba(0,0,0,.18);
}

html[data-theme="light"] .footer-brand strong::after{
  opacity:.6;
}


/* ================= NAV ================= */

.footer-nav{
  display:flex;
  gap:26px;
  flex-wrap:wrap;
  justify-content:center;
}

.footer-nav a{
  position:relative;
  font-size:.9rem;
  font-weight:600;
  color:#fff;
}

.footer-nav a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-6px;
  width:0;
  height:2px;
  background:linear-gradient(to right,var(--gold2),var(--gold));
  transform:translateX(-50%);
  transition:width .25s ease;
}

.footer-nav a:hover::after{
  width:100%;
}

/* ================= SOCIAL ================= */

.footer-social-wrap{
  width:100%;
  max-width:520px;
  margin-top:6px;

  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:center;
}

.social-label{
  font-size:.75rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--gold);
}

.footer-social{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
}

.footer-social a{
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;

  color:var(--gold);
  border:1.5px solid rgba(212,175,55,.55);
  background:rgba(212,175,55,.05);

  transition:
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.footer-social a:hover{
  transform:translateY(-3px);
  background:rgba(212,175,55,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}

/* ================= LEGAL ================= */

.footer-legal{
  max-width:720px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}

.footer-legal a{
  font-size:.85rem;
  color:var(--muted);
}

.footer-legal a:hover{
  color:var(--gold);
}

.footer-legal .legal-text{
  font-size:.8rem;
  line-height:1.6;
  color:var(--muted);
  opacity:.85;
  max-width:680px;
}

/* ================= COPYRIGHT (FIXED CENTER) ================= */

.footer-bottom-bar{
  width:100%;
  margin-top:28px;
  padding-top:18px;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:center;

  border-top:1px solid rgba(212,175,55,.25);
  font-size:.75rem;
  color:var(--muted);
}

.footer-bottom-bar p{
  margin:0;
  max-width:900px;
}

.footer-bottom-bar strong{
  color:var(--gold);
}

/* ================= LIGHT MODE ================= */

html[data-theme="light"] .site-footer-bar{
  background:linear-gradient(180deg,#ffffff,#f3f4f8);
}

html[data-theme="light"] .footer-inner{
  background:linear-gradient(180deg,#ffffff,#f1f3f8);
  box-shadow:0 28px 70px rgba(0,0,0,.15);
}

html[data-theme="light"] .footer-nav a,
html[data-theme="light"] .footer-legal a{
  color:#131827;
}

html[data-theme="light"] .footer-desc,
html[data-theme="light"] .legal-text{
  color:#5b667f;
}

html[data-theme="light"] .footer-social a{
  color:#131827;
  background:#fff;
}



/* =========================================
   GALLERY — FORCE ALL IMAGES SAME SIZE
========================================= */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
  margin-top:32px;
}

/* 🔥 THIS IS THE IMPORTANT PART */
.gallery-grid img{
  width:100%;
  aspect-ratio: 4 / 3;        /* ✅ SAME HEIGHT & WIDTH */
  object-fit:cover;           /* ✅ CROP, NOT STRETCH */
  display:block;

  border-radius:22px;
  border:1.5px solid rgba(212,175,55,.45);

  box-shadow:
    0 20px 45px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.05);

  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s cubic-bezier(.2,.8,.2,1);
}

/* HOVER (OPTIONAL BUT NICE) */
.gallery-grid img:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 70px rgba(0,0,0,.6);
}

/* MOBILE */
@media (max-width: 900px){
  .gallery-grid{
    grid-template-columns:1fr;
  }
}


/* ======================================================
   TERMS & PRIVACY — 3D GOLD EDGE FIX (INDEX MATCH)
====================================================== */

/* Ensure container is positioned correctly */
.terms-3d,
.panel-3d {
  position: relative;
  overflow: hidden;
}

/* CLEAN gold top edge */
.terms-3d::before,
.panel-3d::before {
  content: "";
  position: absolute;
  top: 0;                 /* 🔥 flush to top */
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  height: 2px;            /* thinner = luxury */
  background: linear-gradient(
    to right,
    transparent,
    var(--gold2),
    var(--gold),
    var(--gold2),
    transparent
  );
  opacity: 0.9;
  pointer-events: none;
}

/* Optional subtle glow (NOT thick) */
.terms-3d::after,
.panel-3d::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(212,175,55,.25),
    transparent 70%
  );
  opacity: 0.35;
  pointer-events: none;
}

/* Remove inner gold clashes */
.terms-3d {
  border-top: 1px solid rgba(212,175,55,.35);
}



/* =========================================================
   VIVA EVENTS — HEADER FOCUS UPGRADE
========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:
    linear-gradient(90deg,#0b1220 0%, #0e1a30 50%, #0b1220 100%);
  border-bottom:1px solid rgba(212,175,55,.28);
  box-shadow:
    0 18px 45px rgba(0,0,0,.55),
    inset 0 -1px 0 rgba(255,255,255,.04);
}

/* =========================
   NAVBAR – MORE BREATHING ROOM
========================= */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:18px 0;
}

/* =========================
   BRAND – PRIMARY HERO
========================= */
.brand{
  display:flex;
  align-items:center;
  gap:18px;
  text-decoration:none;
  color:#fff;
}

/* =========================
   HEADER LOGO — FIXED
========================= */

.brand .logo{
  width:56px;
  height:56px;
  border-radius:50%;
  background:#ffffff;              /* clean white logo base */
  display:flex;
  align-items:center;
  justify-content:center;

  border:2px solid rgba(212,175,55,.55);

  box-shadow:
    0 8px 20px rgba(0,0,0,.45),
    inset 0 0 0 2px rgba(212,175,55,.35);
}

/* LOGO IMAGE ITSELF */
.brand .logo img{
  width:78%;                       /* 🔥 prevents cropping */
  height:78%;
  object-fit:contain;              /* 🔥 NO CUT */
  display:block;
}
/* =========================================================
   MOBILE — HEADER + MENU + THEME TOGGLE (FINAL CLEAN)
========================================================= */
@media (max-width: 768px){

  /* ================= HEADER ================= */
  .desktop-nav{
    display:none;
  }

  .theme-toggle{
    display:none; /* hide desktop toggle */
  }

  .hamburger{
    display:flex;
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);

    width:46px;
    height:46px;

    border-radius:10px;
    border:1px solid rgba(212,175,55,.35);
    background:rgba(212,175,55,.08);

    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
  }

  .hamburger span{
    width:26px;
    height:3px;
    border-radius:3px;
    background:var(--gold);
  }

  /* ================= MOBILE MENU CONTAINER ================= */
  .mobile-menu{
    position:fixed;
    inset:0;
    z-index:3000;

    display:flex;
    flex-direction:column;
    align-items:center;

    padding:32px 20px;

    background:linear-gradient(180deg,#0b1220,#0e1a30);

    transform:translateX(110%);
    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:transform .4s ease, opacity .3s ease;
  }

  .mobile-menu.open{
    transform:translateX(0);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  body.menu-open{
    overflow:hidden;
  }

  /* ================= LOGO / BRAND ================= */
  .mobile-menu-header{
    width:100%;
    max-width:420px;
    text-align:center;
    margin-top:20px;
    margin-bottom:18px;
  }

  .mobile-menu-header img{
    width:86px;
    height:86px;
    border-radius:50%;
    object-fit:cover;

    border:2px solid rgba(212,175,55,.45);
    box-shadow:0 14px 35px rgba(0,0,0,.45);

    margin:0 auto 12px;
  }

  .mobile-menu-header h3{
    margin:0;
    font-family:var(--font-display);
    font-size:1.6rem;
    color:#fff;
  }

  .mobile-menu-header span{
    display:block;
    margin-top:6px;
    font-size:.75rem;
    letter-spacing:.2em;
    color:var(--gold);
  }

  /* ================= THEME TOGGLE (CENTERED) ================= */
  .mobile-menu-actions{
    width:100%;
    max-width:420px;

    display:flex;
    justify-content:center;
    margin:24px 0 30px;
  }

  .mobile-menu-actions .theme-toggle{
    display:flex;
    width:54px;
    height:54px;

    align-items:center;
    justify-content:center;

    border-radius:50%;
    cursor:pointer;

    background:
      radial-gradient(circle at 30% 30%, rgba(212,175,55,.25), transparent 60%),
      linear-gradient(180deg,#0f1d35,#0b1220);

    border:2px solid rgba(212,175,55,.85);

    box-shadow:
      inset 0 2px 4px rgba(255,255,255,.15),
      0 10px 30px rgba(0,0,0,.55);
  }

  .mobile-menu-actions .theme-toggle i{
    font-size:1.35rem;
    color:#ffd86b;
  }

  html[data-theme="light"] .mobile-menu-actions .theme-toggle{
    background:linear-gradient(180deg,#ffffff,#f1f3f8);
  }

  html[data-theme="light"] .mobile-menu-actions .theme-toggle i{
    color:#131827;
  }

  /* ================= NAV BUTTONS ================= */
  .mobile-menu-nav{
    width:100%;
    max-width:420px;

    display:flex;
    flex-direction:column;
    gap:16px;
  }

  .mobile-menu-nav a{
    width:100%;
    padding:16px;

    border-radius:18px;
    text-align:center;
    font-weight:700;

    background:linear-gradient(180deg,#0f1d35,#0b1220);
    border:1.5px solid rgba(212,175,55,.45);

    opacity:1;
  }

  html[data-theme="light"] .mobile-menu-nav a{
    background:linear-gradient(180deg,#ffffff,#f2f4f9);
  }
}


/* =========================================
   EQUAL HEIGHT CARD SYSTEM (GLOBAL FIX)
========================================= */

/* Grid wrapper – applies to ALL these sections */
.equal-grid,
.features,
.process-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch; /* 🔥 KEY */
}

/* Card base */
.equal-card,
.features .card-3d,
.process-grid .card-3d,
.values-grid .card-3d {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  height: 100%;              /* 🔥 FORCE SAME HEIGHT */
  padding: 34px 26px;
  border-radius: 32px;

  text-align: center;
}

/* Icon / number area */
.equal-card .icon,
.process-grid .step {
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* Title – same vertical space */
.equal-card h3,
.features h3,
.process-grid h3,
.values-grid h3 {
  min-height: 3.2em;         /* 🔥 aligns titles */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Text content fills remaining space */
.equal-card p,
.features p,
.process-grid p,
.values-grid p {
  flex-grow: 1;              /* 🔥 fills evenly */
  line-height: 1.6;
  max-width: 95%;
  margin: 0 auto;
}

/* =========================================
   MOBILE STACK (CLEAN)
========================================= */
@media (max-width: 900px) {
  .equal-grid,
  .features,
  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .equal-card h3,
  .features h3,
  .process-grid h3,
  .values-grid h3 {
    min-height: auto;
  }
}
/* ===============================
   ABOUT PAGE — HERO SPLIT FIX
=============================== */

.about-split{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:26px;
  align-items:stretch; /* 🔥 forces equal height */
}

/* cards inside */
.about-split .card-3d{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;

  height:100%;               /* 🔥 equal height */
  padding:36px 28px;

  border-radius:34px;
  text-align:center;
}

/* titles */
.about-split h3{
  margin-bottom:14px;
}

/* text */
.about-split p{
  line-height:1.65;
}

/* ===============================
   MOBILE
=============================== */
@media (max-width:768px){
  .about-split{
    grid-template-columns:1fr;
  }

  .about-split .card-3d{
    height:auto;
  }
}

/* =====================================================
   GLOBAL CARD & CONTAINER SIZE FIX — ALL SECTIONS
   Applies to: About / Values / Services / Process / Pricing
===================================================== */

/* ---------- ALL GRIDS ---------- */
.grid,
.about-split,
.features,
.process-grid,
.pricing{
  display:grid;
  align-items:stretch;     /* 🔥 forces equal height */
}

/* ---------- ALL CARDS ---------- */
.card-3d,
.price-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;

  height:100%;             /* 🔥 same height everywhere */
  padding:36px 28px;

  border-radius:34px;
  text-align:center;
}

/* ---------- HEADINGS SAME SPACE ---------- */
.card-3d h3,
.price-card h3{
  min-height:3em;          /* 🔥 prevents uneven titles */
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}

/* ---------- TEXT FILLS SPACE ---------- */
.card-3d p,
.price-card .small{
  flex-grow:1;             /* 🔥 equal vertical fill */
  line-height:1.6;
}

/* ---------- LISTS FILL REMAINING SPACE ---------- */
.card-3d ul,
.price-card ul{
  flex-grow:1;
  text-align:left;
  padding-left:18px;
}

/* ---------- ICONS / NUMBERS ---------- */
.card-3d .icon,
.card-3d .step{
  margin-bottom:10px;
}

/* =====================================================
   MOBILE — STACK CLEANLY
===================================================== */
@media (max-width:768px){

  .grid,
  .about-split,
  .features,
  .process-grid,
  .pricing{
    grid-template-columns:1fr;
  }

  .card-3d,
  .price-card{
    height:auto;
  }

  .card-3d h3,
  .price-card h3{
    min-height:auto;
  }
}
