/* ==========================================================
   style.css — Reklamepedia Shared Stylesheet
   ========================================================== */

/* ── GOOGLE FONTS ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────── */
:root {
  --accent:     #F2A63B;
  --accent-dk:  #d9892a;
  --dark:       #05051E;
  --dark2:      #0d0d2b;
  --mid:        #14143a;
  --footer-bg:  #292B36;
  --light:      #f7f8fc;
  --white:      #ffffff;
  --text:       #333344;
  --muted:      #888;
  --card-bg:    #ffffff;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.15);
  --font-head:  'Quicksand', sans-serif;
  --font-body:  'Plus Jakarta Sans', sans-serif;
  --nav-h:      80px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

/* ── UTILITY ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.text-center { text-align: center; }
.text-white  { color: #fff; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  cursor: pointer; border: none; transition: all .25s;
  text-decoration: none; white-space: nowrap;
}
.btn-accent {
  background: var(--accent); color: var(--dark);
}
.btn-accent:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242,166,59,.45); }
.btn-light {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline {
  background: transparent; color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: #fff; }

/* ── NAVIGATION ──────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9000; pointer-events: none;
}
#site-header > * { pointer-events: all; }

.nav-pill {
  margin: 16px auto;
  max-width: 1160px;
  background: rgba(5,5,30,.72);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-radius: 200px;
  border: 1px solid rgba(255,255,255,.10);
  transition: background .3s, box-shadow .3s, margin .3s;
  width: calc(100% - 32px);
  position: relative;
  left: 50%; transform: translateX(-50%);
}
.nav-pill.scrolled {
  background: rgba(5,5,30,.95);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
  margin-top: 8px;
}

.nav-container {
  display: flex; align-items: center; gap: 8px;
  padding: 0 24px; height: 64px;
}
.nav-logo { margin-right: 8px; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; list-style: none; margin: 0; padding: 0;
}
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 50px;
  color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 600;
  font-family: var(--font-head);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff; background: rgba(255,255,255,.12);
}
.nav-link.active { color: var(--accent); background: rgba(242,166,59,.12); }

/* Dropdown */
.has-dropdown { position: relative; }
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,36,.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 10px 0;
  min-width: 210px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  list-style: none;
  z-index: 100;
}
.has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-dropdown a:hover, .nav-dropdown a.active {
  background: rgba(242,166,59,.15); color: var(--accent);
}
.nav-dropdown a i { width: 16px; text-align: center; color: var(--accent); font-size: .8rem; }

/* Nav CTA button */
.btn-nav-cta {
  flex-shrink: 0; margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 22px; border-radius: 50px;
  background: var(--accent); color: var(--dark);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  transition: all .25s; white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--accent-dk); transform: scale(1.04); }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE OVERLAY & MENU ──────────────────────────────── */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 8998;
}
.mobile-overlay.open { display: block; }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  position: fixed; top: 0; right: -320px;
  width: 300px; height: 100vh;
  background: var(--dark2);
  padding: 70px 24px 32px;
  z-index: 8999;
  overflow-y: auto;
  transition: right .32s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block; padding: 12px 0;
  color: rgba(255,255,255,.85); font-weight: 600; font-family: var(--font-head);
  font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%; font-size: 1rem;
  cursor: pointer; transition: background .2s;
}
.mobile-close:hover { background: rgba(255,255,255,.2); }
.mobile-sub-toggle {
  display: block; width: 100%; text-align: left;
  padding: 12px 0; color: rgba(255,255,255,.85);
  font-weight: 600; font-family: var(--font-head); font-size: .95rem;
  background: none; border: none; border-bottom: 1px solid rgba(255,255,255,.07);
  cursor: pointer;
}
.mobile-sub { padding-left: 14px; }
.mobile-sub a { font-size: .87rem; }
.mobile-wa {
  margin-top: 12px; text-align: center; justify-content: center;
  background: #25D366 !important; color: #fff !important;
  border-radius: 50px; padding: 12px !important;
  display: flex !important; align-items: center; gap: 8px;
  font-weight: 700 !important; border-bottom: none !important;
}
.mobile-wa:hover { background: #1da851 !important; }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 90px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, var(--mid) 100%);
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(242,166,59,.13) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .section-label { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff; margin-bottom: .5rem;
}
.page-hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.72);
  max-width: 640px; margin: .6rem auto .5rem;
}
.page-hero .hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.55);
  max-width: 540px; margin: 0 auto 2rem;
}
.page-hero-curve {
  position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0;
}

