/* =========================================================
   SANTOSH GHARTI MAGAR — AI WEBSITE DEVELOPER PORTFOLIO
   ========================================================= */

/* ---------- TOKENS ---------- */
:root{
  --bg:#0A0E1A;
  --bg-2:#10162B;
  --surface: rgba(255,255,255,0.06);
  --surface-solid:#131a30;
  --border: rgba(255,255,255,0.10);
  --text:#E9EBF5;
  --muted:#9098BE;
  --primary:#6C5CE7;
  --primary-2:#22D3EE;
  --gold:#FBBF24;
  --whatsapp:#25D366;
  --danger:#FF5C7A;
  --grad: linear-gradient(120deg, var(--primary), var(--primary-2));
  --grad-soft: linear-gradient(135deg, rgba(108,92,231,0.25), rgba(34,211,238,0.15));
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px rgba(6,8,20,0.45);
  --shadow-sm: 0 8px 24px rgba(6,8,20,0.35);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16,.84,.32,1);
  color-scheme: dark;
}

html[data-theme="light"]{
  --bg:#F4F5FB;
  --bg-2:#ECEEFB;
  --surface: rgba(255,255,255,0.65);
  --surface-solid:#ffffff;
  --border: rgba(20,20,50,0.09);
  --text:#131A2E;
  --muted:#5C6284;
  --shadow: 0 20px 50px rgba(90,95,150,0.16);
  --shadow-sm: 0 8px 20px rgba(90,95,150,0.12);
  color-scheme: light;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  overflow-x:hidden;
  transition:background .4s var(--ease), color .4s var(--ease);
}

img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
ul{list-style:none; margin:0; padding:0;}
button{font-family:inherit; cursor:pointer;}
input,select,textarea{font-family:inherit;}

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--primary); color:#fff;
  padding:.75rem 1.25rem; z-index:999; border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}

:focus-visible{outline:2px solid var(--primary-2); outline-offset:3px;}

