/* ===================== Alta-Reno Services — stylesheet ===================== */

:root{
  --bg: #170b28;
  --bg-alt: #1f0f36;
  --bg-glow: #3a1a63;
  --panel: rgba(255,255,255,0.045);
  --panel-border: rgba(190,150,230,0.16);
  --text: #f6f2fb;
  --text-dim: #c3b3dd;
  --purple: #a855f7;
  --purple-2: #7c3aed;
  --purple-deep: #5b21b6;
  --white: #ffffff;
  --gradient: linear-gradient(120deg, var(--purple), var(--purple-deep));
  --glow: 0 0 40px rgba(168,85,247,0.28);
  --radius: 16px;
  --maxw: 1180px;
  --font: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, var(--bg-glow) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0d0518 100%);
  background-attachment:fixed;
  color:var(--text);
  font-family:var(--body-font);
  line-height:1.65;
  overflow-x:hidden;
  position:relative;
}

h1,h2,h3,h4,h5{ font-family:var(--font); font-weight:700; line-height:1.2; color:var(--white); }

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

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

/* ---------- background overlays ---------- */
#bg-canvas{
  position:fixed; inset:0; z-index:0; width:100%; height:100%; pointer-events:none;
}
.grid-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(rgba(168,85,247,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.045) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}
.noise-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:0; opacity:0.03;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header / nav ---------- */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  background:rgba(23,11,40,0.75);
  border-bottom:1px solid var(--panel-border);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; }

.logo{ display:flex; align-items:center; gap:12px; }
.logo-mark{
  width:46px; height:46px; border-radius:12px; overflow:hidden;
  position:relative; box-shadow:0 0 22px rgba(168,85,247,0.45); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:var(--gradient);
}
.logo-mark svg{ display:block; }
.logo-text{ display:flex; flex-direction:column; line-height:1.15; }
.logo-word{ font-weight:800; font-size:1.2rem; letter-spacing:0.01em; color:var(--white); }
.logo-word .accent{ color:var(--purple); }
.logo-tagline{
  font-size:0.62rem; font-weight:500; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--text-dim); margin-top:2px;
}

.nav-links{ display:flex; align-items:center; gap:34px; font-size:0.95rem; }
.nav-links a{ color:var(--text-dim); transition:color .2s ease; position:relative; }
.nav-links a:hover, .nav-links a.active{ color:var(--white); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-8px; height:2px; background:var(--gradient);
}
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none; background:none; border:none; color:var(--white); font-size:1.4rem; cursor:pointer;
}

@media (max-width: 860px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:row; flex-wrap:wrap; justify-content:center;
    max-height:70vh; overflow-y:auto;
    padding:18px 20px; gap:14px 22px; background:rgba(23,11,40,0.98);
    border-bottom:1px solid var(--panel-border); box-shadow:0 16px 30px rgba(0,0,0,0.35);
    opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s; font-size:0.95rem;
  }
  .nav-links.open{ opacity:1; visibility:visible; transform:translateY(0); }
  .nav-toggle{ display:block; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:999px; font-weight:600; font-size:0.95rem;
  cursor:pointer; border:1px solid transparent; transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--gradient); color:var(--white); box-shadow:var(--glow); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 0 50px rgba(168,85,247,0.4); }
.btn-ghost{ background:rgba(255,255,255,0.05); color:var(--white); border-color:var(--panel-border); }
.btn-ghost:hover{ background:rgba(255,255,255,0.09); }
.btn-block{ width:100%; }

