/* ============================================================
   Adam Graphics — modern, simple site
   Brand: primary #6599cb · light #d3e0f1 · ink #2b3a4a
   ============================================================ */

:root{
  --blue:#6599cb;
  --blue-dark:#3f6fa3;
  --blue-deep:#1f3a57;
  --blue-light:#d3e0f1;
  --ink:#26303a;
  --grey:#5b6470;
  --grey-light:#8b939e;
  --line:#e6eaef;
  --bg:#ffffff;
  --bg-soft:#f5f7fa;
  --radius:14px;
  --shadow:0 10px 30px rgba(31,58,87,.08);
  --shadow-lg:0 20px 50px rgba(31,58,87,.14);
  --maxw:1180px;
  --header-h:88px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

h1,h2,h3,h4{line-height:1.15;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
h1{font-size:clamp(2.1rem,5vw,3.6rem)}
h2{font-size:clamp(1.7rem,3.4vw,2.5rem)}
h3{font-size:1.25rem}
p{color:var(--grey)}

.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:92px 0}
.section--soft{background:var(--bg-soft)}
.center{text-align:center}
.lead{font-size:1.15rem;max-width:720px;margin:0 auto;color:var(--grey)}

.eyebrow{
  display:inline-block;text-transform:uppercase;letter-spacing:.18em;
  font-size:.78rem;font-weight:700;color:var(--blue);margin-bottom:14px;
}
.section-head{max-width:760px;margin:0 auto 56px}
.section-head.left{margin-left:0;text-align:left}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5em;
  padding:14px 28px;border-radius:50px;font-weight:600;font-size:1rem;
  cursor:pointer;border:2px solid transparent;transition:.25s ease;
}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 8px 22px rgba(101,153,203,.4)}
.btn-primary:hover{background:var(--blue-dark);transform:translateY(-2px);box-shadow:0 12px 28px rgba(101,153,203,.5)}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.btn-ghost:hover{background:#fff;color:var(--blue-deep)}
.btn-outline{background:transparent;color:var(--blue-dark);border-color:var(--blue)}
.btn-outline:hover{background:var(--blue);color:#fff}

/* ---------- Header ---------- */
.header{
  position:fixed;top:0;left:0;right:0;z-index:1000;height:var(--header-h);
  display:flex;align-items:center;transition:.3s ease;
  background:transparent;
}
.header.scrolled{background:rgba(255,255,255,.96);box-shadow:0 2px 18px rgba(31,58,87,.08);backdrop-filter:blur(8px)}
.header .container{display:flex;align-items:center;justify-content:space-between;width:100%}
.logo img{height:66px;width:auto;transition:height .3s ease}
.header.scrolled .logo img{height:54px}
.nav{display:flex;align-items:center;gap:34px}
.nav a{
  font-weight:500;font-size:.97rem;color:#fff;position:relative;padding:4px 0;transition:color .2s;
}
.header.scrolled .nav a{color:var(--ink)}
.nav a::after{content:'';position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--blue);transition:width .25s}
.nav a:hover::after,.nav a.active::after{width:100%}
.nav a:hover,.nav a.active{color:var(--blue)}
.header.scrolled .nav a.active{color:var(--blue)}
.nav .btn{padding:10px 22px;color:#fff}
.nav .btn:hover{color:#fff}

.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.burger span{width:26px;height:2px;background:#fff;transition:.3s}
.header.scrolled .burger span{background:var(--ink)}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:88vh;display:flex;align-items:center;
  color:#fff;padding-top:var(--header-h);overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(120deg,rgba(15,30,48,.88) 0%,rgba(31,58,87,.7) 45%,rgba(63,111,163,.45) 100%);
}
.hero-bg{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;transform:scale(1.05)}
.hero .container{position:relative;z-index:2}
.hero h1{color:#fff;max-width:14ch}
.hero p{color:rgba(255,255,255,.9);font-size:1.25rem;max-width:560px;margin:22px 0 34px}
.hero .btn-row{display:flex;gap:16px;flex-wrap:wrap}

/* page hero (interior, shorter) */
.page-hero{min-height:54vh}
.page-hero h1{max-width:18ch}
.page-hero p{margin-bottom:0}

/* ---------- Parallax band ---------- */
.band{
  position:relative;color:#fff;text-align:center;padding:110px 0;overflow:hidden;
  background-size:cover;background-position:center;background-attachment:fixed;
}
.band::before{content:'';position:absolute;inset:0;background:linear-gradient(rgba(31,58,87,.86),rgba(31,58,87,.86))}
.band .container{position:relative;z-index:2}
.band h2{color:#fff}
.band p{color:rgba(255,255,255,.9);font-size:1.15rem}

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

.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:34px 28px;box-shadow:var(--shadow);transition:.28s ease;
}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:transparent}
.card .ico{
  width:54px;height:54px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:var(--blue-light);color:var(--blue-dark);margin-bottom:18px;
}
.card .ico svg{width:26px;height:26px}
.card h3{margin-bottom:10px}
.card p{font-size:.97rem}

/* feature list */
.feat-list{list-style:none;display:grid;gap:12px;margin-top:8px}
.feat-list li{display:flex;gap:12px;align-items:flex-start;color:var(--grey)}
.feat-list li svg{flex:none;width:20px;height:20px;color:var(--blue);margin-top:4px}

/* split two-column */
.split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.split img{border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%;height:100%;object-fit:cover;min-height:340px}

/* sector two-up */
.sector{
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#fff;border:1px solid var(--line);
}
.sector .top{padding:30px 30px 6px}
.sector .top .ico{margin-bottom:14px}
.sector .top h3{font-size:1.9rem;color:var(--blue);letter-spacing:-.01em}
.sector .pic{height:180px;background-size:cover;background-position:center}
.sector .body{padding:24px 30px 32px}
.sector .tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.sector .tags span{background:var(--bg-soft);border:1px solid var(--line);color:var(--grey);font-size:.83rem;padding:5px 12px;border-radius:50px}

/* work preview tiles */
.work-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.work-tile{
  position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:1/1;box-shadow:var(--shadow);
}
.work-tile .ph{position:absolute;inset:0;background-size:cover;background-position:center;transition:.4s}
.work-tile:hover .ph{transform:scale(1.08)}
.work-tile .label{
  position:absolute;inset:0;display:flex;align-items:flex-end;padding:18px;
  background:linear-gradient(transparent 45%,rgba(15,30,48,.8));color:#fff;font-weight:600;
}

/* ---------- Client logo grid ---------- */
.clients{display:grid;grid-template-columns:repeat(5,1fr);gap:34px 24px;align-items:center}
.clients .cell{
  display:flex;align-items:center;justify-content:center;height:90px;padding:10px;
}
.clients img{
  max-height:62px;max-width:130px;width:auto;object-fit:contain;
  filter:grayscale(100%);opacity:.55;transition:.3s;
}
.clients img:hover{filter:grayscale(0);opacity:1}

/* ---------- Steps / approach ---------- */
.approach{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.approach .step{text-align:center;padding:10px}
.approach .num{
  width:58px;height:58px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;
  background:var(--blue);color:#fff;font-weight:700;font-size:1.25rem;box-shadow:0 8px 20px rgba(101,153,203,.4);
}
.approach h3{font-size:1.1rem;margin-bottom:6px}
.approach p{font-size:.94rem}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.info-row{display:flex;gap:16px;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--line)}
.info-row:last-child{border-bottom:0}
.info-row .ico{flex:none;width:48px;height:48px;border-radius:12px;background:var(--blue-light);color:var(--blue-dark);display:flex;align-items:center;justify-content:center}
.info-row .ico svg{width:22px;height:22px}
.info-row h4{font-size:1rem;margin-bottom:2px}
.info-row a,.info-row span{color:var(--grey)}
.info-row a:hover{color:var(--blue)}

form .field{margin-bottom:18px}
form label{display:block;font-weight:600;font-size:.9rem;margin-bottom:7px;color:var(--ink)}
form input,form select,form textarea{
  width:100%;padding:13px 16px;border:1px solid var(--line);border-radius:10px;font-family:inherit;font-size:1rem;
  background:#fff;color:var(--ink);transition:.2s;
}
form input:focus,form select:focus,form textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(101,153,203,.18)}
form textarea{resize:vertical;min-height:130px}
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px;box-shadow:var(--shadow)}

/* map placeholder */
.map-wrap{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}
.map-wrap iframe{display:block;width:100%;height:300px;border:0}

/* ---------- Footer ---------- */
.footer{background:var(--blue-deep);color:rgba(255,255,255,.78);padding:64px 0 28px}
.footer a{color:rgba(255,255,255,.78)}
.footer a:hover{color:#fff}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.14)}
.footer-logo img{height:54px;margin-bottom:16px;filter:brightness(0) invert(1)}
.footer h4{color:#fff;font-size:1rem;margin-bottom:16px;letter-spacing:.02em}
.footer ul{list-style:none;display:grid;gap:10px;font-size:.95rem}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:24px;font-size:.88rem;color:rgba(255,255,255,.6)}

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

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .approach{grid-template-columns:repeat(2,1fr)}
  .work-grid{grid-template-columns:repeat(2,1fr)}
  .clients{grid-template-columns:repeat(3,1fr)}
  .split{grid-template-columns:1fr;gap:34px}
  .split img{min-height:260px}
  .contact-grid{grid-template-columns:1fr;gap:32px}
  .footer-top{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .section{padding:64px 0}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .clients{grid-template-columns:repeat(2,1fr)}
  .band{background-attachment:scroll;padding:80px 0}
  .footer-top{grid-template-columns:1fr}
  /* mobile nav */
  .burger{display:flex}
  .nav{
    position:fixed;top:var(--header-h);left:0;right:0;flex-direction:column;gap:0;
    background:#fff;box-shadow:0 18px 30px rgba(31,58,87,.12);
    max-height:0;overflow:hidden;transition:max-height .35s ease;padding:0 24px;
  }
  .nav.open{max-height:520px;padding:14px 24px 26px}
  .nav a{color:var(--ink);width:100%;padding:14px 0;border-bottom:1px solid var(--line)}
  .nav .btn{margin-top:14px;justify-content:center;color:#fff}
  .header .nav a{color:var(--ink)}
}