/* ---------- CUSTOM CURSOR (desktop only) ---------- */
.cursor-dot,.cursor-ring{
  position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
  border-radius:50%; transform:translate(-50%,-50%); mix-blend-mode:difference;
}
.cursor-dot{width:8px; height:8px; background:#fff; transition:opacity .2s;}
.cursor-ring{width:34px; height:34px; border:1.5px solid #fff; opacity:.6; transition:width .2s,height .2s,opacity .2s;}
@media (hover:none), (pointer:coarse){
  .cursor-dot,.cursor-ring{display:none;}
}

/* ---------- LOADER ---------- */
#loader{
  position:fixed; inset:0; z-index:10000; background:var(--bg);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.5rem;
  transition:opacity .6s var(--ease), visibility .6s;
}
#loader.hidden{opacity:0; visibility:hidden; pointer-events:none;}
.loader-mark{animation:pulseScale 1.4s ease-in-out infinite;}
.loader-svg{width:56px; height:56px; object-fit:contain;}
.loader-bar{width:160px; height:4px; border-radius:4px; background:var(--border); overflow:hidden;}
.loader-bar span{display:block; height:100%; width:40%; background:var(--grad); animation:loaderSlide 1.1s ease-in-out infinite;}
@keyframes loaderSlide{0%{transform:translateX(-120%);} 100%{transform:translateX(340%);}}
@keyframes pulseScale{0%,100%{transform:scale(1);} 50%{transform:scale(1.08);}}

/* ---------- UTILITIES ---------- */
.section{padding:7rem 0;}
.section-inner{max-width:1180px; margin:0 auto; padding:0 1.5rem;}
.eyebrow{
  font-family:var(--font-mono); letter-spacing:.14em; font-size:.72rem; font-weight:500;
  color:var(--primary-2); text-transform:uppercase; margin:0 0 .8rem;
}
.eyebrow.center{text-align:center;}
.section-title{
  font-family:var(--font-display); font-size:clamp(1.8rem,3.4vw,2.6rem); font-weight:600;
  line-height:1.2; margin:0 0 1rem; letter-spacing:-.01em;
}
.section-title.center{text-align:center; max-width:760px; margin-inline:auto;}
.lead{color:var(--muted); font-size:1.02rem; max-width:560px;}
.lead.center{text-align:center; margin-inline:auto; margin-bottom:2.6rem;}
.note{color:var(--muted); font-size:.85rem;}
.note.center{text-align:center; margin-top:-1.6rem; margin-bottom:2.4rem;}
.grad-text{
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.glass{
  background:var(--surface); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--border); box-shadow:var(--shadow);
}

/* buttons */
.btn{
  display:inline-flex; align-items:center; gap:.55rem; font-weight:600; font-size:.92rem;
  padding:.85rem 1.5rem; border-radius:999px; border:1px solid transparent; transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space:nowrap;
}
.btn svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.btn-primary{background:var(--grad); color:#fff; box-shadow:0 10px 30px rgba(108,92,231,.35);}
.btn-primary:hover{transform:translateY(-3px); box-shadow:0 16px 36px rgba(108,92,231,.45);}
.btn-whatsapp{background:var(--whatsapp); color:#fff;}
.btn-whatsapp svg{fill:currentColor; stroke:none;}
.btn-whatsapp:hover{transform:translateY(-3px); box-shadow:0 14px 30px rgba(37,211,102,.4);}
.btn-outline{border-color:var(--border); color:var(--text); background:transparent;}
.btn-outline:hover{border-color:var(--primary-2); color:var(--primary-2);}

/* ---------- NAVBAR ---------- */
.navbar{
  position:fixed; top:0; left:0; right:0; z-index:900;
  transition:background .3s, box-shadow .3s, backdrop-filter .3s;
}
.navbar.scrolled{
  background:var(--surface); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  box-shadow:var(--shadow-sm); border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:1280px; margin:0 auto; padding:.9rem 1.5rem; display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.brand{display:flex; align-items:center; gap:.6rem; font-family:var(--font-display); font-weight:700;}
.brand-mark{width:40px; height:40px; object-fit:contain; filter:drop-shadow(0 4px 10px rgba(108,92,231,.35));}
.about-photo{
  width:120px; height:120px; object-fit:cover; border-radius:50%; margin:0 auto 1rem;
  border:3px solid transparent; background:var(--grad); background-origin:border-box; background-clip:content-box, border-box;
  box-shadow:0 12px 30px rgba(108,92,231,.35);
}
.brand-text{display:flex; flex-direction:column; line-height:1.15; font-size:1.05rem;}
.brand-text em{font-style:normal; font-size:.6rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);}
.nav-links{display:flex; align-items:center; gap:1.6rem;}
.nav-links a{font-size:.92rem; font-weight:500; color:var(--muted); position:relative; padding:.2rem 0; transition:color .2s;}
.nav-links a::after{content:''; position:absolute; left:0; bottom:-4px; width:0; height:2px; background:var(--grad); transition:width .25s var(--ease);}
.nav-links a:hover{color:var(--text);}
.nav-links a:hover::after{width:100%;}
.nav-actions{display:flex; align-items:center; gap:.7rem;}
.theme-toggle{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background:var(--surface);
  display:flex; align-items:center; justify-content:center; color:var(--text); position:relative;
}
.theme-toggle svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; position:absolute; transition:opacity .3s, transform .4s;}
.theme-toggle .icon-sun circle{fill:currentColor; stroke:none;}
.theme-toggle .icon-moon path{fill:currentColor; stroke:none;}
.theme-toggle .icon-moon{opacity:0; transform:rotate(90deg);}
html[data-theme="light"] .theme-toggle .icon-sun{opacity:0; transform:rotate(90deg);}
html[data-theme="light"] .theme-toggle .icon-moon{opacity:1; transform:rotate(0);}
.nav-wa{padding:.6rem 1.1rem; font-size:.85rem;}
.nav-wa svg{width:15px;height:15px;}
.hamburger{display:none; flex-direction:column; gap:5px; width:36px; height:36px; align-items:center; justify-content:center; background:none; border:none;}
.hamburger span{width:20px; height:2px; background:var(--text); border-radius:2px; transition:transform .3s, opacity .3s;}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

@media (max-width:920px){
  .nav-links{
    position:fixed; inset:64px 0 0 0; flex-direction:column; justify-content:flex-start; padding:2.4rem 1.5rem; gap:1.4rem;
    background:var(--surface-solid); transform:translateX(100%); transition:transform .35s var(--ease);
  }
  .nav-links.open{transform:translateX(0);}
  .nav-wa{display:none;}
  .hamburger{display:flex;}
}

/* ---------- HERO ---------- */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center; padding:7.5rem 1.5rem 4rem; overflow:hidden;
}
.hero-bg{position:absolute; inset:0; z-index:0;}
.hero-orb{position:absolute; border-radius:50%; filter:blur(90px); opacity:.5;}
.orb-1{width:480px; height:480px; background:var(--primary); top:-140px; right:-120px; animation:floatOrb 12s ease-in-out infinite;}
.orb-2{width:380px; height:380px; background:var(--primary-2); bottom:-140px; left:-100px; animation:floatOrb 14s ease-in-out infinite reverse;}
@keyframes floatOrb{0%,100%{transform:translate(0,0);} 50%{transform:translate(30px,-30px);}}
.hero-grid{
  position:absolute; inset:0; opacity:.35;
  background-image:linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size:44px 44px; mask-image:radial-gradient(ellipse at center, black 10%, transparent 70%);
}
.hero-inner{
  position:relative; z-index:1; max-width:1280px; margin:0 auto; width:100%;
  display:grid; grid-template-columns:1.05fr .95fr; gap:3.5rem; align-items:center;
}
.eyebrow{display:inline-block;}
.hero-title{
  font-family:var(--font-display); font-size:clamp(2.1rem,4.6vw,3.4rem); font-weight:600; line-height:1.12;
  letter-spacing:-.015em; margin:0 0 1.2rem;
}
.hero-sub{color:var(--muted); font-size:1.06rem; max-width:520px; margin-bottom:2rem;}
.hero-cta{display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:2.6rem;}
.hero-stats{display:grid; grid-template-columns:repeat(4,auto); gap:1.8rem;}
.stat{display:flex; flex-direction:column;}
.stat-num{font-family:var(--font-display); font-size:1.7rem; font-weight:700; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;}
.stat-label{font-size:.74rem; color:var(--muted); text-transform:uppercase; letter-spacing:.05em;}

/* build console (signature element) */
.hero-visual{position:relative;}
.build-console{
  border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border);
  background:var(--surface); backdrop-filter:blur(20px); box-shadow:var(--shadow);
  transform:perspective(1000px) rotateY(-8deg) rotateX(2deg); transition:transform .5s var(--ease);
}
.hero-visual:hover .build-console{transform:perspective(1000px) rotateY(-2deg) rotateX(0deg);}
.console-bar{display:flex; align-items:center; gap:.5rem; padding:.7rem 1rem; border-bottom:1px solid var(--border);}
.console-bar .dot{width:10px; height:10px; border-radius:50%;}
.dot.red{background:#FF5F56;} .dot.yellow{background:#FFBD2E;} .dot.green{background:#27C93F;}
.console-title{margin-left:.6rem; font-family:var(--font-mono); font-size:.72rem; color:var(--muted);}
.console-body{display:grid; grid-template-columns:1fr 1fr; min-height:260px;}
.console-code{
  margin:0; padding:1.1rem; font-family:var(--font-mono); font-size:.72rem; line-height:1.7; color:#8be9c7;
  border-right:1px solid var(--border); white-space:pre-wrap; overflow:hidden;
}
.console-code .kw{color:#ff79c6;} .console-code .tag{color:#69b7ff;} .console-code .str{color:#f1fa8c;}
.console-preview{position:relative; padding:1rem; display:flex; flex-direction:column; gap:.6rem;}
.preview-nav{height:10px; width:60%; border-radius:6px; background:var(--grad); opacity:.8;}
.preview-hero{height:70px; border-radius:10px; background:var(--grad-soft); border:1px solid var(--border);}
.preview-lines span{display:block; height:8px; border-radius:6px; background:var(--border); margin-bottom:6px;}
.preview-lines span:nth-child(1){width:90%;} .preview-lines span:nth-child(2){width:70%;} .preview-lines span:nth-child(3){width:80%;}
.console-tag{
  position:absolute; bottom:-16px; right:22px; background:var(--grad); color:#fff; font-family:var(--font-mono);
  font-size:.72rem; padding:.4rem .9rem; border-radius:999px; box-shadow:0 8px 20px rgba(108,92,231,.4);
}
.floaty{
  position:absolute; padding:.5rem .9rem; border-radius:999px; font-size:.75rem; font-weight:600;
  background:var(--surface-solid); border:1px solid var(--border); box-shadow:var(--shadow-sm);
  animation:floatY 4s ease-in-out infinite;
}
.floaty-1{top:-18px; left:-10px; animation-delay:.2s;}
.floaty-2{bottom:26px; right:-18px; animation-delay:1.1s;}
@keyframes floatY{0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);}}

