/* ==========================================================================
   Dev Enterprises — Design System
   Palette:  Ink #241311 / Deep Ink #170B0A / Brand Gold #F1B30D / Brand Red #C61310
             Paper #F6F3EC / Ink #1E1E1E / Slate #7A6860
   Backgrounds run on the brand gradient (red → deep ink) with gold glow —
   not just accent dots — per direct request to use the logo colours throughout.
   Type:     Display — Archivo (technical grotesk)
             Body    — Inter
             Mono    — IBM Plex Mono (reference numbers, eyebrows, data)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --navy:        #241311;
  --navy-deep:   #170B0A;
  --amber:       #F1B30D;
  --amber-dim:   #C61310;
  --amber-deep:  #B9860A;
  --red-deep:    #7A0C0A;
  --paper:       #F6F3EC;
  --paper-dim:   #EDE8DC;
  --ink:         #1E1E1E;
  --slate:       #7A6860;
  --line:        #E0D6C4;
  --white:       #FFFFFF;

  --brand-gradient: linear-gradient(135deg, var(--amber-dim) 0%, var(--red-deep) 45%, var(--navy-deep) 100%);
  --brand-gradient-alt: linear-gradient(200deg, var(--navy-deep) 0%, var(--red-deep) 55%, var(--amber-dim) 125%);

  --font-display: 'Archivo', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --max: 1180px;
  --radius: 3px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy);
  margin:0 0 .5em;
  line-height:1.15;
  letter-spacing:-0.01em;
}
p{ margin:0 0 1em; color:var(--ink); }
.container{ max-width:var(--max); margin:0 auto; padding:0 28px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ---- eyebrow / mono labels ---------------------------------------------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--amber-dim);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--amber-dim);
  display:inline-block;
}

/* ---- buttons -------------------------------------------------------------*/
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-mono);
  font-weight:600;
  font-size:13.5px;
  letter-spacing:.03em;
  padding:13px 24px;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--amber); color:var(--navy); }
