/* ============================================================
   Divyansh AI Labs — style.css
   Theme: Deep navy + gold, glassmorphism, premium dark UI
   ============================================================ */

:root {
  --navy: #003c72;
  --navy-dark: #002140;
  --navy-deep: #001529;
  --gold: #fdd707;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --radius: 18px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: #000; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

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

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600;
  font-size: 15px; border: none; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .3s ease, gap .3s ease;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: #fff; gap: 12px; }
.btn-dark { background: #000; color: var(--gold); }
.btn-dark:hover { background: var(--navy-deep); }
.btn-outline { border: 1px solid rgba(255,255,255,.25); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-gold-outline:hover { background: var(--gold); color: #000; }

/* ---------- Section helpers ---------- */
.section { padding: 110px 0; position: relative; }
.section-dark { background: var(--navy-dark); }
.section-deep { background: var(--navy-deep); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 12px; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.heading { font-size: clamp(30px, 4.5vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; }
.subtext { color: var(--muted); font-weight: 300; margin-top: 20px; max-width: 640px; font-size: 17px; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .subtext { margin-left: auto; margin-right: auto; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(0, 21, 41, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 66px; width: 66px; object-fit: contain; transition: transform .4s ease; }
.brand:hover img { transform: scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 20px; letter-spacing: .04em; }
.brand-text small { font-size: 11px; letter-spacing: .24em; color: var(--gold); }
.nav-links { display: flex; gap: 34px; }
.nav-link { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.8); position: relative; transition: color .3s; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--gold); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .3s; }
.nav-link:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; gap: 18px; padding: 24px; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.1); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,21,41,.7), rgba(0,21,41,.65) 45%, var(--navy-deep)); }
.hero-inner { position: relative; z-index: 2; padding: 140px 0 80px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 28px; padding: 8px 16px; }
.hero-badge i { color: var(--gold); }
.hero h1 { font-size: clamp(42px, 7vw, 90px); font-weight: 800; line-height: .98; letter-spacing: -0.03em; }
.hero h1 .accent { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 600; color: var(--gold); }
.hero p { margin-top: 28px; max-width: 560px; color: rgba(255,255,255,.72); font-weight: 300; font-size: 18px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.float-shape { position: absolute; border-radius: 50%; background: rgba(253,215,7,.1); filter: blur(40px); z-index: 1; }
.float-shape.s1 { width: 160px; height: 160px; right: 10%; top: 22%; }
.float-shape.s2 { width: 120px; height: 120px; left: 6%; bottom: 18%; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); background: var(--navy-dark); padding: 30px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-size: clamp(30px, 5vw, 60px); font-weight: 800; color: rgba(255,255,255,.1); text-transform: uppercase; }
.marquee .dot { color: var(--gold); font-family: "Cormorant Garamond", serif; font-style: italic; }

/* ---------- Grid layouts ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.mt-16 { margin-top: 64px; }

/* ---------- Why choose cards ---------- */
.why-card { padding: 28px; transition: transform .5s ease, border-color .5s ease; }
.why-card:hover { transform: translateY(-8px); border-color: rgba(253,215,7,.5); }
.icon-badge { width: 56px; height: 56px; border-radius: 16px; background: rgba(253,215,7,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background-color .4s; }
.icon-badge i { color: var(--gold); font-size: 22px; transition: color .4s; }
.why-card:hover .icon-badge { background: var(--gold); }
.why-card:hover .icon-badge i { color: #000; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ---------- Manifesto ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-media { position: relative; border-radius: 24px; overflow: hidden; margin-top: 36px; }
.about-media img { height: 320px; width: 100%; object-fit: cover; }
.about-badge { position: absolute; bottom: 16px; left: 16px; padding: 12px 18px; }
.about-badge strong { color: var(--gold); font-size: 24px; display: block; }
.about-badge span { color: var(--muted); font-size: 12px; }
.manifesto-list { display: flex; flex-direction: column; gap: 28px; }
.manifesto-card { position: relative; padding: 36px; overflow: hidden; }
.manifesto-num { position: absolute; top: -14px; right: 24px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 110px; color: rgba(255,255,255,.08); }
.gold-bar { width: 40px; height: 4px; background: var(--gold); margin-bottom: 22px; }
.manifesto-card h3 { font-size: 26px; margin-bottom: 12px; }
.manifesto-card p { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { text-align: center; }
.stat-num { font-size: clamp(38px, 5vw, 60px); font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }
.stat p { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin-top: 8px; }

/* ---------- Courses ---------- */
.courses-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.search-box { position: relative; width: 320px; max-width: 100%; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.4); }
.search-box input { width: 100%; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15); padding: 13px 20px 13px 44px; color: #fff; outline: none; transition: border-color .3s; font-family: inherit; }
.search-box input:focus { border-color: var(--gold); }
.course-card { padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s ease, border-color .5s ease; }
.course-card:hover { transform: translateY(-8px); }
.course-card.glass:hover { border-color: rgba(253,215,7,.5); }
.course-card.highlight { background: var(--gold); color: #000; }
.ribbon { position: absolute; z-index: 3; right: -40px; top: 24px; transform: rotate(45deg); background: #000; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 4px 48px; }
.course-media { position: relative; margin: -28px -28px 30px; height: 176px; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.course-card:hover .course-media img { transform: scale(1.1); }
.course-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--navy-deep), rgba(0,21,41,.4) 55%, transparent); }
.course-card.highlight .course-media::after { background: linear-gradient(to top, var(--gold), rgba(253,215,7,.35) 55%, transparent); }
.duration { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; backdrop-filter: blur(6px); }
.course-card.highlight .duration { left: 16px; right: auto; background: rgba(0,0,0,.8); color: var(--gold); }
.course-icon { position: absolute; z-index: 2; bottom: -22px; left: 28px; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--navy-deep); border: 1px solid rgba(255,255,255,.1); }
.course-card.highlight .course-icon { background: #000; border-color: #000; }
.course-icon i { color: var(--gold); font-size: 22px; }
.course-card h3 { font-size: 22px; margin-top: 4px; }
.course-card.highlight h3 { color: #000; }
.course-card p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.course-card.highlight p { color: rgba(0,0,0,.7); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.course-card.highlight .chip { background: rgba(0,0,0,.1); border: none; color: rgba(0,0,0,.8); }
.course-actions { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 14px; }
.link-more { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); display: inline-flex; gap: 6px; align-items: center; transition: color .3s; }
.link-more:hover { color: var(--gold); }
.course-card.highlight .link-more { color: rgba(0,0,0,.8); }
.no-courses { display: none; text-align: center; color: var(--muted); margin-top: 40px; }
.course-title-link { color: inherit; transition: color .3s; }
.course-title-link:hover { color: var(--gold); }
.course-card.highlight .course-title-link:hover { color: #000; }

/* ---------- Course detail page ---------- */
.course-hero .course-hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; position: relative; z-index: 2; }
.course-hero-meta span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-weight: 500; }
.course-hero-meta i { color: var(--gold); }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 20px; position: relative; z-index: 2; transition: color .3s; }
.crumb:hover { color: var(--gold); }
.detail-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.detail-main > div { margin-bottom: 44px; }
.detail-h { font-size: 28px; font-weight: 700; margin-bottom: 18px; position: relative; padding-left: 18px; }
.detail-h::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--gold); border-radius: 4px; }
.detail-p { color: var(--muted); line-height: 1.8; }
.module-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.module-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); padding: 14px 16px; border-radius: 12px; }
.module-list i { color: var(--gold); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-pill { display: flex; align-items: center; gap: 12px; padding: 18px; }
.feature-pill i { color: var(--gold); font-size: 20px; }
.feature-pill span { font-weight: 500; }
.detail-cta { padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.detail-cta h3 { font-size: 24px; }
.detail-cta p { color: var(--muted); margin-top: 6px; }
.detail-side { position: sticky; top: 108px; }
.side-card { padding: 20px; }
.side-media { position: relative; border-radius: 14px; overflow: hidden; height: 180px; margin-bottom: 20px; }
.side-media img { width: 100%; height: 100%; object-fit: cover; }
.side-icon { position: absolute; bottom: -18px; left: 18px; width: 50px; height: 50px; border-radius: 14px; background: var(--navy-deep); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.side-icon i { color: var(--gold); font-size: 20px; }
.side-facts { margin: 6px 0 22px; }
.side-facts li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.side-facts span { color: var(--muted); }
.side-facts strong { color: #fff; }
.side-help { text-align: center; margin-top: 16px; color: var(--muted); font-size: 14px; }
.side-help i { color: var(--gold); margin-right: 6px; }
.side-help a:hover { color: var(--gold); }
@media (max-width: 980px) {
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 560px) { .module-list, .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.service-card { padding: 32px; position: relative; overflow: hidden; transition: transform .5s ease, border-color .5s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(253,215,7,.5); }
.service-icon { color: var(--gold); font-size: 28px; }
.service-card h3 { font-size: 20px; margin: 22px 0 10px; }
.service-card p { color: var(--muted); font-size: 14px; }

/* ---------- Split panels ---------- */
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel + .panel { margin-top: 90px; }
.panel.reverse .panel-media { order: 2; }
.panel-media { border-radius: 24px; overflow: hidden; position: relative; }
.panel-media img { height: 420px; width: 100%; object-fit: cover; }
.panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,21,41,.6), transparent); }
.panel h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
.panel p { color: var(--muted); margin-top: 18px; }
.panel ul { margin: 26px 0; display: flex; flex-direction: column; gap: 12px; }
.panel li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); }
.panel li i { color: var(--gold); }

