/* =========================================================
   ALTRION PROJECTS - GLOBAL STYLE.CSS
   Updated premium base styling + homepage hook sections
   ========================================================= */

/* -------------------------
   CSS Variables
------------------------- */
:root{
  --bg:#f6f3ee;
  --surface:#ffffff;
  --text:#1f1b17;
  --muted:#6f665d;
  --line:#e7dfd5;
  --gold:#b8945f;
  --gold-dark:#9f7948;
  --dark:#18120d;
  --dark-2:#241812;
  --soft:#ede4d7;
  --soft-2:#f3e8d9;
  --green:#275b3b;
  --shadow:0 14px 34px rgba(22,18,13,.08);
  --shadow-strong:0 20px 44px rgba(22,18,13,.14);
  --max:1180px;
}

/* -------------------------
   Reset / Base
------------------------- */
*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  color:var(--gold-dark);
}

p{
  margin-top:0;
}

.container{
  width:min(var(--max), calc(100% - 56px));
  margin:0 auto;
}

.section{
  padding:72px 0;
}

.small{
  font-size:14px;
  color:rgba(255,255,255,.76);
  line-height:1.65;
}

.breadcrumbs{
  color:var(--muted);
  font-size:14px;
  margin-bottom:12px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:8px 14px;
  border-radius:999px;
  background:#eee7dc;
  color:#8a6842;
  font-size:12px;
  font-weight:800;
  line-height:1;
  letter-spacing:.065em;
  text-transform:uppercase;
}

.kicker{
  margin:0 0 8px;
  color:#8a6842;
  font-size:12px;
  font-weight:800;
  letter-spacing:.065em;
  text-transform:uppercase;
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

/* -------------------------
   Buttons
------------------------- */
.btn,
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:14px 22px;
  border-radius:999px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap;
}

.btn{
  background:var(--gold);
  color:#fff;
  border:1px solid var(--gold);
  box-shadow:0 12px 26px rgba(184,148,95,.22);
}

.btn:hover{
  transform:translateY(-2px);
  background:var(--gold-dark);
  border-color:var(--gold-dark);
  color:#fff;
  box-shadow:0 16px 32px rgba(184,148,95,.28);
}

.btn-outline{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(31,23,18,.18);
}

.btn-outline:hover{
  transform:translateY(-2px);
  color:var(--text);
  border-color:rgba(31,23,18,.34);
  box-shadow:0 12px 24px rgba(24,18,13,.08);
}

/* -------------------------
   Top Bar
------------------------- */
.topbar{
  background:#17110c;
  color:#fff;
  font-size:14px;
}

.topbar .container{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.topbar a{
  color:#fff;
}

/* -------------------------
   Header / Navigation
------------------------- */
header{
  background:rgba(246,243,238,.96);
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:50;
}

.nav{
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand-wrap{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  color:inherit;
  line-height:0;
  max-width:360px;
}

.site-logo{
  height:96px;
  width:auto;
  display:block;
  object-fit:contain;
}

.menu{
  display:flex;
  align-items:center;
  gap:26px;
  font-weight:800;
}

.menu a{
  color:#655c54;
  transition:color .18s ease;
}

.menu a:hover,
.menu a.active{
  color:#17110c;
}

.menu .btn{
  color:#fff;
  padding-left:24px;
  padding-right:24px;
}

.menu .btn:hover,
.menu .btn.active{
  color:#fff;
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  padding:0;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}

.menu-toggle span{
  width:20px;
  height:2px;
  background:#1f1712;
  border-radius:999px;
  display:block;
}

.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:#fff;
}

.mobile-menu-inner{
  padding:18px 0 22px;
  display:grid;
  gap:12px;
}

.mobile-menu a{
  padding:12px 0;
  font-weight:800;
  color:#332a23;
  border-bottom:1px solid #f0e8dd;
}

.mobile-menu .btn{
  width:max-content;
  margin-top:8px;
  color:#fff;
  padding-left:22px;
  padding-right:22px;
  border-bottom:0;
}

/* Support different JS class names */
.mobile-menu.open,
.mobile-menu.active,
.mobile-menu.is-open{
  display:block;
}

/* -------------------------
   Generic Page Hero
------------------------- */
.page-hero{
  padding:58px 0 34px;
  position:relative;
  overflow:hidden;
}

.page-hero:before{
  content:"";
  position:absolute;
  top:-140px;
  right:-120px;
  width:380px;
  height:380px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(183,142,88,.16) 0%, rgba(183,142,88,0) 72%);
  pointer-events:none;
}