.scroll-hint{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:2;
  width:26px; height:42px; border:2px solid var(--border); border-radius:20px; display:flex; justify-content:center; padding-top:6px;
}
.scroll-hint span{width:4px; height:8px; border-radius:4px; background:var(--primary-2); animation:scrollDot 1.6s ease-in-out infinite;}
@keyframes scrollDot{0%{transform:translateY(0); opacity:1;} 100%{transform:translateY(14px); opacity:0;}}

@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-visual{order:-1;}
  .build-console{transform:none;}
  .hero-visual:hover .build-console{transform:none;}
  .hero-stats{grid-template-columns:repeat(2,auto);}
}

/* ---------- SCROLL REVEAL ---------- */
[data-reveal]{opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
[data-reveal].in{opacity:1; transform:translateY(0);}

/* ---------- ABOUT ---------- */
.about-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:3.5rem; align-items:center;}
.about-card{padding:2rem; border-radius:var(--radius-lg); text-align:center;}
.about-card svg{margin:0 auto 1rem;}
.about-card h3{font-family:var(--font-display); margin:.2rem 0 0; font-size:1.2rem;}
.about-card p{color:var(--muted); margin:.2rem 0 1.6rem; font-size:.9rem;}
.about-progress{text-align:left;}
.prog-row{margin-bottom:1rem;}
.prog-row span{font-size:.8rem; color:var(--muted); display:block; margin-bottom:.4rem;}
.bar{height:7px; border-radius:6px; background:var(--border); overflow:hidden;}
.bar i{display:block; height:100%; width:0; border-radius:6px; background:var(--grad); transition:width 1.4s var(--ease);}
.bar.in i, .prog-row.in .bar i{width:var(--w);}
.about-blocks{display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; margin:1.6rem 0;}
.about-block{padding:1.2rem; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border);}
.about-block h4{margin:0 0 .4rem; font-family:var(--font-display); font-size:1rem; color:var(--primary-2);}
.about-block p{margin:0; font-size:.87rem; color:var(--muted);}
.chip-list{display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.4rem;}
.chip-list li{
  font-size:.78rem; font-weight:500; padding:.45rem .9rem; border-radius:999px; background:var(--surface);
  border:1px solid var(--border); font-family:var(--font-mono);
}
@media (max-width:860px){ .about-grid{grid-template-columns:1fr;} .about-blocks{grid-template-columns:1fr;} }