/* ── SECTION COMMON ──────────────────────────────────────── */
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-label { color: var(--accent); }
.section-mid { background: var(--mid); color: #fff; }
.section-light { background: var(--light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: .6rem;
}
.section-header p {
  max-width: 600px; margin: 0 auto; opacity: .72; font-size: .97rem;
}

/* ── SERVICE TYPE CARDS ──────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img-wrap { overflow: hidden; }
.service-card-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .4s;
}
.service-card:hover .service-card-img { transform: scale(1.04); }
.service-card-body { padding: 22px 24px 26px; }
.service-card-body h3 {
  font-size: 1.12rem; color: var(--dark); margin-bottom: .5rem;
}
.service-card-body p { font-size: .9rem; color: #555; line-height: 1.65; }

/* Dark section service cards */
.section-dark .service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
}
.section-dark .service-card-body h3 { color: #fff; }
.section-dark .service-card-body p { color: rgba(255,255,255,.62); }

/* ── GALLERY GRID ────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); }
.gallery-item img {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform .35s, opacity .35s;
}
.gallery-item:hover img { transform: scale(1.06); opacity: .88; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(242,166,59,.14) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff; margin-bottom: 1rem;
}
.cta-section p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; }
.cta-section .section-label { color: var(--accent); }

/* ── PRE-FOOTER CTA ──────────────────────────────────────── */
.prefooter {
  padding: 70px 0;
  background: linear-gradient(135deg, #080822 0%, #181848 100%);
  text-align: center;
  position: relative; overflow: hidden;
}
.prefooter::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(242,166,59,.14) 0%, transparent 70%);
  pointer-events: none;
}
.prefooter h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff; margin-bottom: 1rem;
}
.prefooter p { color: rgba(255,255,255,.68); max-width: 500px; margin: 0 auto 2rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.8); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px 48px;
}
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.58); margin-top: 14px; max-width: 280px; }
.footer-brand img { margin-bottom: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .85rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.footer-links h4, .footer-info h4 {
  font-size: .93rem; color: #fff; margin-bottom: 14px;
  font-family: var(--font-head); letter-spacing: .02em;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul a { font-size: .87rem; color: rgba(255,255,255,.58); transition: color .2s; }
.footer-links ul a:hover { color: var(--accent); }
.footer-info p { font-size: .87rem; margin-bottom: 8px; line-height: 1.6; color: rgba(255,255,255,.58); }
.footer-info p i { color: var(--accent); width: 16px; margin-right: 4px; }
.footer-info a { color: rgba(255,255,255,.58); transition: color .2s; }
.footer-info a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center; padding: 18px 24px;
  font-size: .82rem; color: rgba(255,255,255,.38);
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 8000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .3s, box-shadow .3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.7); }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.advantage-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.advantage-card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); transition: transform .3s;
}
.advantage-card:hover { transform: translateY(-5px); }
.advantage-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(242,166,59,.13); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; font-size: 1.6rem; color: var(--accent);
}
.advantage-card h3 { font-size: 1rem; color: var(--dark); margin-bottom: .4rem; }
.advantage-card p { font-size: .87rem; color: #666; }

.clients-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  align-items: center;
}
.client-logo {
  background: #fff; border-radius: var(--radius-sm); padding: 16px 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); min-height: 80px;
}
.client-logo img { max-height: 48px; width: auto; filter: grayscale(.4); opacity: .8; transition: all .3s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(242,166,59,.4); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--dark);
}
.faq-q i { transition: transform .3s; font-size: .75rem; color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 18px; font-size: .9rem; color: #555; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  text-align: center; box-shadow: var(--shadow);
}
.contact-card-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(242,166,59,.12); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px; font-size: 1.6rem; color: var(--accent);
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--dark); }
.contact-card p { font-size: .9rem; color: #666; line-height: 1.7; }
.contact-card a { color: var(--accent); }

.contact-form-wrap { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 7px;
  font-weight: 600; font-size: .88rem; color: var(--dark);
}
.form-control {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid #ddd; font-family: var(--font-body); font-size: .93rem;
  color: var(--text); background: #fff; transition: border-color .2s;
  outline: none;
}
.form-control:focus { border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ── STATS ───────────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--accent); line-height: 1;
}
.stat-label { font-size: .88rem; color: rgba(255,255,255,.62); margin-top: 6px; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  justify-content: center; margin-top: 14px;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { font-size: .6rem; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-pill { margin: 10px; width: calc(100% - 20px); border-radius: 16px; }
  .nav-container { height: 56px; }
  .nav-logo img { height: 32px; }

  .page-hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
  .section { padding: 56px 0; }

  .service-grid, .service-grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 160px; }
  .contact-cards { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .gallery-grid { gap: 8px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
}