.page-hero:after{
  content:"";
  position:absolute;
  bottom:-140px;
  left:-120px;
  width:320px;
  height:320px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(70,54,36,.08) 0%, rgba(70,54,36,0) 72%);
  pointer-events:none;
}

.page-hero .container,
.page-hero-inner{
  position:relative;
  z-index:1;
}

.page-hero h1{
  max-width:900px;
  margin:14px 0 18px;
  font-size:clamp(42px,6vw,74px);
  line-height:.95;
  letter-spacing:-.055em;
}

.page-hero .lead{
  max-width:780px;
  color:var(--muted);
  font-size:18px;
  margin:0;
}

/* -------------------------
   Homepage Hero - Existing Base
------------------------- */
.hero-home{
  padding:58px 0 18px;
  position:relative;
  overflow:hidden;
}

.hero-home:before{
  content:"";
  position:absolute;
  top:-140px;
  right:-120px;
  width:380px;
  height:380px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(183,142,88,.16) 0%, rgba(183,142,88,0) 72%);
  pointer-events:none;
}

.hero-home:after{
  content:"";
  position:absolute;
  bottom:-120px;
  left:-120px;
  width:300px;
  height:300px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(70,54,36,.08) 0%, rgba(70,54,36,0) 72%);
  pointer-events:none;
}

.hero-home .container{
  position:relative;
  z-index:1;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:26px;
  align-items:start;
}

.hero-copy h1{
  max-width:700px;
  margin:12px 0 18px;
  font-size:clamp(48px,7vw,86px);
  line-height:.94;
  letter-spacing:-.06em;
}

.hero-copy .lead{
  max-width:720px;
  font-size:18px;
  color:var(--muted);
  margin:0;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.hero-checks{
  list-style:none;
  padding:0;
  margin:18px 0 0;
  display:grid;
  gap:10px;
  max-width:680px;
}

.hero-checks li{
  position:relative;
  padding-left:24px;
  color:#3a3129;
  font-weight:700;
  font-size:14px;
  line-height:1.5;
}

.hero-checks li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--green);
  font-weight:900;
}

.hero-media{
  display:grid;
  gap:16px;
}

.hero-image-card{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:0 20px 40px rgba(24,18,13,.12);
  padding:12px;
}

.hero-image-card img{
  width:100%;
  height:620px;
  object-fit:cover;
  display:block;
  border-radius:22px;
  background:#efe7db;
}

.hero-note{
  position:absolute;
  left:28px;
  bottom:28px;
  max-width:270px;
  background:rgba(25,18,13,.84);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px 18px;
  backdrop-filter:blur(8px);
}

.hero-note strong{
  display:block;
  font-size:15px;
  margin-bottom:6px;
}

.hero-note p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.55;
}

/* -------------------------
   Homepage Hero - Hook 1 Direct Contractor
------------------------- */
.hero-direct{
  padding:66px 0 54px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(183,142,88,.20) 0%, rgba(183,142,88,0) 30%),
    radial-gradient(circle at 0% 74%, rgba(70,54,36,.12) 0%, rgba(70,54,36,0) 24%),
    #f6f3ee;
}

.hero-direct .container{
  position:relative;
  z-index:1;
}

.hero-direct .hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:32px;
  align-items:center;
  margin-bottom:10px;
}