/* ---------- hero ---------- */
.hero{ padding:100px 0 70px; position:relative; z-index:1; }
.hero-inner{ max-width:820px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.85rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--purple); margin-bottom:20px;
}
.eyebrow::before{
  content:''; width:8px; height:8px; border-radius:50%; background:var(--gradient); box-shadow:0 0 10px var(--purple);
}
.hero h1{ font-size:clamp(2.3rem, 5vw, 3.6rem); margin-bottom:22px; }
.gradient-text{
  background:var(--gradient); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{ font-size:1.15rem; color:var(--text-dim); max-width:640px; margin-bottom:36px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:50px; }

.stat-row{ display:flex; gap:48px; flex-wrap:wrap; border-top:1px solid var(--panel-border); padding-top:34px; }
.stat .num{ font-family:var(--font); font-size:2rem; font-weight:800; color:var(--white); }
.stat .label{ font-size:0.85rem; color:var(--text-dim); margin-top:4px; }

/* ---------- sections ---------- */
section{ padding:80px 0; position:relative; z-index:1; }
.section-alt{ background:rgba(168,85,247,0.035); border-top:1px solid var(--panel-border); border-bottom:1px solid var(--panel-border); }
.section-head{ max-width:680px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.7rem, 3vw, 2.3rem); margin:10px 0 14px; }
.section-head p{ color:var(--text-dim); }

.grid{ display:grid; gap:26px; }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
@media (max-width: 860px){ .grid-2, .grid-3{ grid-template-columns:1fr; } }

.card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius);
  padding:32px 28px; transition:transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover{ transform:translateY(-4px); border-color:rgba(168,85,247,0.4); background:rgba(255,255,255,0.06); }
.card .icon{
  width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; margin-bottom:18px;
  background:linear-gradient(135deg, rgba(168,85,247,0.22), rgba(91,33,182,0.22));
  border:1px solid rgba(168,85,247,0.3);
}
.card h3{ font-size:1.15rem; margin-bottom:10px; }
.card p{ color:var(--text-dim); font-size:0.95rem; }
.tag{
  display:inline-block; margin-top:16px; font-size:0.72rem; font-weight:600; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--purple); background:rgba(168,85,247,0.12);
  padding:5px 12px; border-radius:999px; border:1px solid rgba(168,85,247,0.25);
}

/* licensed trades strip */
.trade-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
@media (max-width: 860px){ .trade-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 560px){ .trade-grid{ grid-template-columns:1fr; } }
.trade-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:12px;
  padding:22px; display:flex; gap:14px; align-items:flex-start;
}
.trade-card .icon{
  width:40px; height:40px; border-radius:10px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; background:rgba(168,85,247,0.15); border:1px solid rgba(168,85,247,0.28);
}
.trade-card h4{ font-size:1rem; margin-bottom:5px; }
.trade-card p{ color:var(--text-dim); font-size:0.88rem; }

/* ---------- steps ---------- */
.steps{ display:flex; flex-direction:column; gap:26px; }
.step{ display:flex; gap:20px; align-items:flex-start; }
.step-num{
  width:38px; height:38px; border-radius:50%; flex-shrink:0; background:var(--gradient);
  box-shadow:var(--glow);
}
.step h4{ font-size:1.05rem; margin-bottom:6px; }
.step p{ color:var(--text-dim); font-size:0.95rem; }

/* ---------- quote / testimonial ---------- */
.quote-block{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius);
  padding:34px; position:relative;
}
.quote-block p{ font-size:1.1rem; font-style:italic; color:var(--text); margin-bottom:16px; }
.quote-block .who{ color:var(--purple); font-size:0.9rem; font-weight:600; }

.badge-row{ display:flex; gap:12px; flex-wrap:wrap; }
.badge{
  font-size:0.82rem; font-weight:600; color:var(--text-dim); background:rgba(255,255,255,0.05);
  border:1px solid var(--panel-border); padding:8px 16px; border-radius:999px;
}

