/* ===== MODAL OVERLAY ===== */
/* ===== VIDEO CARDS ===== */
.video-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.08);transition:transform .3s,box-shadow .3s}
.video-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(0,0,0,.12)}
.video-wrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;background:#111}
.video-wrap iframe,.video-wrap video{position:absolute;top:0;left:0;width:100%;height:100%;border:none}
.video-body{padding:16px 20px}
.video-body h4{font-size:1rem;font-weight:700;color:var(--stone-800);margin-bottom:4px}
.video-body p{font-size:.85rem;color:var(--stone-500);line-height:1.5}
.lb-media{width:100%;max-height:70vh;display:flex;align-items:center;justify-content:center;background:#000}
.lb-media img.lb-img{width:100%;max-height:70vh;object-fit:contain;display:block}
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.75); z-index:2000; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(4px); }
.modal-overlay.active { display:flex; }
.modal-close { position:absolute; top:16px; right:16px; background:var(--stone-100); border:none; border-radius:50%; width:36px; height:36px; font-size:1.1rem; cursor:pointer; color:var(--stone-700); transition:.2s; }
.modal-close:hover { background:var(--amber); color:#fff; }

/* ===== SERVICE MODAL ===== */
.modal-box { position:relative; background:#fff; border-radius:20px; padding:40px; max-width:560px; width:100%; box-shadow:0 24px 80px rgba(0,0,0,0.25); animation:modal-in .25s ease; max-height:90vh; overflow-y:auto; }
@keyframes modal-in { from{opacity:0;transform:scale(.94) translateY(12px)} to{opacity:1;transform:scale(1) translateY(0)} }
.sm-header { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.sm-icon { font-size:2.4rem; }
.sm-badge { background:var(--amber-bg); color:var(--amber); border:1px solid rgba(217,119,6,0.25); border-radius:50px; padding:5px 14px; font-size:0.75rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase; }
.sm-title { font-size:1.7rem; font-weight:800; color:var(--stone-800); margin-bottom:10px; }
.sm-subtitle { color:var(--stone-500); font-size:0.95rem; line-height:1.65; margin-bottom:24px; }
.sm-list { list-style:none; display:flex; flex-direction:column; gap:10px; margin-bottom:28px; }
.sm-list li { display:flex; align-items:flex-start; gap:10px; font-size:0.92rem; color:var(--stone-700); background:var(--stone-50); border:1px solid var(--stone-200); border-radius:8px; padding:10px 14px; }
.sm-footer { text-align:center; }
.sm-cta { width:100%; }

/* ===== LIGHTBOX ===== */
.lb-box { position:relative; background:#111; border-radius:16px; max-width:860px; width:100%; box-shadow:0 24px 80px rgba(0,0,0,0.6); overflow:hidden; display:flex; flex-direction:column; align-items:center; }
.lb-img { width:100%; max-height:70vh; object-fit:contain; display:block; }
.lb-info { padding:16px 24px; text-align:center; width:100%; }
.lb-info h4 { color:#fff; font-size:1.1rem; font-weight:700; margin-bottom:4px; }
.lb-info p { color:rgba(255,255,255,0.55); font-size:0.85rem; }
.lb-count { display:inline-block; margin-top:8px; color:var(--amber); font-size:0.8rem; font-weight:600; }
.lb-nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.1); border:none; color:#fff; font-size:2.5rem; line-height:1; width:48px; height:72px; cursor:pointer; transition:.2s; border-radius:8px; display:flex; align-items:center; justify-content:center; }
.lb-nav:hover { background:var(--amber); }
.lb-prev { left:8px; }
.lb-next { right:8px; }

/* ===== PORTFOLIO LIGHTBOX HINT ===== */
.lb-hint { position:absolute; bottom:12px; right:12px; background:rgba(0,0,0,0.65); color:#fff; font-size:0.72rem; font-weight:600; padding:5px 10px; border-radius:50px; opacity:0; transition:opacity .3s; pointer-events:none; }
.port-card:hover .lb-hint { opacity:1; }
.port-card { cursor:pointer; }
.svc-link { background:none; border:none; padding:0; font-family:'Inter',sans-serif; cursor:pointer; }

/* ===== TOKENS ===== */

:root {
  --amber: #d97706;
  --amber-light: #f59e0b;
  --amber-bg: #fffbeb;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-700: #44403c;
  --stone-800: #292524;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 14px;
  --radius-sm: 8px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--stone-700); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }

/* ===== UTILITIES ===== */
.amber-text { color: var(--amber); }
.bg-white { background: var(--white); }
.bg-stone { background: var(--stone-50); }
.w-full { width: 100%; }
.hidden { display: none; }

/* ===== SECTION LAYOUT ===== */
.section { padding: 96px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--stone-800); margin-bottom: 14px; line-height: 1.15; }
.section-desc { color: var(--stone-500); font-size: 1.05rem; line-height: 1.7; max-width: 560px; margin: 0 auto; }
.tag { display: inline-block; background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(217,119,6,0.25); border-radius: 50px; padding: 5px 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }

/* ===== BUTTONS ===== */
.btn-amber { background: var(--amber); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; padding: 14px 32px; border: none; border-radius: 50px; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 4px 16px rgba(217,119,6,0.3); }
.btn-amber:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,119,6,0.4); }
.btn-outline-white { display: inline-block; border: 2px solid rgba(255,255,255,0.5); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 600; padding: 13px 32px; border-radius: 50px; transition: border-color .2s, background .2s; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-whatsapp { display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; padding: 13px 24px; border: none; border-radius: 50px; cursor: pointer; transition: .2s; box-shadow: 0 4px 16px rgba(37,211,102,0.3); width: 100%; justify-content: center; margin-bottom: 20px; }
.btn-whatsapp:hover { background: #20bd5c; transform: translateY(-2px); }

/* ===== NAVBAR ===== */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: background .3s, box-shadow .3s, padding .3s; background: transparent; }
#navbar.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--stone-200); padding: 10px 0; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
/* Logo pill — white background ensures visibility on dark hero */
.logo-pill { display: flex; align-items: center; background: rgba(255,255,255,0.95); border-radius: 10px; padding: 4px 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); transition: background .3s; }
#navbar.scrolled .logo-pill { background: transparent; box-shadow: none; padding: 0; }
.logo-img { height: 48px; width: auto; object-fit: contain; }
#main-nav { margin-left: auto; }
#main-nav ul { list-style: none; display: flex; gap: 28px; }
#main-nav ul li a { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.9); transition: color .2s; }
#navbar.scrolled #main-nav ul li a { color: var(--stone-700); }
#main-nav ul li a:hover { color: var(--amber); }
.cta-nav { background: var(--amber); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem; padding: 10px 22px; border: none; border-radius: 50px; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s; }
.cta-nav:hover { background: var(--amber-light); transform: scale(1.03); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
#navbar.scrolled .hamburger span { background: var(--stone-700); }

/* ===== HERO (unchanged dark) ===== */
.hero { position: relative; height: 100vh; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.25) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 680px; margin-left: 10%; padding-top: 80px; }
.hero-badge { display: inline-block; border: 1px solid rgba(217,119,6,0.6); color: #fbbf24; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 22px; background: rgba(217,119,6,0.1); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 18px; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.78); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: 'Outfit', sans-serif; font-size: 1.9rem; font-weight: 800; color: #fbbf24; }
.stat span { font-size: 0.76rem; color: rgba(255,255,255,0.6); }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.4); font-size: 0.72rem; letter-spacing: 1px; }
.scroll-arrow { width: 18px; height: 18px; border-right: 2px solid rgba(255,255,255,0.4); border-bottom: 2px solid rgba(255,255,255,0.4); transform: rotate(45deg); animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(5px)} }