.hero-direct .hero-copy h1{
  max-width:820px;
  margin:14px 0 20px;
  font-size:clamp(48px,6.8vw,88px);
  line-height:.92;
  letter-spacing:-.065em;
}

.hero-direct .lead{
  max-width:780px;
  color:var(--muted);
  font-size:18px;
  line-height:1.68;
}

.hero-direct .hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:26px;
}

.hero-direct .hero-checks{
  list-style:none;
  padding:0;
  margin:20px 0 0;
  display:grid;
  gap:10px;
  max-width:720px;
}

.hero-direct .hero-checks li{
  position:relative;
  padding-left:26px;
  color:#3a3129;
  font-weight:700;
  font-size:14px;
  line-height:1.5;
}

.hero-direct .hero-checks li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--green);
  font-weight:900;
}

.hero-panel{
  position:relative;
  padding:34px;
  border-radius:30px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 24px 50px rgba(24,18,13,.12);
  overflow:hidden;
}

.hero-panel:before{
  content:"";
  position:absolute;
  top:-76px;
  right:-72px;
  width:210px;
  height:210px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(183,142,88,.24) 0%, rgba(183,142,88,.24) 46%, rgba(183,142,88,0) 47%);
  pointer-events:none;
}

.hero-panel:after{
  content:"";
  position:absolute;
  bottom:-78px;
  left:-78px;
  width:180px;
  height:180px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(31,23,18,.10) 0%, rgba(31,23,18,.10) 46%, rgba(31,23,18,0) 47%);
  pointer-events:none;
}

.hero-panel .eyebrow,
.hero-panel h2,
.hero-panel p,
.hero-panel ul{
  position:relative;
  z-index:1;
}

.hero-panel h2{
  margin:12px 0 14px;
  font-size:clamp(30px,3.5vw,48px);
  line-height:1;
  letter-spacing:-.045em;
}

.hero-panel p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.hero-checklist{
  list-style:none;
  padding:0;
  margin:20px 0 0;
  display:grid;
  gap:12px;
}

.hero-checklist li{
  position:relative;
  padding-left:28px;
  color:#342b24;
  font-weight:700;
  line-height:1.45;
}

.hero-checklist li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--green);
  font-weight:900;
}

.hero-service-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:38px;
  position:relative;
  z-index:3;
}

.hero-service-strip div{
  padding:22px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 30px rgba(24,18,13,.07);
}

.hero-service-strip strong{
  display:block;
  margin-bottom:8px;
  font-size:20px;
  line-height:1.1;
}

.hero-service-strip span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

/* -------------------------
   Direct Support Hook Section
------------------------- */
.direct-support{
  padding:54px 0 72px;
  background:#f6f3ee;
  position:relative;
  overflow:hidden;
}

.direct-support:before{
  content:"";
  position:absolute;
  top:-120px;
  right:-120px;
  width:320px;
  height:320px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(183,142,88,.14) 0%, rgba(183,142,88,0) 72%);
  pointer-events:none;
}

.direct-support .container{
  position:relative;
  z-index:1;
}

.direct-support-head{
  display:grid;
  grid-template-columns:1fr .82fr;
  gap:28px;
  align-items:end;
  margin-bottom:26px;
}

.direct-support-head h2{
  margin:10px 0 0;
  font-size:clamp(36px,4.8vw,68px);
  line-height:.96;
  letter-spacing:-.055em;
  max-width:880px;
}

.direct-support-head p{
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
  margin:0;
  max-width:620px;
}

.direct-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.direct-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:0 16px 34px rgba(24,18,13,.08);
  padding:28px;
  min-height:310px;
  display:flex;
  flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.direct-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 42px rgba(24,18,13,.12);
  border-color:#dccdb9;
}

.direct-card-num{
  width:44px;
  height:44px;
  border-radius:999px;
  background:#1f1712;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:800;
  margin-bottom:18px;
}

