/* ============================================================
   ScaleCraft Media — design tokens
   Navy #081a38 / #0f2a52   Gold #d99a18 / #f0c14b
   Cream #fffdf8   Slate #5b6b85
   Display: Playfair Display   Body: Inter
   ============================================================ */

:root{
  --navy: #081a38;
  --navy-soft: #0f2a52;
  --gold: #d99a18;
  --gold-light: #f0c14b;
  --cream: #fffdf8;
  --cream-dim: #f6f1e6;
  --slate: #5b6b85;
  --line: rgba(8, 26, 56, 0.1);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(8, 26, 56, 0.25);
  --shadow-lg: 0 30px 70px -25px rgba(8, 26, 56, 0.35);
  --ease: cubic-bezier(.22,.61,.36,1);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.35);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3{
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

p{ margin: 0 0 1em; color: var(--slate); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; }

.eyebrow{
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.accent{ color: var(--gold); font-style: italic; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn .arrow{ transition: transform .25s var(--ease); }
.btn:hover .arrow{ transform: translateX(3px); }

.btn-primary{
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 10px 25px -8px rgba(217,154,24,0.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(217,154,24,0.65); }

.btn-ghost{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost:hover{ background: var(--navy); color: var(--cream); transform: translateY(-2px); }

.btn-large{ padding: 17px 34px; font-size: 16px; }
.btn-nav{ padding: 11px 22px; font-size: 14px; }
.btn-sm{ padding: 10px 18px; font-size: 13px; }

/* ---------- noise / texture ---------- */
.noise-overlay{
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.02; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%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 ---------- */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled{ box-shadow: 0 8px 30px -20px rgba(8,26,56,0.3); background: rgba(255,255,255,0.85); }

.header-inner{
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 6%;
  gap: 24px;
}

.brand{ display: flex; align-items: center; gap: 10px; }
.brand-mark{ width: 38px; height: 38px; object-fit: contain; }
.brand-text{
  font-family: 'Inter', sans-serif;
  font-weight: 800; font-size: 15px; letter-spacing: 0.08em;
  color: var(--navy);
}

.main-nav{ display: flex; gap: 30px; }
.main-nav a{
  font-size: 14.5px; font-weight: 600; color: var(--slate);
  position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.main-nav a::after{
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .25s var(--ease);
}
.main-nav a:hover, .main-nav a.active{ color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after{ width: 100%; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none; border: none; cursor: pointer;
}
.nav-toggle span{ width: 100%; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- messages ---------- */
.messages-wrap{ max-width: 1280px; margin: 16px auto 0; padding: 0 6%; }
.site-message{
  background: #eafaf0; border: 1px solid #b7e6c8; color: #1c6b3d;
  padding: 14px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px;
}

/* ---------- hero ---------- */
.hero{ padding: 70px 6% 0; max-width: 1280px; margin: 0 auto; position: relative; }
.hero-shapes{ position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.shape{ position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; }
.shape-1{ width: 320px; height: 320px; background: var(--gold-light); top: -60px; left: -80px; }
.shape-2{ width: 220px; height: 220px; background: var(--navy-soft); top: 200px; right: -60px; opacity: 0.15; }
.shape-3{ width: 160px; height: 160px; background: var(--gold); bottom: -40px; left: 40%; opacity: 0.2; }

.hero-inner{
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy h1{ font-size: clamp(40px, 5.4vw, 68px); }
.hero-lede{ font-size: 18px; max-width: 480px; }
.hero-actions{ display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }

.hero-visual{ position: relative; display: grid; place-items: center; }
.growth-arc{ width: 100%; max-width: 380px; position: absolute; }
.arc-track{ fill: none; stroke: var(--line); stroke-width: 1.5; }
.arc-progress{
  fill: none; stroke: var(--gold); stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw-arc 1.8s var(--ease) 0.3s forwards;
}
.arc-dot{ fill: var(--gold); opacity: 0; animation: dot-in 0.6s var(--ease) 2s forwards; }

.hero-logo{
  position: relative; width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid var(--gold); display: grid; place-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero-logo img{ width: 58%; height: 58%; object-fit: contain; }

.hero-trust{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:28px;
}

.hero-trust span{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:.92rem;
    font-weight:500;
    color:var(--text-secondary);
}

/* ---------- sections ---------- */
.section{ max-width: 1280px; margin: 0 auto; padding: 90px 6%; }
.section-head{ max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p{ font-size: 16.5px; }

.page-hero{
  max-width: 1280px; margin: 0 auto; padding: 70px 6% 40px;
  text-align: center;
}
.page-hero h1{ font-size: clamp(34px, 4.5vw, 54px); }
.page-hero p{ max-width: 560px; margin: 0 auto; font-size: 17px; }

.detail-hero{ text-align: left; }
.breadcrumb-back{
  display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 600;
  color: var(--slate); transition: color .2s var(--ease);
}
.breadcrumb-back:hover{ color: var(--gold); }

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

.card{
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217,154,24,0.4);
}

.service-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  margin-bottom: 20px; font-size: 22px; color: var(--gold-light);
}
.service-icon.large{ width: 76px; height: 76px; border-radius: 22px; margin: 12px auto 20px; font-size: 30px; }

.card h3{ font-size: 21px; margin-bottom: 8px; }
.card p{ font-size: 15px; margin-bottom: 14px; }
.card-link{ font-size: 14px; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.services-preview .section-head{
    max-width:850px;
    margin:0 auto 60px;
}

.services-preview .section-head p{
    max-width:760px;
    margin:18px auto 0;
    line-height:1.9;
}

.work-card-media{
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  margin: -36px -30px 18px; aspect-ratio: 16/10;
}
.work-card-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .work-card-media img{ transform: scale(1.06); }
.work-card-placeholder{
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold-light); font-family: 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px;
}
.work-card-tag{
  position: absolute; top: 14px; left: 14px;
  background: rgba(8,26,56,0.85); color: var(--gold-light);
  font-size: 11px; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.work-card-overlay{
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 18px; opacity: 0; transition: opacity .3s var(--ease);
  background: linear-gradient(0deg, rgba(8,26,56,0.55), transparent 60%);
}
.card:hover .work-card-overlay{ opacity: 1; }
.work-card-client{ font-size: 13px; color: var(--navy); font-weight: 700; }

.blog-card-media{ margin: -36px -30px 18px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-media img{ width: 100%; height: 100%; object-fit: cover; }
.blog-card-tag{
  display: inline-block; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(217,154,24,0.4); padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.blog-card-meta{ font-size: 13px; color: var(--slate); }

.empty-note{ grid-column: 1 / -1; text-align: center; color: var(--slate); padding: 40px 0; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,154,24,0.25), transparent 70%);
  top: -200px; right: -150px;
}
.cta-inner{ max-width: 700px; margin: 0 auto; padding: 100px 6%; text-align: center; position: relative; }
.cta-inner h2{ color: var(--cream); font-size: clamp(28px, 4vw, 40px); }
.cta-inner p{ color: rgba(255,253,248,0.75); font-size: 17px; margin-bottom: 28px; }

/* ---------- footer ---------- */
.site-footer{ background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.footer-grain{ position: absolute; inset: 0; opacity: 0.4; background: radial-gradient(circle at 20% 20%, rgba(217,154,24,0.08), transparent 55%); }
.footer-inner{
  position: relative; max-width: 1280px; margin: 0 auto; padding: 80px 6% 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand-mark{ margin-bottom: 16px; }
.footer-brand-mark img{ width: 34px; height: 34px; filter: brightness(0) invert(1); }
.footer-brand-mark .brand-text{ color: var(--cream); }
.footer-brand p{ color: rgba(255,253,248,0.6); font-size: 14.5px; max-width: 300px; }
.footer-social{ display: flex; gap: 12px; margin-top: 16px; }
.footer-social a{
  width: 36px; height: 36px; border: 1px solid rgba(255,253,248,0.25); border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
  transition: all .2s var(--ease);
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-col h4{
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 16px;
}
.footer-col{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ color: rgba(255,253,248,0.7); font-size: 14.5px; transition: color .2s var(--ease); }
.footer-col a:hover{ color: var(--gold-light); }

.footer-bottom{
  position: relative; border-top: 1px solid rgba(255,253,248,0.12);
  max-width: 1280px; margin: 0 auto; padding: 24px 6%;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: rgba(255,253,248,0.5);
}
.footer-legal{ display: flex; gap: 18px; }
.footer-legal a:hover{ color: var(--gold-light); }

/* ---------- whatsapp float ---------- */
.whatsapp-float{
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white; font-size: 26px;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  transition: transform .25s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.08); }