/* ---------- CARDS GRID (Services / Why) ---------- */
.cards-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.4rem; margin-top:1rem;}
.service-card{
  padding:1.8rem; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position:relative; overflow:hidden;
}
.service-card::before{
  content:''; position:absolute; inset:0; background:var(--grad-soft); opacity:0; transition:opacity .35s;
}
.service-card:hover{transform:translateY(-8px) rotateX(2deg); box-shadow:var(--shadow); border-color:rgba(108,92,231,.4);}
.service-card:hover::before{opacity:1;}
.service-card .ic{
  width:52px; height:52px; border-radius:14px; background:var(--grad); display:flex; align-items:center; justify-content:center;
  font-size:1.35rem; margin-bottom:1.1rem; position:relative; z-index:1;
}
.service-card h3{font-family:var(--font-display); font-size:1.05rem; margin:0 0 .5rem; position:relative; z-index:1;}
.service-card p{font-size:.86rem; color:var(--muted); margin:0; position:relative; z-index:1;}

/* ---------- PORTFOLIO ---------- */
.portfolio-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.6rem; margin-top:1rem;}
.project-card{
  border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--border);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover{transform:translateY(-10px); box-shadow:var(--shadow);}
.project-frame-wrap{
  position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--bg-2); border-bottom:1px solid var(--border);
}
.project-frame-wrap iframe{
  position:absolute; top:0; left:0; width:250%; height:250%; border:0; transform:scale(.4); transform-origin:top left; pointer-events:none;
}
.project-overlay{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0;
  background:linear-gradient(180deg, rgba(10,14,26,.1), rgba(10,14,26,.75)); transition:opacity .35s;
}
.project-card:hover .project-overlay{opacity:1;}
.project-overlay .btn{transform:translateY(10px); transition:transform .35s;}
.project-card:hover .project-overlay .btn{transform:translateY(0);}
.project-body{padding:1.2rem 1.4rem 1.4rem;}
.project-cat{font-family:var(--font-mono); font-size:.68rem; color:var(--primary-2); text-transform:uppercase; letter-spacing:.06em;}
.project-body h3{font-family:var(--font-display); font-size:1.05rem; margin:.4rem 0 0;}