.direct-card h3{
  margin:0 0 12px;
  font-size:clamp(26px,2.4vw,36px);
  line-height:1;
  letter-spacing:-.04em;
}

.direct-card p{
  margin:0;
  color:var(--muted);
  line-height:1.68;
}

.direct-card ul{
  list-style:none;
  padding:0;
  margin:20px 0 0;
  display:grid;
  gap:10px;
}

.direct-card li{
  position:relative;
  padding-left:24px;
  color:#332a23;
  font-weight:700;
  font-size:14px;
  line-height:1.45;
}

.direct-card li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--green);
  font-weight:900;
}

/* -------------------------
   Quick Cards
------------------------- */
.quick-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}

.quick-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:22px;
}

.quick-card h3{
  margin:0 0 8px;
  font-size:26px;
  line-height:1.04;
}

.quick-card p{
  margin:0;
  color:var(--muted);
}

/* -------------------------
   Section Heading
------------------------- */
.section-head h2{
  margin:10px 0 12px;
  font-size:clamp(34px,4.2vw,60px);
  line-height:1;
  letter-spacing:-.045em;
  max-width:880px;
}

.section-head p{
  max-width:780px;
  color:var(--muted);
  margin:0;
}

/* -------------------------
   Service Cards
------------------------- */
.service-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin-top:24px;
}

.service-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:24px;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 34px rgba(24,18,13,.11);
  border-color:#dccdb9;
}

.service-tag{
  display:inline-block;
  margin-bottom:10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#8a765b;
}

.service-card h3{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.04;
  letter-spacing:-.03em;
}

.service-card p{
  margin:0 0 12px;
  color:var(--muted);
}

.service-card a{
  font-weight:800;
}

/* -------------------------
   Dark Band / Process
------------------------- */
.band-dark{
  background:#17110c;
  color:#fff;
  border-top:1px solid #2a211a;
  border-bottom:1px solid #2a211a;
  position:relative;
  overflow:hidden;
}

.band-dark:before{
  content:"";
  position:absolute;
  top:-90px;
  right:-90px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(183,142,88,.15) 0%, rgba(183,142,88,0) 72%);
  pointer-events:none;
}

.band-dark .container{
  position:relative;
  z-index:1;
}

.band-dark .eyebrow{
  background:rgba(255,255,255,.08);
  color:#d8bb92;
}

.band-dark h2{
  color:#fff;
  margin:10px 0 12px;
  font-size:clamp(34px,4vw,58px);
  line-height:1;
  letter-spacing:-.045em;
  max-width:900px;
}

.band-dark p{
  margin:0;
  color:rgba(255,255,255,.78);
  max-width:760px;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:26px;
}

.process-card{
  background:#fff;
  color:#1f1b17;
  border-radius:20px;
  padding:24px;
  border:1px solid #eadfce;
  box-shadow:0 14px 30px rgba(0,0,0,.14);
  transition:transform .22s ease, box-shadow .22s ease;
}

.process-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 38px rgba(0,0,0,.18);
}

.process-no{
  width:38px;
  height:38px;
  border-radius:999px;
  background:#1f1712;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:12px;
  margin-bottom:14px;
}

.process-card h3{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.08;
}

.process-card p{
  margin:0;
  color:#5a5149;
}

/* -------------------------
   Project Cards
------------------------- */
.feature-wrap{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:end;
}

.feature-wrap .btn-outline{
  align-self:start;
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:28px;
}

.project-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  display:flex;
  flex-direction:column;
  height:100%;
  text-decoration:none;
  color:inherit;
  min-width:0;
}

.project-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 36px rgba(24,18,13,.11);
  border-color:#dccdb9;
  color:inherit;
}

.project-card img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
  border-bottom:1px solid var(--line);
  background:#f3ede4;
}

.project-card-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
}

.project-tag{
  display:inline-block;
  margin-bottom:10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#8a765b;
}

.project-card-body h3{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.08;
  letter-spacing:-.02em;
}