/* ===== 3-COL GRID ===== */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ===== PORTFOLIO CARDS ===== */
.filter-bar { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { background: var(--white); border: 1.5px solid var(--stone-200); color: var(--stone-500); padding: 8px 22px; border-radius: 50px; cursor: pointer; font-size: 0.85rem; font-family: 'Inter', sans-serif; font-weight: 500; transition: .2s; }
.filter-btn.active, .filter-btn:hover { background: var(--amber); border-color: var(--amber); color: #fff; font-weight: 600; }
.port-card { background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.port-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.port-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.port-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.port-card:hover .port-img-wrap img { transform: scale(1.06); }
.cat-badge { position: absolute; top: 12px; left: 12px; background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.port-body { padding: 18px 20px; }
.port-body h4 { font-size: 1rem; font-weight: 700; color: var(--stone-800); margin-bottom: 6px; }
.port-body p { color: var(--stone-500); font-size: 0.85rem; line-height: 1.5; }

/* ===== ABOUT ===== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img-col { position: relative; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--amber); color: #fff; border-radius: var(--radius-sm); padding: 18px 24px; text-align: center; box-shadow: 0 8px 24px rgba(217,119,6,0.35); }
.about-badge strong { display: block; font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; }
.about-badge span { font-size: 0.78rem; font-weight: 600; opacity: .9; }
.features-col { display: flex; flex-direction: column; gap: 20px; padding-left: 8px; }
.feature-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.feature-card:hover { border-color: rgba(217,119,6,0.4); box-shadow: var(--shadow-md); }
.feat-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-card h4 { font-size: 1rem; font-weight: 700; color: var(--stone-800); margin-bottom: 4px; }
.feature-card p { color: var(--stone-500); font-size: 0.88rem; line-height: 1.6; }

/* ===== SERVICE CARDS ===== */
.service-card { background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(217,119,6,0.35); }
.svc-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--stone-800); margin-bottom: 10px; }
.service-card p { color: var(--stone-500); font-size: 0.88rem; line-height: 1.65; flex: 1; }
.svc-link { display: inline-block; margin-top: 16px; color: var(--amber); font-weight: 600; font-size: 0.88rem; transition: gap .2s; }
.svc-link:hover { color: var(--amber-light); }

/* ===== REVIEW CARDS ===== */
.review-card { background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.featured-review { border-color: var(--amber); box-shadow: 0 4px 24px rgba(217,119,6,0.12); }
.review-stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { color: var(--stone-600, #57534e); font-size: 0.92rem; line-height: 1.75; font-style: italic; margin-bottom: 22px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; background: var(--amber); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.review-author strong { display: block; color: var(--stone-800); font-size: 0.9rem; }
.review-author span { color: var(--stone-400); font-size: 0.78rem; }
.google-badge { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 48px; background: var(--white); border: 1px solid var(--stone-200); border-radius: 50px; padding: 12px 28px; width: fit-content; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-sm); }
.google-stars { color: var(--amber); font-size: 1.1rem; }
.google-badge strong { font-size: 1.1rem; font-weight: 800; color: var(--stone-800); }
.google-count { color: var(--stone-500); font-size: 0.88rem; }

/* ===== CONTACT ===== */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--stone-50); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 36px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--stone-500); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
input, select, textarea { width: 100%; background: var(--white); border: 1.5px solid var(--stone-200); border-radius: 10px; color: var(--stone-800); font-family: 'Inter', sans-serif; font-size: 0.94rem; padding: 11px 14px; transition: border-color .2s; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--amber); }
textarea { resize: vertical; }
.form-success { margin-top: 14px; color: #16a34a; font-size: 0.9rem; font-weight: 600; text-align: center; }
.info-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.info-card { display: flex; align-items: flex-start; gap: 14px; background: var(--stone-50); border: 1px solid var(--stone-200); border-radius: var(--radius-sm); padding: 16px; }
.info-icon { font-size: 1.3rem; flex-shrink: 0; }
.info-card strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--stone-800); margin-bottom: 2px; }
.info-card span { color: var(--stone-500); font-size: 0.88rem; }
.map-wrap { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--stone-200); }