.btn-primary:hover{ background:var(--amber-dim); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.35); color:var(--white); }
.btn-outline:hover{ border-color:var(--amber); color:var(--amber); }
.btn-outline-dark{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline-dark:hover{ background:var(--navy); color:var(--white); }

/* ---- header ---------------------------------------------------------------*/
.topbar{
  background:var(--amber-dim);
  color:rgba(255,255,255,.85);
  font-family:var(--font-mono);
  font-size:12.5px;
}
.topbar .container{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px;
}
.topbar a{ color:rgba(255,255,255,.9); }
.topbar a:hover{ color:var(--amber); }
.topbar-contact{ display:flex; gap:22px; }

.site-header{
  background:var(--white);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:100;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{ height:46px; width:auto; flex:none; }
.brand-name{ font-family:var(--font-display); font-weight:800; font-size:19px; color:var(--navy); line-height:1.1; }
.brand-name span{ display:block; font-family:var(--font-mono); font-weight:500; font-size:10.5px; letter-spacing:.12em; color:var(--slate); text-transform:uppercase; margin-top:2px; }
.footer-brand .brand-logo{ height:52px; margin-bottom:4px; }
@media (max-width:480px){ .brand-logo{ height:36px; } }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav > ul{ display:flex; align-items:center; gap:6px; }
.main-nav a.nav-link{
  display:block; padding:10px 14px; font-size:14.5px; font-weight:500; color:var(--navy);
  border-radius:var(--radius);
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active{ background:var(--paper-dim); color:var(--amber-dim); }
.has-dropdown{ position:relative; }
.dropdown{
  position:absolute; top:100%; left:0; background:var(--white);
  border:1px solid var(--line); min-width:250px; padding:8px;
  box-shadow:0 14px 30px rgba(36,19,17,.14);
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:all .15s ease;
}
.has-dropdown:hover .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ display:block; padding:10px 12px; font-size:14px; border-radius:var(--radius); color:var(--ink); }
.dropdown a:hover{ background:var(--paper-dim); color:var(--amber-dim); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; }
.nav-close{ display:none; }

@media (max-width: 940px){
  .main-nav{ display:none; }
  .nav-cta .btn-outline-dark{ display:none; }
  .nav-toggle{
    display:flex; align-items:center; justify-content:center;
    width:42px; height:42px; border:1px solid var(--line); background:none; cursor:pointer;
  }
  .nav-toggle span{ width:18px; height:2px; background:var(--navy); position:relative; }
  .nav-toggle span::before,.nav-toggle span::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:var(--navy); }
  .nav-toggle span::before{ top:-6px; } .nav-toggle span::after{ top:6px; }
  .main-nav.open{
    display:block; position:fixed; inset:0; top:0; background:var(--brand-gradient);
    padding:90px 28px 28px; z-index:200; overflow-y:auto;
  }
  .main-nav.open > ul{ flex-direction:column; align-items:stretch; gap:0; }
  .main-nav.open a.nav-link{ color:var(--white); padding:16px 4px; border-bottom:1px solid rgba(255,255,255,.1); border-radius:0; }
  .main-nav.open .dropdown{
    position:static; opacity:1; visibility:visible; transform:none; background:none; border:none;
    box-shadow:none; padding:0 0 0 14px; display:none;
  }
  .main-nav.open .has-dropdown.expanded .dropdown{ display:block; }
  .main-nav.open .dropdown a{ color:rgba(255,255,255,.7); }
  .nav-close{
    display:none; position:fixed; top:22px; right:26px; z-index:210; color:var(--white);
    font-family:var(--font-mono); font-size:13px; background:none; border:1px solid rgba(255,255,255,.3);
    padding:8px 14px; cursor:pointer;
  }
  .main-nav.open ~ .nav-close, .nav-toggle.is-open ~ .nav-close{ display:block; }
}

/* ---- clients logo strip (real logos) ------------------------------------*/
.clients-strip{ border-top:3px solid var(--amber); border-bottom:1px solid var(--line); background:var(--white); padding:34px 0; overflow:hidden; }
.clients-head{ text-align:center; margin-bottom:22px; }
.clients-track{ display:flex; gap:22px; width:max-content; animation:scroll 32s linear infinite; }
.clients-track:hover{ animation-play-state:paused; }
.client-logo-card{
  width:150px; height:96px; flex:none; border:1px solid var(--line); background:var(--white);
  display:flex; align-items:center; justify-content:center; padding:14px;
}
.client-logo-card img{ max-width:100%; max-height:100%; object-fit:contain; filter:grayscale(.15); }
@media (max-width:600px){ .client-logo-card{ width:118px; height:78px; padding:10px; } }

/* ---- intro split (text + photo) ------------------------------------------*/
.intro-split{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.intro-split-media{ border-radius:var(--radius); overflow:hidden; }
.intro-split-media img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:900px){
  .intro-split{ grid-template-columns:1fr; gap:32px; }
  .intro-split-media{ order:-1; max-height:320px; }
}

/* ---- section shells ------------------------------------------------------*/
.section{ padding:76px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--white); border-top:3px solid var(--amber); border-bottom:1px solid var(--line); }
.section-navy{ background:var(--amber-dim); color:var(--white); }
.section-navy h2, .section-navy h3{ color:var(--white); }
.section-navy p{ color:rgba(255,255,255,.68); }
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(26px,3vw,34px); }

/* ---- service / feature grids -------------------------------------------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.tile{ background:var(--white); padding:32px 26px; }
.tile-num{ font-family:var(--font-mono); font-size:12px; color:var(--amber-dim); margin-bottom:16px; }
.tile-icon{ width:42px; height:42px; margin-bottom:18px; color:var(--navy); }
.tile h3{ font-size:17px; margin-bottom:8px; }
.tile p{ font-size:14.5px; color:var(--slate); margin-bottom:16px; }
.tile-link{ font-family:var(--font-mono); font-size:12.5px; font-weight:600; color:var(--navy); display:inline-flex; align-items:center; gap:6px; }
.tile-link:hover{ color:var(--amber-dim); }

@media (max-width:900px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:1fr; }
}
@media (max-width:560px){ .grid-4{ grid-template-columns:1fr; } }

/* ---- expertise badges ---------------------------------------------------*/
.expertise-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.expertise-card{ border:1px solid var(--line); background:var(--white); padding:26px 22px; }
.expertise-card .badge-seal{
  width:52px; height:52px; border-radius:50%; background:var(--brand-gradient); border:2px solid var(--amber);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  font-family:var(--font-mono); font-size:10px; font-weight:700; color:var(--white); text-align:center;
}
.expertise-card h4{ font-size:15.5px; margin-bottom:10px; }
.expertise-card ul li{ font-size:13.5px; color:var(--slate); padding:5px 0 5px 16px; position:relative; border-top:1px dashed var(--line); }
.expertise-card ul li:first-child{ border-top:none; }
.expertise-card ul li::before{ content:"—"; position:absolute; left:0; color:var(--amber-dim); }
@media (max-width:900px){ .expertise-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .expertise-grid{ grid-template-columns:1fr; } }