.project-card-body p{
  color:var(--muted);
  margin-bottom:14px;
}

.project-card-link{
  margin-top:auto;
  font-weight:800;
}

/* -------------------------
   Testimonials
------------------------- */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:22px;
}

.testimonial-card{
  position:relative;
  background:linear-gradient(180deg,#ffffff 0%, #f8f4ee 100%);
  border:1px solid #e6d9c8;
  border-radius:24px;
  box-shadow:0 14px 30px rgba(24,18,13,.08);
  padding:24px;
  overflow:hidden;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease;
}

.testimonial-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.72) 50%,
    rgba(255,255,255,0) 65%,
    rgba(255,255,255,0) 100%
  );
  transform:translateX(-140%);
  opacity:0;
  pointer-events:none;
}

.testimonial-card::after{
  content:"“";
  position:absolute;
  top:12px;
  right:18px;
  font-size:84px;
  line-height:1;
  color:rgba(183,142,88,.12);
  font-weight:800;
  pointer-events:none;
}

.testimonial-card:hover{
  transform:translateY(-8px);
  box-shadow:0 22px 42px rgba(24,18,13,.14);
  border-color:#d6bb92;
  background:linear-gradient(180deg,#ffffff 0%, #fbf7f1 100%);
}

.testimonial-card:hover::before{
  opacity:1;
  transform:translateX(140%);
  transition:transform .95s ease, opacity .35s ease;
}

.testimonial-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
  position:relative;
  z-index:1;
}

.testimonial-stars{
  display:flex;
  align-items:center;
  gap:4px;
}

.testimonial-stars span{
  color:#c79b51;
  font-size:16px;
  line-height:1;
  text-shadow:0 2px 8px rgba(199,155,81,.18);
}

.testimonial-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:999px;
  background:#f3eadc;
  color:#8a6d48;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}

.testimonial-card p{
  margin:0 0 18px;
  color:#4d453d;
  line-height:1.78;
  font-size:15px;
  position:relative;
  z-index:1;
}

.testimonial-footer{
  display:flex;
  flex-direction:column;
  gap:3px;
  position:relative;
  z-index:1;
}

.testimonial-footer strong{
  display:inline-block;
  font-size:15px;
  color:#1f1b17;
}

.testimonial-footer span{
  color:#7b7064;
  font-size:14px;
}

/* subtle floating motion */
@keyframes testimonialFloat{
  0%{transform:translateY(0);}
  50%{transform:translateY(-3px);}
  100%{transform:translateY(0);}
}

.testimonial-card:nth-child(1){
  animation:testimonialFloat 5.5s ease-in-out infinite;
}
.testimonial-card:nth-child(2){
  animation:testimonialFloat 6.3s ease-in-out infinite;
}
.testimonial-card:nth-child(3){
  animation:testimonialFloat 5.9s ease-in-out infinite;
}

/* keep hover stronger than floating animation */
.testimonial-card:hover{
  animation:none;
}

@media (max-width:1180px){
  .testimonial-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:780px){
  .testimonial-grid{
    grid-template-columns:1fr;
  }

  .testimonial-top{
    align-items:flex-start;
    flex-direction:column;
  }

  .testimonial-badge{
    font-size:10px;
  }
}

/* -------------------------
   CTA Premium
------------------------- */
.cta-premium{
  padding:36px;
  border-radius:30px;
  background:linear-gradient(135deg,#1a130e 0%,#432b1a 100%);
  color:#fff;
  box-shadow:0 20px 40px rgba(24,18,13,.18);
  position:relative;
  overflow:hidden;
}

.cta-premium:before{
  content:"";
  position:absolute;
  right:-80px;
  top:-60px;
  width:240px;
  height:240px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,186,112,.18) 0%, rgba(255,186,112,0) 70%);
  pointer-events:none;
}