/* ===== FOOTER ===== */
.footer { background: var(--stone-800); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px 52px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.86rem; line-height: 1.7; margin-top: 10px; }
.footer-logo { height: 60px; width: auto; object-fit: contain; background: white; border-radius: 8px; padding: 4px 8px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color .2s; }
.footer-col a:hover { color: var(--amber-light); }
.footer-col span { color: rgba(255,255,255,0.55); font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 24px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.genius7-logo { height: 14px; width: auto; object-fit: contain; vertical-align: middle; opacity: 0.7; transition: opacity 0.2s; }
.footer-bottom a:hover .genius7-logo { opacity: 1; }

/* ===== WHATSAPP FLOAT ===== */
#whatsapp-float { position: fixed; bottom: 26px; right: 26px; z-index: 999; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform .2s, box-shadow .2s; animation: wa-pulse 2.5s infinite; }
#whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.6); animation: none; }
.wa-tooltip { position: absolute; right: 66px; background: var(--stone-800); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s; }
#whatsapp-float:hover .wa-tooltip { opacity: 1; }
@keyframes wa-pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.45)} 50%{box-shadow:0 4px 36px rgba(37,211,102,0.7)} }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 0; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  #main-nav { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.98); flex-direction: column; align-items: center; justify-content: center; z-index: 999; }
  #main-nav.open { display: flex; }
  #main-nav ul { flex-direction: column; gap: 24px; text-align: center; }
  #main-nav ul li a { font-size: 1.3rem; color: var(--stone-800) !important; }
  .cta-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { margin-left: 5%; margin-right: 5%; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