/* ---- team --------------------------------------------------------------*/
.team-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.team-card{ background:var(--white); border:1px solid var(--line); padding:30px; }
.team-role{ font-family:var(--font-mono); font-size:11.5px; color:var(--amber-dim); letter-spacing:.06em; text-transform:uppercase; margin-bottom:8px; }
.team-card h3{ font-size:20px; margin-bottom:12px; }
.team-card p{ font-size:14.5px; color:var(--slate); margin-bottom:0; }
@media (max-width:800px){ .team-grid{ grid-template-columns:1fr; } }

/* ---- page header (interior pages) ---------------------------------------*/
.page-head{
  background:var(--brand-gradient); color:var(--white); padding:52px 0 44px; position:relative;
  background-image:var(--brand-gradient), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 84px);
}
.page-head .eyebrow{ color:var(--white); }
.page-head .eyebrow::before{ background:var(--amber); }
.page-head h1{ color:var(--white); font-size:clamp(28px,4vw,42px); margin-bottom:10px; }
.breadcrumb{ font-family:var(--font-mono); font-size:12.5px; color:rgba(255,255,255,.5); }
.breadcrumb a:hover{ color:var(--amber); }

/* ---- service detail layout -----------------------------------------------*/
.service-body{ display:grid; grid-template-columns:1fr 320px; gap:56px; align-items:start; }
.service-copy p{ font-size:15.5px; color:var(--ink); }
.service-copy h3{ font-size:19px; margin-top:34px; }
.checklist li{ display:flex; gap:12px; padding:11px 0; border-top:1px solid var(--line); font-size:15px; }
.checklist li:first-child{ border-top:none; }
.checklist li::before{ content:"✓"; flex:none; width:22px; height:22px; border-radius:50%; background:var(--paper-dim); color:var(--amber-dim); font-size:12px; display:flex; align-items:center; justify-content:center; font-weight:700; }
.side-card{ background:var(--white); border:1px solid var(--line); padding:26px; position:sticky; top:100px; }
.side-card h4{ font-size:15px; margin-bottom:14px; }
.side-list a{ display:flex; justify-content:space-between; padding:11px 0; border-top:1px dashed var(--line); font-size:14px; color:var(--ink); }
.side-list a:first-child{ border-top:none; }
.side-list a:hover{ color:var(--amber-dim); }
.side-list a.active{ color:var(--amber-dim); font-weight:600; }
.side-card .btn{ width:100%; justify-content:center; margin-top:18px; }
@media (max-width:880px){ .service-body{ grid-template-columns:1fr; } .side-card{ position:static; } }

/* ---- CTA band -------------------------------------------------------------*/
.cta-band{
  background:linear-gradient(115deg, var(--amber-dim) 0%, var(--amber) 100%); color:var(--white); padding:52px 0;
}
.cta-band .container{ display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap; }
.cta-band h2{ color:var(--white); font-size:26px; margin-bottom:6px; }
.cta-band p{ color:rgba(255,255,255,.85); margin-bottom:0; }
.cta-band .btn-primary{ background:var(--amber); color:var(--navy-deep); }
.cta-band .btn-primary:hover{ background:var(--white); color:var(--amber-dim); }

/* ---- contact page --------------------------------------------------------*/
.contact-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:56px; }
.contact-card{ border:1px solid var(--line); background:var(--white); padding:24px; margin-bottom:16px; }
.contact-card .eyebrow{ margin-bottom:10px; }
.contact-card a, .contact-card address{ font-size:15px; font-style:normal; }
.contact-card address{ color:var(--slate); line-height:1.7; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-field{ margin-bottom:16px; }
.form-field label{ display:block; font-family:var(--font-mono); font-size:12px; letter-spacing:.04em; color:var(--slate); margin-bottom:7px; text-transform:uppercase; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; border:1px solid var(--line); background:var(--white); padding:12px 14px;
  font-family:var(--font-body); font-size:14.5px; border-radius:var(--radius); color:var(--ink);
}
.form-field textarea{ resize:vertical; min-height:120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:2px solid var(--amber); outline-offset:1px; border-color:var(--amber); }
.form-status{ font-size:14px; margin:14px 0 0; min-height:1.3em; }
.form-status.success{ color:#1a7a3d; font-weight:600; }
.form-status.error{ color:var(--amber-dim); font-weight:600; }
.btn:disabled{ opacity:.65; cursor:not-allowed; transform:none; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

/* ---- footer ----------------------------------------------------------- */
.site-footer{
  background:var(--amber-dim);
  color:rgba(255,255,255,.85); border-top:4px solid var(--amber);
}
.footer-top{ padding:64px 0 40px; display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; }
.footer-brand .brand-name{ color:var(--white); }
.footer-brand .brand-name span{ color:rgba(255,255,255,.75); }
.footer-tagline{ font-size:14px; color:rgba(255,255,255,.8); margin-top:14px; max-width:34ch; }
.footer-col h5{ font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--white); margin-bottom:16px; }
.footer-col li{ padding:6px 0; }
.footer-col a{ font-size:14px; color:rgba(255,255,255,.9); }
.footer-col a:hover{ color:var(--amber); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.25); padding:20px 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  font-family:var(--font-mono); font-size:12px; color:rgba(255,255,255,.45);
}
.footer-social{ display:flex; gap:14px; }
.footer-social a{ width:32px; height:32px; border:1px solid rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ border-color:var(--amber); color:var(--amber); }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

/* ---- whatsapp float ---------------------------------------------------- */
.whatsapp-float{
  position:fixed; bottom:22px; right:22px; z-index:150;
  width:54px; height:54px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,0,0,.25);
}
.whatsapp-float:hover{ transform:scale(1.06); }