.cta-premium h2{
  color:#fff;
  margin:0 0 10px;
  font-size:clamp(36px,4vw,60px);
  line-height:1;
  max-width:760px;
  position:relative;
  z-index:1;
}

.cta-premium p{
  color:rgba(255,255,255,.82);
  max-width:760px;
  margin:0;
  position:relative;
  z-index:1;
}

.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
  position:relative;
  z-index:1;
}

.cta-premium .eyebrow{
  position:relative;
  z-index:1;
}

.cta-premium .btn-outline{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.28);
}

.cta-premium .btn-outline:hover{
  color:#fff;
  border-color:rgba(255,255,255,.48);
}

/* -------------------------
   Contact / Form Base
------------------------- */
input,
select,
textarea{
  font:inherit;
}

input,
select,
textarea{
  width:100%;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
}

/* -------------------------
   Footer
------------------------- */
.footer{
  background:#090806;
  color:#fff;
  padding:64px 0 34px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.45fr .7fr .8fr .7fr;
  gap:44px;
  align-items:start;
}

.footer-brand{
  margin-bottom:16px;
  max-width:300px;
}

.footer-logo{
  height:78px;
  width:auto;
}

.footer h3{
  color:#fff;
  margin:0 0 16px;
  font-size:22px;
  line-height:1.1;
}

.footer p{
  margin:0 0 12px;
}

.footer a{
  color:rgba(255,255,255,.86);
}

.footer a:hover{
  color:#d8bb92;
}

/* -------------------------
   WhatsApp Floating Button
------------------------- */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  background:#1f1712;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 16px 34px rgba(0,0,0,.22);
  transition:transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(0,0,0,.26);
  color:#fff;
}

.whatsapp-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#4bd37b;
  box-shadow:0 0 0 6px rgba(75,211,123,.12);
}

/* -------------------------
   Animation
------------------------- */
.fade-up{
  opacity:0;
  transform:translateY(18px);
  animation:fadeUp .7s ease forwards;
}

.delay-1{
  animation-delay:.08s;
}

.delay-2{
  animation-delay:.16s;
}

.delay-3{
  animation-delay:.24s;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width:1180px){
  .hero-grid,
  .hero-direct .hero-grid,
  .direct-support-head,
  .direct-card-grid{
    grid-template-columns:1fr;
  }

  .hero-image-card img{
    height:520px;
  }

  .service-grid,
  .project-grid,
  .testimonial-grid{
    grid-template-columns:1fr 1fr;
  }

  .process-grid{
    grid-template-columns:1fr 1fr;
  }

  .quick-grid{
    grid-template-columns:1fr 1fr 1fr;
  }

  .footer-grid{
    grid-template-columns:1.2fr 1fr 1fr;
  }

  .site-logo{
    height:84px;
  }

  .direct-card{
    min-height:auto;
  }
}