/* ---------- cta band ---------- */
.cta-band{
  background:var(--gradient); border-radius:24px; padding:56px 40px; text-align:center;
  box-shadow:var(--glow);
}
.cta-band h2{ font-size:clamp(1.6rem, 3vw, 2.1rem); margin-bottom:12px; }
.cta-band p{ color:rgba(255,255,255,0.9); margin-bottom:28px; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta-band .btn-primary{ background:var(--white); color:var(--purple-deep); box-shadow:none; }
.cta-band .btn-primary:hover{ background:#f2e9ff; }
.cta-band .btn-ghost{ background:rgba(255,255,255,0.15); border-color:rgba(255,255,255,0.4); color:var(--white); }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ padding:70px 0 40px; }
.page-hero h1{ font-size:clamp(2rem, 4vw, 2.8rem); margin:14px 0 16px; }
.page-hero p{ color:var(--text-dim); max-width:640px; }

/* ---------- gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
@media (max-width: 860px){ .gallery-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns:1fr; } }
.gallery-item{
  aspect-ratio:4/3; border-radius:14px; border:1px dashed var(--panel-border);
  background:linear-gradient(135deg, rgba(168,85,247,0.08), rgba(91,33,182,0.08));
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  color:var(--text-dim); font-size:0.9rem; text-align:center; padding:20px;
}
.gallery-item .ph-icon{ font-size:1.8rem; opacity:0.7; }

.gallery-item.gallery-photo{
  border:1px solid var(--panel-border); padding:0; overflow:hidden; cursor:pointer;
  position:relative; background:var(--panel);
}
.gallery-item.gallery-photo img{
  width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease;
}
.gallery-item.gallery-photo:hover img{ transform:scale(1.06); }
.gallery-item.gallery-photo::after{
  content:'⤢ View'; position:absolute; right:12px; bottom:12px; font-size:0.75rem; font-weight:600;
  background:rgba(23,11,40,0.72); color:var(--white); padding:6px 12px; border-radius:999px;
  opacity:0; transition:opacity .2s ease; pointer-events:none;
}
.gallery-item.gallery-photo:hover::after{ opacity:1; }

.lightbox{
  position:fixed; inset:0; z-index:200; background:rgba(8,3,16,0.92);
  display:none; align-items:center; justify-content:center; padding:40px;
  backdrop-filter:blur(6px);
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:min(1100px, 92vw); max-height:88vh; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close{
  position:absolute; top:24px; right:28px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.08); border:1px solid var(--panel-border); color:var(--white);
  font-size:1.3rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.lightbox-close:hover{ background:rgba(255,255,255,0.16); }
.gallery-filter{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:32px; }
.filter-btn{
  padding:9px 18px; border-radius:999px; font-size:0.85rem; font-weight:600;
  background:rgba(255,255,255,0.05); border:1px solid var(--panel-border); color:var(--text-dim); cursor:pointer;
  transition:all .2s ease;
}
.filter-btn.active, .filter-btn:hover{ background:var(--gradient); color:var(--white); border-color:transparent; }

/* ---------- form ---------- */
.form-panel{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius); padding:34px;
}
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:0.85rem; color:var(--text-dim); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 16px; border-radius:10px; border:1px solid var(--panel-border);
  background:rgba(255,255,255,0.04); color:var(--white); font-family:var(--body-font); font-size:0.95rem;
}
.field textarea{ min-height:120px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--purple); box-shadow:0 0 0 3px rgba(168,85,247,0.18);
}

.contact-info .item{ display:flex; gap:16px; align-items:flex-start; margin-bottom:26px; }
.contact-info .icon{
  width:44px; height:44px; border-radius:12px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  background:rgba(168,85,247,0.15); border:1px solid rgba(168,85,247,0.28); font-size:1.1rem;
}
.contact-info h4{ font-size:1rem; margin-bottom:4px; }
.contact-info p, .contact-info a{ color:var(--text-dim); font-size:0.93rem; }
.contact-info a:hover{ color:var(--purple); }

/* ---------- footer ---------- */
footer{ border-top:1px solid var(--panel-border); padding:60px 0 30px; position:relative; z-index:1; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
@media (max-width: 760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-brand p{ color:var(--text-dim); font-size:0.9rem; margin-top:14px; max-width:320px; }
footer h5{ font-size:0.85rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--white); margin-bottom:16px; }
footer a{ display:block; color:var(--text-dim); font-size:0.9rem; margin-bottom:10px; transition:color .2s ease; }
footer a:hover{ color:var(--purple); }
.footer-bottom{
  border-top:1px solid var(--panel-border); padding-top:26px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; color:var(--text-dim); font-size:0.85rem;
}

/* ---------- reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

.hide-mobile{ display:inline; }
@media (max-width: 640px){ .hide-mobile{ display:none; } }