/* ---- approval route: horizontal process section ------------------------ */
.process-steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process-steps::before{
  content:""; position:absolute; top:26px; left:12.5%; right:12.5%; height:0;
  border-top:2px dashed var(--line); z-index:0;
}
.process-step{ text-align:center; padding:0 18px; position:relative; z-index:1; }
.process-num{
  width:54px; height:54px; border-radius:50%; background:var(--amber); color:var(--navy-deep);
  font-family:var(--font-mono); font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
  border:4px solid var(--paper);
}
.process-step h4{ font-size:15.5px; margin-bottom:6px; color:var(--navy); }
.process-step p{ font-size:13.5px; color:var(--slate); margin:0; }
@media (max-width:800px){
  .process-steps{ grid-template-columns:1fr; gap:32px; }
  .process-steps::before{ display:none; }
  .process-step{ padding:0 10px; }
}

/* ---- photo slider (real site/project photos, sits right under header) --*/
.photo-slider{ position:relative; background:var(--navy-deep); overflow:hidden; }
.photo-slides{ position:relative; height:64vh; min-height:420px; max-height:640px; }
.photo-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity 1s ease;
}
.photo-slide.is-active{ opacity:1; visibility:visible; }
.photo-slide img{ width:100%; height:100%; object-fit:cover; }
.photo-slide::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(23,11,10,.88) 0%, rgba(23,11,10,.25) 42%, rgba(23,11,10,.15) 100%);
}
.photo-slide-caption{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:0 0 46px;
}
.photo-slide-caption .container{ max-width:var(--max); }
.photo-slide-caption .eyebrow{ color:var(--amber); margin-bottom:10px; }
.photo-slide-caption .eyebrow::before{ background:var(--amber); }
.photo-slide-caption h2{ color:var(--white); font-size:clamp(24px,3.4vw,36px); max-width:20ch; margin-bottom:0; }
.photo-dots{
  position:absolute; z-index:3; left:0; right:0; bottom:16px; display:flex; gap:8px; justify-content:center;
}
.photo-dots button{ width:30px; height:3px; border:none; background:rgba(255,255,255,.3); cursor:pointer; padding:0; }
.photo-dots button.is-active{ background:var(--amber); }
.photo-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.35);
  background:rgba(23,11,10,.35); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:18px;
}
.photo-arrow:hover{ border-color:var(--amber); color:var(--amber); }
.photo-arrow.prev{ left:18px; } .photo-arrow.next{ right:18px; }
@media (max-width:760px){
  .photo-slides{ height:52vh; min-height:340px; }
  .photo-arrow{ display:none; }
  .photo-slide-caption{ padding-bottom:34px; }
}

/* ---- misc icon sizing ----------------------------------------------------*/
svg{ display:block; }

/* ---- mobile refinement pass -------------------------------------------- */
@media (max-width:600px){
  .container{ padding:0 18px; }
  .topbar .container{ flex-direction:column; align-items:flex-start; gap:4px; }
  .topbar-contact{ gap:14px; flex-wrap:wrap; }
  .section{ padding:52px 0; }
  .section-tight{ padding:40px 0; }
  .intro-split{ gap:26px; }
  .process-num{ width:46px; height:46px; font-size:13px; }
  .cta-band .container{ flex-direction:column; align-items:flex-start; text-align:left; }
  .cta-band .btn{ width:100%; justify-content:center; }
  .team-card{ padding:22px; }
  .expertise-card{ padding:20px 18px; }
  .page-head{ padding:40px 0 34px; }
  .service-copy h3{ font-size:17px; }
  .side-card{ padding:20px; }
  .footer-top{ padding:48px 0 30px; gap:32px; }
  .nav-cta{ gap:8px; }
}