@media (max-width:900px){
  .topbar .container{
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:10px 0;
    gap:4px;
  }

  .nav{
    min-height:92px;
  }

  .menu{
    display:none;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .grid-2{
    grid-template-columns:1fr;
  }
}

@media (max-width:780px){
  .container{
    width:min(100% - 40px, var(--max));
  }

  .section{
    padding:54px 0;
  }

  .hero-home{
    padding:42px 0 18px;
  }

  .hero-direct{
    padding:44px 0 42px;
  }

  .hero-copy h1,
  .hero-direct .hero-copy h1{
    font-size:54px;
  }

  .hero-copy .lead,
  .hero-direct .lead,
  .page-hero .lead{
    font-size:16px;
  }

  .hero-panel{
    padding:26px;
  }

  .hero-image-card img{
    height:420px;
  }

  .hero-note{
    left:22px;
    right:22px;
    bottom:22px;
    max-width:none;
  }

  .hero-service-strip{
    grid-template-columns:1fr;
    margin-top:30px;
  }

  .direct-support{
    padding:42px 0 54px;
  }

  .direct-card{
    padding:24px;
  }

  .quick-grid,
  .service-grid,
  .process-grid,
  .project-grid,
  .testimonial-grid{
    grid-template-columns:1fr;
  }

  .feature-wrap{
    grid-template-columns:1fr;
    gap:12px;
  }

  .page-hero{
    padding:42px 0 24px;
  }

  .page-hero h1{
    font-size:54px;
  }

  .site-logo{
    height:64px;
    max-width:240px;
  }

  .footer-logo{
    height:56px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer{
    padding:52px 0 32px;
  }

  .whatsapp-float{
    right:14px;
    bottom:14px;
    padding:13px 16px;
  }

  .project-card img{
    height:220px;
  }
}

@media (max-width:480px){
  .container{
    width:min(100% - 32px, var(--max));
  }

  .hero-copy h1,
  .hero-direct .hero-copy h1{
    font-size:46px;
  }

  .page-hero h1{
    font-size:46px;
  }

  .section-head h2,
  .band-dark h2,
  .cta-premium h2{
    font-size:38px;
  }

  .btn,
  .btn-outline{
    width:100%;
  }

  .hero-actions,
  .cta-actions{
    width:100%;
  }

  .whatsapp-float span:last-child{
    display:none;
  }

  .whatsapp-float{
    width:48px;
    height:48px;
    padding:0;
    justify-content:center;
  }
}

/* Final homepage hero readability polish */
.hero-direct{
  background:
    radial-gradient(circle at 92% 4%, rgba(184,148,95,.45) 0%, rgba(184,148,95,.24) 18%, rgba(184,148,95,0) 38%),
    radial-gradient(circle at 0% 88%, rgba(184,148,95,.18) 0%, rgba(184,148,95,0) 26%),
    linear-gradient(135deg,#120d09 0%,#1b120c 45%,#3a2415 100%);
  padding-top:74px;
  padding-bottom:62px;
}

.hero-direct .breadcrumbs{
  color:rgba(255,255,255,.58);
}

.hero-direct .hero-copy h1{
  color:#fff;
  text-shadow:0 18px 42px rgba(0,0,0,.22);
}

.hero-direct .lead{
  color:rgba(255,255,255,.80);
}

.hero-direct .hero-checks li{
  color:rgba(255,255,255,.88);
}

.hero-direct .hero-checks li:before{
  color:#d9b77d;
}

.hero-direct .btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.28);
}

.hero-direct .btn-outline:hover{
  color:#fff;
  border-color:rgba(255,255,255,.50);
}

.hero-direct .hero-service-strip div{
  background:rgba(255,255,255,.96);
  border-color:rgba(255,255,255,.14);
}

.hero-panel{
  box-shadow:0 28px 60px rgba(0,0,0,.28);
}

@media (max-width:780px){
  .hero-direct{
    padding-top:52px;
    padding-bottom:48px;
  }
}

/* Fix testimonial cards not showing because floating animation overrides fade-up */
.testimonial-card.fade-up,
.testimonial-card.fade-up.delay-1,
.testimonial-card.fade-up.delay-2,
.testimonial-card.fade-up.delay-3{
  opacity:1;
  transform:translateY(0);
}

.testimonial-card:nth-child(1){
  animation:testimonialFloat 5.5s ease-in-out infinite;
}

.testimonial-card:nth-child(2){
  animation:testimonialFloat 6.3s ease-in-out infinite;
}

.testimonial-card:nth-child(3){
  animation:testimonialFloat 5.9s ease-in-out infinite;
}

.testimonial-card:hover{
  animation:none;
  transform:translateY(-8px);
}

/* =========================================================
   FIX: Keep mobile dropdown hidden on desktop/tablet nav
   ========================================================= */

.mobile-menu,
.mobile-menu.open,
.mobile-menu.active,
.mobile-menu.is-open{
  display:none !important;
}

@media (max-width:900px){
  .mobile-menu.open,
  .mobile-menu.active,
  .mobile-menu.is-open{
    display:block !important;
  }
}