/* ---------- WHY ---------- */
.why-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.2rem; margin-top:1rem;}
.why-card{
  padding:1.5rem; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border); text-align:center;
  transition:transform .3s var(--ease), border-color .3s;
}
.why-card:hover{transform:translateY(-6px); border-color:rgba(34,211,238,.4);}
.why-card .ic{font-size:1.6rem; margin-bottom:.7rem;}
.why-card h4{font-family:var(--font-display); font-size:.95rem; margin:0 0 .35rem;}
.why-card p{font-size:.8rem; color:var(--muted); margin:0;}

/* ---------- TESTIMONIALS ---------- */
.testi-slider{position:relative; overflow:hidden;}
.testi-track{display:flex; transition:transform .6s var(--ease);}
.testi-card{
  flex:0 0 100%; max-width:640px; margin:0 auto; padding:2.2rem; border-radius:var(--radius-lg);
  background:var(--surface); border:1px solid var(--border); text-align:center;
}
.testi-stars{color:var(--gold); font-size:1rem; margin-bottom:1rem; letter-spacing:.15em;}
.testi-quote{font-size:1.05rem; margin:0 0 1.4rem; font-style:italic;}
.testi-name{font-family:var(--font-display); font-weight:600;}
.testi-role{font-size:.8rem; color:var(--muted);}
.testi-dots{display:flex; justify-content:center; gap:.5rem; margin-top:1.6rem;}
.testi-dots button{
  width:9px; height:9px; border-radius:50%; border:none; background:var(--border); padding:0; transition:background .3s, width .3s;
}
.testi-dots button.active{background:var(--grad); width:24px; border-radius:6px;}