/* ---------- Placement ---------- */
.placement-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.placement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.placement-item { padding: 24px; transition: transform .5s ease, border-color .5s; }
.placement-item:hover { transform: translateY(-4px); border-color: rgba(253,215,7,.5); }
.placement-item .dot { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); margin-bottom: 14px; transition: width .5s; }
.placement-item:hover .dot { width: 30px; }
.placement-item p { font-weight: 500; }
.cta-banner { margin-top: 64px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
.cta-banner p { color: var(--muted); margin-top: 10px; }

/* ---------- Testimonials ---------- */
.t-card { padding: 48px; text-align: center; max-width: 820px; margin: 0 auto; }
.t-quote { color: var(--gold); font-size: 40px; margin-bottom: 20px; }
.t-stars { color: var(--gold); margin-bottom: 22px; display: flex; gap: 4px; justify-content: center; }
.t-text { font-size: clamp(18px, 2.2vw, 24px); font-weight: 300; line-height: 1.5; }
.t-author { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.t-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.t-author strong { display: block; }
.t-author span { color: var(--gold); font-size: 14px; }
.t-controls { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.t-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: background-color .3s, color .3s; }
.t-btn:hover { background: var(--gold); color: #000; }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.25); cursor: pointer; transition: all .3s; }
.t-dot.active { width: 30px; background: var(--gold); }

/* ---------- Trusted ---------- */
.trusted { padding: 70px 0; overflow: hidden; }
.trusted-label { text-align: center; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .3em; font-size: 14px; margin-bottom: 44px; }
.trusted-track { display: flex; gap: 32px; width: max-content; animation: marquee 34s linear infinite; }
.trusted-item { min-width: 180px; padding: 20px 40px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); font-size: 24px; font-weight: 700; color: rgba(255,255,255,.8); text-align: center; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field input, .field textarea, .field select, .newsletter-form input {
  width: 100%; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15); padding: 14px 16px; color: #fff;
  outline: none; font-family: inherit; font-size: 15px; transition: border-color .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input.invalid, .field textarea.invalid { border-color: #f87171; }
.field .error { color: #f87171; font-size: 12px; margin-top: 6px; display: block; min-height: 14px; }
.field select option { background: var(--navy-dark); }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.info-card { padding: 24px; }
.info-card .info-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(253,215,7,.1); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 16px; }
.info-card small { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.info-card p, .info-card a { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; display: block; }
.map { grid-column: 1 / -1; border-radius: 20px; overflow: hidden; min-height: 260px; }
.map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; filter: grayscale(.4) contrast(1.1); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { overflow: hidden; padding: 0; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: border-color .3s; }
.faq-item.open { border-color: rgba(253,215,7,.4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: none; color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; text-align: left; font-family: inherit; }
.faq-item.open .faq-q { color: var(--gold); }
.faq-q i { transition: transform .3s; color: rgba(255,255,255,.6); }
.faq-item.open .faq-q i { transform: rotate(45deg); color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 24px 24px; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 110px; overflow: hidden; }
.page-hero .hero-bg img { opacity: .25; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; max-width: 900px; position: relative; z-index: 2; }
.page-hero .subtext { position: relative; z-index: 2; }
.page-hero .eyebrow { position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.1); padding: 80px 0 30px; position: relative; }
.newsletter { padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 64px; }
.newsletter h3 { font-size: 26px; }
.newsletter p { color: var(--muted); margin-top: 6px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { width: 280px; border-radius: 999px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-about p { color: var(--muted); margin-top: 18px; font-size: 14px; max-width: 340px; }
.footer h4 { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 18px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color .3s; }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.footer-contact i { color: var(--gold); margin-top: 4px; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); transition: all .3s; }
.socials a:hover { background: var(--gold); color: #000; }
.footer-bottom { margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.4); font-size: 14px; }

/* ---------- Floating buttons ---------- */
.floating { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; border: none; cursor: pointer; transition: transform .3s; }
.fab:hover { transform: scale(1.1); }
.fab-top { background: rgba(255,255,255,.08); color: #fff; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-call { background: var(--gold); color: #000; }
.fab-wa { background: #25D366; color: #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-120%); background: var(--gold); color: #000; padding: 14px 24px; border-radius: 12px; font-weight: 600; z-index: 100; transition: transform .4s ease; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #f87171; color: #fff; }
/* ---------- Gallery ---------- */
.footer-about .brand img { height: 60px; width: 60px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.gallery-item { position: relative; border-radius: 18px; overflow: hidden; margin: 0; cursor: pointer; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(to top, rgba(0,21,41,.85), transparent 60%); opacity: 0; transition: opacity .4s ease; }
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item figcaption span { color: #fff; font-weight: 600; font-size: 18px; }
.gallery-item figcaption span::before { content: ""; display: block; width: 30px; height: 3px; background: var(--gold); margin-bottom: 10px; }

/* ---------- Testimonials page grid ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tgrid .tg-card { padding: 30px; display: flex; flex-direction: column; }
.tgrid .tg-stars { color: var(--gold); display: flex; gap: 4px; margin-bottom: 16px; }
.tgrid .tg-text { color: rgba(255,255,255,.85); font-weight: 300; }
.tgrid .tg-author { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 14px; }
.tgrid .tg-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.tgrid .tg-author strong { display: block; }
.tgrid .tg-author span { color: var(--gold); font-size: 13px; }
@media (max-width: 1024px) { .gallery-grid, .tgrid { grid-template-columns: repeat(2, 1fr); } .gallery-item.wide { grid-column: span 2; } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; } .gallery-item.wide { grid-column: span 1; } .tgrid { grid-template-columns: 1fr; } }