/* ---------- FAQ ---------- */
.faq-inner{display:grid; grid-template-columns:.9fr 1.1fr; gap:3rem;}
.faq .btn{margin-top:1rem;}
.accordion-item{border-bottom:1px solid var(--border);}
.accordion-item button{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:1rem; text-align:left;
  background:none; border:none; color:var(--text); padding:1.2rem 0; font-family:var(--font-display); font-size:.98rem; font-weight:600;
}
.accordion-item .plus{
  flex:none; width:22px; height:22px; position:relative; transition:transform .3s var(--ease);
}
.accordion-item .plus::before, .accordion-item .plus::after{
  content:''; position:absolute; background:var(--primary-2); border-radius:2px;
}
.accordion-item .plus::before{width:100%; height:2px; top:50%; left:0; transform:translateY(-50%);}
.accordion-item .plus::after{height:100%; width:2px; left:50%; top:0; transform:translateX(-50%); transition:opacity .25s;}
.accordion-item.open .plus{transform:rotate(180deg);}
.accordion-item.open .plus::after{opacity:0;}
.accordion-panel{max-height:0; overflow:hidden; transition:max-height .4s var(--ease);}
.accordion-panel p{margin:0 0 1.2rem; color:var(--muted); font-size:.9rem; max-width:520px;}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:3rem;}
.contact-list{margin:1.6rem 0;}
.contact-list li{display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.1rem;}
.contact-ic{font-size:1.3rem;}
.contact-list strong{display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted);}
.contact-list a{font-weight:600;}
.copy-btn{
  margin-left:.6rem; font-size:.68rem; padding:.2rem .6rem; border-radius:999px; border:1px solid var(--border);
  background:var(--surface); color:var(--muted);
}
.copy-btn.copied{color:var(--whatsapp); border-color:var(--whatsapp);}
.social-row{display:flex; gap:.7rem;}
.social-row a{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background:var(--surface);
  display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:700; transition:transform .3s, background .3s;
}
.social-row a:hover{transform:translateY(-4px); background:var(--grad); color:#fff;}

.contact-form{padding:2rem; border-radius:var(--radius-lg);}
.form-row{margin-bottom:1.1rem; display:flex; flex-direction:column; gap:.4rem;}
.form-row.two{display:grid; grid-template-columns:1fr 1fr; gap:1rem;}
.form-row.two > div{display:flex; flex-direction:column; gap:.4rem;}
label{font-size:.8rem; color:var(--muted); font-weight:500;}
input,select,textarea{
  padding:.75rem .9rem; border-radius:var(--radius-sm); border:1px solid var(--border); background:var(--bg-2);
  color:var(--text); font-size:.9rem; transition:border-color .25s, box-shadow .25s;
}
input:focus,select:focus,textarea:focus{border-color:var(--primary-2); box-shadow:0 0 0 3px rgba(34,211,238,.15);}
textarea{resize:vertical;}
.form-submit{width:100%; justify-content:center; margin-top:.4rem;}
.form-note{font-size:.74rem; color:var(--muted); text-align:center; margin-top:.8rem;}
@media (max-width:860px){ .contact-grid, .faq-inner{grid-template-columns:1fr;} .form-row.two{grid-template-columns:1fr;} }

/* ---------- FOOTER ---------- */
.footer{border-top:1px solid var(--border); padding:3.5rem 1.5rem 1.5rem; background:var(--bg-2);}
.footer-inner{
  max-width:1180px; margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2rem; padding-bottom:2.4rem;
}
.footer-brand{display:flex; gap:.7rem; align-items:center;}
.footer-name{font-family:var(--font-display); font-weight:600; margin:0;}
.footer-role{margin:0; font-size:.82rem; color:var(--muted);}
.footer-col h5{font-family:var(--font-display); font-size:.85rem; margin:0 0 1rem; color:var(--primary-2);}
.footer-col a{display:block; margin-bottom:.6rem; font-size:.86rem; color:var(--muted); transition:color .2s;}
.footer-col a:hover{color:var(--text);}
.footer-bottom{max-width:1180px; margin:0 auto; padding-top:1.5rem; border-top:1px solid var(--border); text-align:center; font-size:.8rem; color:var(--muted);}
@media (max-width:760px){ .footer-inner{grid-template-columns:1fr 1fr;} }

/* ---------- FLOATING BUTTONS ---------- */
.floating-wa,.floating-call{
  position:fixed; right:1.4rem; z-index:800; width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow);
  transition:transform .3s var(--ease);
}
.floating-wa{bottom:1.4rem; background:var(--whatsapp); color:#fff; animation:pulseWA 2.6s ease-in-out infinite;}
.floating-wa svg{width:28px; height:28px; fill:currentColor;}
.floating-call{bottom:5.6rem; background:var(--surface-solid); color:var(--text); border:1px solid var(--border); width:48px; height:48px; right:1.8rem;}
.floating-call svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2;}
.floating-wa:hover,.floating-call:hover{transform:scale(1.1);}
@keyframes pulseWA{0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.5), var(--shadow);} 50%{box-shadow:0 0 0 12px rgba(37,211,102,0), var(--shadow);}}

.back-to-top{
  position:fixed; left:1.4rem; bottom:1.4rem; z-index:800; width:44px; height:44px; border-radius:50%;
  background:var(--surface-solid); border:1px solid var(--border); color:var(--text); display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity .3s, transform .3s, visibility .3s;
}
.back-to-top.show{opacity:1; visibility:visible; transform:translateY(0);}
.back-to-top svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2;}

@media (max-width:600px){
  .floating-wa{width:50px; height:50px; right:1rem; bottom:1rem;}
  .floating-call{width:42px; height:42px; right:1.3rem; bottom:4.8rem;}
  .back-to-top{left:1rem; bottom:1rem;}
  .section{padding:4.5rem 0;}
}
