/* ========================================================================
   KAYAN — مؤسسة كيان التشيد لأنظمة السلامة
   Design system: engineered blueprint aesthetic for a fire-safety /
   security-systems corporation. Navy steel + ember-orange schematic accents.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  /* ---- color tokens -------------------------------------------------- */
  --ink:        #0A1927;
  --navy-900:   #0C2036;
  --navy-800:   #122A42;
  --navy-700:   #1A3B58;
  --navy-600:   #234C6E;
  --blue-500:   #27537B;
  --orange-700: #B8480F;
  --orange-600: #DD5D1B;
  --orange-500: #E97A2E;
  --orange-400: #F4954D;
  --orange-glow: rgba(221,93,27,.35);
  --paper:      #F5F7FA;
  --paper-dim:  #EAEEF3;
  --paper-line: #DCE3EA;
  --slate-800:  #1E2C3B;
  --slate-600:  #3D5065;
  --slate-500:  #5E7286;
  --mist-300:   #A9BCCF;
  --mist-400:   #7F97AE;
  --white:      #FFFFFF;

  /* ---- type ------------------------------------------------------------ */
  --f-display: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', sans-serif;
  --f-body:    'IBM Plex Sans Arabic', 'Noto Kufi Arabic', sans-serif;
  --f-mono:    'IBM Plex Mono', monospace;

  /* ---- layout ------------------------------------------------------- */
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--f-body);
  color:var(--slate-700);
  background:var(--paper);
  direction:rtl;
  -webkit-font-smoothing:antialiased;
  line-height:1.75;
  font-size:16px;
}
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(--f-display); color:var(--navy-900); margin:0; line-height:1.35; font-weight:700; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; font-size:1rem; }

::selection{ background:var(--orange-500); color:#fff; }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:24px; }
.dark-bg{ background:var(--navy-900); color:var(--mist-300); }
.dark-bg h1,.dark-bg h2,.dark-bg h3,.dark-bg h4{ color:#fff; }

section{ position:relative; }

/* eyebrow / kicker ------------------------------------------------------ */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--f-mono); font-size:.78rem; letter-spacing:.14em;
  color:var(--orange-600); text-transform:uppercase; font-weight:500;
  margin-bottom:14px;
}
.eyebrow::before{
  content:''; width:26px; height:1px; background:var(--orange-600); display:inline-block;
}
.dark-bg .eyebrow{ color:var(--orange-400); }
.dark-bg .eyebrow::before{ background:var(--orange-400); }

.section-head{ max-width:680px; margin-bottom:52px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3.2vw,2.5rem); margin-bottom:16px; }
.section-head p{ color:var(--slate-500); font-size:1.05rem; }
.dark-bg .section-head p{ color:var(--mist-300); }

.section-pad{ padding-block:104px; }
@media (max-width:820px){ .section-pad{ padding-block:68px; } }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn{
  --btnpad-y: 15px;
  position:relative;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:var(--btnpad-y) 30px;
  border-radius:999px;
  font-weight:600; font-size:.98rem;
  border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:17px; height:17px; transition:transform .35s var(--ease); flex-shrink:0; }
.btn-primary{
  background:linear-gradient(135deg,var(--orange-500),var(--orange-600));
  color:#fff; box-shadow:0 10px 24px -8px var(--orange-glow);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 30px -8px var(--orange-glow); }
.btn-primary:hover svg{ transform:translateX(-4px); }
.btn-ghost{
  background:transparent; color:#fff; border-color:rgba(255,255,255,.35);
}
.btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,.08); transform:translateY(-2px); }
.btn-outline-dark{ background:transparent; color:var(--navy-900); border-color:var(--paper-line); }
.btn-outline-dark:hover{ border-color:var(--navy-900); background:var(--navy-900); color:#fff; transform:translateY(-2px); }
.btn-sm{ padding:11px 22px; font-size:.88rem; }
.btn-block{ width:100%; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.site-header{
  position:fixed; inset-inline:0; top:0; z-index:1000;
  padding-block:20px;
  transition:background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-header.scrolled{
  background:rgba(12,32,54,.92); backdrop-filter:blur(14px);
  padding-block:12px; box-shadow:0 8px 30px -14px rgba(0,0,0,.5);
  border-color:rgba(255,255,255,.08);
}
body.no-hero .site-header{ background:rgba(12,32,54,.97); padding-block:14px; border-color:rgba(255,255,255,.08); }

.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:42px; width:auto; }
.brand-name{ font-family:var(--f-display); font-weight:700; color:#fff; font-size:1.08rem; line-height:1.3; }
.brand-name span{ display:block; font-family:var(--f-mono); font-weight:400; font-size:.66rem; letter-spacing:.08em; color:var(--mist-300); margin-top:2px; }

.main-nav{ display:flex; align-items:center; gap:38px; }
.main-nav a{
  color:#fff; font-size:.96rem; font-weight:500; position:relative; padding-block:6px;
}
.main-nav a::after{
  content:''; position:absolute; right:0; bottom:0; width:0; height:2px; background:var(--orange-500);
  transition:width .3s var(--ease);
}
.main-nav a:hover::after,.main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--orange-400); }

.header-cta{ display:flex; align-items:center; gap:16px; }
.hamburger{
  display:none; flex-direction:column; gap:5px; background:none; border:0; padding:6px; z-index:1100;
}
.hamburger span{ width:24px; height:2px; background:#fff; border-radius:2px; transition:transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; background:var(--navy-900); z-index:1050;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:30px;
  opacity:0; visibility:hidden; transform:translateY(-14px);
  transition:opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.open{ opacity:1; visibility:visible; transform:translateY(0); }
.mobile-menu a{ color:#fff; font-size:1.4rem; font-family:var(--f-display); font-weight:600; }
.mobile-menu a.active{ color:var(--orange-400); }

@media (max-width:960px){
  .main-nav{ display:none; }
  .header-cta .btn-primary{ display:none; }
  .hamburger{ display:flex; }
}

/* ---------------------------------------------------------------------- */
/* Blueprint schematic signature (SVG line-art motif)                     */
/* ---------------------------------------------------------------------- */
.blueprint-grid{
  position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(rgba(233,122,46,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,122,46,.055) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse at 65% 35%, black 0%, transparent 72%);
}
.schematic-line{ position:absolute; pointer-events:none; overflow:visible; }
.schematic-line path{
  fill:none; stroke:var(--orange-500); stroke-width:1.6; stroke-linecap:round;
  stroke-dasharray:6 6280; stroke-dashoffset:6280; opacity:.55;
  animation:draw-line 3.6s var(--ease) forwards;
}
.schematic-line circle{ fill:var(--orange-500); opacity:0; animation:node-in .5s ease forwards; }
@keyframes draw-line{ to{ stroke-dashoffset:0; } }
@keyframes node-in{ to{ opacity:.9; } }

/* ---------------------------------------------------------------------- */
/* Hero carousel                                                          */
/* ---------------------------------------------------------------------- */
.hero{
  position:relative; min-height:100vh;
  background:var(--navy-900); color:#fff; overflow:hidden;
}
.hero-slides{ position:absolute; inset:0; }
.hero-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden;
  transition:opacity 1.1s var(--ease), visibility 1.1s;
  display:flex; align-items:center; box-sizing:border-box;
  padding-top:120px; padding-bottom:70px;
}
.hero-slide.active{ opacity:1; visibility:visible; z-index:1; }
.hero-slide .slide-bg{
  position:absolute; inset:0;
  background-position:center; background-size:cover;
  transform:scale(1.08);
  filter:saturate(1.05);
}
.hero-slide.active .slide-bg{ animation:kenburns 9s var(--ease) forwards; }
@keyframes kenburns{ from{ transform:scale(1.14) translate3d(0,0,0); } to{ transform:scale(1) translate3d(-1%,-1%,0); } }
.hero-slide::after{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(9,20,33,.97) 8%, rgba(9,20,33,.86) 38%, rgba(9,20,33,.35) 68%, rgba(9,20,33,.72) 100%);
}
.hero-inner{ position:relative; z-index:3; width:100%; }
.hero-content{ max-width:640px; }
.hero-tag{
  display:inline-flex; align-items:center; gap:10px; font-family:var(--f-mono); font-size:.78rem;
  letter-spacing:.12em; color:var(--orange-400); background:rgba(233,122,46,.1);
  border:1px solid rgba(233,122,46,.35); padding:8px 18px; border-radius:999px; margin-bottom:26px;
}
.hero-title{
  font-size:clamp(2.1rem,4.6vw,3.5rem); font-weight:800; margin-bottom:22px; letter-spacing:-.01em;
}
.hero-title .accent{ color:var(--orange-500); }
.hero-sub{ font-size:1.12rem; color:var(--mist-300); max-width:520px; margin-bottom:38px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:56px; }

.hero-nav{
  position:absolute; z-index:5; bottom:56px; inset-inline:0;
  display:flex; align-items:center; justify-content:flex-start; gap:24px;
}
.hero-dots{ display:flex; gap:10px; }
.hero-dot{
  width:38px; height:4px; border-radius:4px; background:rgba(255,255,255,.25); border:0; padding:0;
  position:relative; overflow:hidden; cursor:pointer;
}
.hero-dot::after{
  content:''; position:absolute; inset:0; background:var(--orange-500); transform-origin:right; transform:scaleX(0);
}
.hero-dot.active::after{ animation:dotfill 6s linear forwards; }
@keyframes dotfill{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.hero-arrows{ display:flex; gap:10px; margin-inline-start:auto; padding-inline-end:24px;}
.hero-arrow{
  width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.05);
  display:flex; align-items:center; justify-content:center; color:#fff; transition:background .3s,border-color .3s,transform .3s;
}
.hero-arrow:hover{ background:var(--orange-600); border-color:var(--orange-600); transform:scale(1.06); }
.hero-arrow svg{ width:18px; height:18px; }

.hero-scroll-cue{
  position:absolute; z-index:5; bottom:40px; left:24px; display:flex; align-items:center; gap:10px;
  color:var(--mist-300); font-family:var(--f-mono); font-size:.72rem; letter-spacing:.1em;
}
.hero-scroll-cue .line{ width:1px; height:34px; background:linear-gradient(var(--orange-500),transparent); animation:scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue{ 0%,100%{opacity:.2;} 50%{opacity:1;} }

@media (max-width:720px){
  .hero-slide{ padding-top:150px; }
  .hero{ text-align:right;}
  .hero-tag{ margin-bottom:18px; }
  .hero-title{ margin-bottom:16px; }
  .hero-nav{ bottom:26px; }
  .hero-scroll-cue{ display:none; }
  .hero-arrows{ padding-inline-end:0; }
}

/* ---------------------------------------------------------------------- */
/* Quick info strip                                                       */
/* ---------------------------------------------------------------------- */
.info-strip{
  background:var(--navy-800); position:relative; z-index:2;
  padding-block:34px; border-top:1px solid rgba(255,255,255,.06);
}
.info-strip .container{
  display:grid; grid-template-columns:repeat(5,1fr); gap:20px;
}
.info-item{ display:flex; align-items:center; gap:14px; color:#fff; }
.info-item svg{ width:30px; height:30px; color:var(--orange-400); flex-shrink:0; }
.info-item span{ font-size:.92rem; font-weight:500; color:var(--mist-300); line-height:1.5; }
.info-item strong{ display:block; color:#fff; font-size:.98rem; margin-bottom:2px; }
@media (max-width:1080px){ .info-strip .container{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .info-strip .container{ grid-template-columns:repeat(2,1fr); } }

/* ---------------------------------------------------------------------- */
/* About teaser / split sections                                          */
/* ---------------------------------------------------------------------- */
.split{
  display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center;
}
.split.reverse{ grid-template-columns:1fr 1fr; }
.split-media{ position:relative; }
.split-media img{ border-radius:var(--radius-lg); width:100%; object-fit:cover; aspect-ratio:4/5; }
.split-media .frame-tag{
  position:absolute; bottom:-22px; right:-22px; background:var(--white);
  border:1px solid var(--paper-line); border-radius:var(--radius-md);
  padding:20px 24px; box-shadow:0 20px 45px -20px rgba(10,25,39,.25);
  max-width:230px;
}
.frame-tag strong{ display:block; color:var(--navy-900); font-family:var(--f-display); font-size:1.02rem; margin-bottom:4px; }
.frame-tag span{ font-size:.86rem; color:var(--slate-500); }
@media (max-width:900px){
  .split{ grid-template-columns:1fr; gap:40px; }
  .split-media .frame-tag{ position:static; margin-top:18px; max-width:none; }
}

.value-list{ margin-top:30px; display:grid; gap:18px; }
.value-list li{ display:flex; align-items:flex-start; gap:14px; }
.value-list .ico{
  width:40px; height:40px; border-radius:10px; background:var(--paper-dim); color:var(--orange-600);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.value-list .ico svg{ width:20px; height:20px; }
.value-list h4{ font-size:1.02rem; margin-bottom:4px; }
.value-list p{ color:var(--slate-500); font-size:.94rem; }

/* ---------------------------------------------------------------------- */
/* Info chip badges (real, non-numeric)                                   */
/* ---------------------------------------------------------------------- */
.badge-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.chip{
  display:inline-flex; align-items:center; gap:8px; padding:9px 18px; border-radius:999px;
  background:var(--paper-dim); border:1px solid var(--paper-line); font-size:.86rem; color:var(--slate-600); font-weight:500;
}
.chip svg{ width:15px; height:15px; color:var(--orange-600); }

/* ---------------------------------------------------------------------- */
/* Service cards                                                          */
/* ---------------------------------------------------------------------- */
.card-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.card-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:1080px){ .card-grid,.card-grid.cols-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .card-grid,.card-grid.cols-3{ grid-template-columns:1fr; } }

.service-card{
  background:#fff; border:1px solid var(--paper-line); border-radius:var(--radius-md);
  padding:34px 28px; position:relative; overflow:hidden;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card::before{
  content:''; position:absolute; inset-inline-start:0; top:0; height:3px; width:100%;
  background:linear-gradient(90deg,var(--orange-500),var(--orange-700));
  transform:scaleX(0); transform-origin:right; transition:transform .45s var(--ease);
}
.service-card:hover{ transform:translateY(-8px); box-shadow:0 28px 50px -24px rgba(10,25,39,.28); border-color:transparent; }
.service-card:hover::before{ transform:scaleX(1); }
.service-card .s-ico{
  width:56px; height:56px; border-radius:14px; background:var(--navy-900);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  transition:background .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover .s-ico{ background:var(--orange-600); transform:rotate(-6deg) scale(1.05); }
.service-card .s-ico svg{ width:27px; height:27px; color:#fff; }
.service-card h3{ font-size:1.12rem; margin-bottom:10px; }
.service-card p{ font-size:.92rem; color:var(--slate-500); margin-bottom:18px; }
.card-link{
  display:inline-flex; align-items:center; gap:8px; font-size:.88rem; font-weight:600; color:var(--navy-900);
}
.card-link svg{ width:14px; height:14px; transition:transform .3s var(--ease); }
.service-card:hover .card-link svg{ transform:translateX(-4px); }
.card-link:hover{ color:var(--orange-600); }

/* ---------------------------------------------------------------------- */
/* Why-us panel (dark)                                                    */
/* ---------------------------------------------------------------------- */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,.08); border-radius:var(--radius-lg); overflow:hidden; }
.why-item{ background:var(--navy-900); padding:40px 30px; }
.why-item .num{ font-family:var(--f-mono); color:var(--orange-400); font-size:.85rem; margin-bottom:22px; display:block; }
.why-item h3{ color:#fff; font-size:1.08rem; margin-bottom:12px; }
.why-item p{ color:var(--mist-300); font-size:.9rem; }
@media (max-width:980px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------- */
/* Process timeline                                                       */
/* ---------------------------------------------------------------------- */
.timeline{ position:relative; }
.timeline-track{
  position:absolute; top:34px; inset-inline:0; height:2px;
  background:repeating-linear-gradient(90deg,var(--paper-line) 0 8px, transparent 8px 16px);
}
.timeline-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:18px; position:relative; }
.timeline-step{ text-align:center; }
.timeline-step .dot{
  width:68px; height:68px; border-radius:50%; background:#fff; border:2px solid var(--paper-line);
  display:flex; align-items:center; justify-content:center; margin:0 auto 20px; position:relative; z-index:2;
  font-family:var(--f-mono); font-weight:600; color:var(--navy-900); transition:border-color .4s, background .4s, color .4s, transform .4s;
}
.timeline-step:hover .dot{ background:var(--orange-600); border-color:var(--orange-600); color:#fff; transform:translateY(-4px); }
.timeline-step h4{ font-size:.94rem; margin-bottom:8px; }
.timeline-step p{ font-size:.8rem; color:var(--slate-500); }
@media (max-width:980px){ .timeline-grid{ grid-template-columns:repeat(2,1fr); } .timeline-track{ display:none; } }
@media (min-width:981px) and (max-width:1180px){ .timeline-step h4{ font-size:.84rem; } }

/* ---------------------------------------------------------------------- */
/* Sectors grid                                                           */
/* ---------------------------------------------------------------------- */
.sector-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:980px){ .sector-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .sector-grid{ grid-template-columns:repeat(2,1fr); } }
.sector-card{
  border:1px solid var(--paper-line); border-radius:var(--radius-md); padding:26px 20px; text-align:center;
  background:#fff; transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.sector-card:hover{ transform:translateY(-6px); box-shadow:0 22px 40px -22px rgba(10,25,39,.25); background:var(--navy-900); }
.sector-card:hover h4,.sector-card:hover svg{ color:#fff; }
.sector-card svg{ width:32px; height:32px; color:var(--orange-600); margin:0 auto 14px; transition:color .35s; }
.sector-card h4{ font-size:.92rem; font-weight:600; color:var(--navy-900); transition:color .35s; }

/* ---------------------------------------------------------------------- */
/* Quality / Safety banner section                                        */
/* ---------------------------------------------------------------------- */
.quality-section{
  position:relative; background:var(--navy-900); color:#fff; overflow:hidden;
  border-radius:var(--radius-lg); padding:70px 56px;
}
.quality-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }
.quality-media{ position:relative; border-radius:var(--radius-md); overflow:hidden; }
.quality-media img{ aspect-ratio:5/4; object-fit:cover; }
.quality-media::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 50%, rgba(9,20,33,.75)); }
@media (max-width:900px){
  .quality-section{ padding:44px 24px; }
  .quality-inner{ grid-template-columns:1fr; gap:34px; }
}

/* ---------------------------------------------------------------------- */
/* Projects / portfolio placeholder                                       */
/* ---------------------------------------------------------------------- */
.project-tile{
  position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/3;
}
.project-tile img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.project-tile:hover img{ transform:scale(1.08); }
.project-tile .tile-caption{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:24px;
  background:linear-gradient(0deg, rgba(9,20,33,.9), transparent 62%); color:#fff;
}
.project-tile .tile-caption span{ font-family:var(--f-mono); font-size:.72rem; color:var(--orange-400); letter-spacing:.08em; }
.project-tile .tile-caption h4{ color:#fff; font-size:1.02rem; margin-top:6px; }
.project-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; grid-template-rows:auto auto; gap:20px; }
.project-grid .project-tile:first-child{ grid-row:span 2; aspect-ratio:auto; }
@media (max-width:900px){ .project-grid{ grid-template-columns:1fr 1fr; } .project-grid .project-tile:first-child{ grid-column:span 2; grid-row:auto; aspect-ratio:16/9; } }
@media (max-width:600px){ .project-grid{ grid-template-columns:1fr; } .project-grid .project-tile:first-child{ grid-column:auto; } }

.notice-card{
  border:1px dashed var(--paper-line); border-radius:var(--radius-md); padding:40px; text-align:center; background:#fff;
}
.notice-card svg{ width:40px; height:40px; color:var(--orange-600); margin-bottom:16px; }
.notice-card h3{ font-size:1.15rem; margin-bottom:10px; }
.notice-card p{ color:var(--slate-500); max-width:480px; margin-inline:auto; }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                */
/* ---------------------------------------------------------------------- */
.cta-band{
  position:relative; background:linear-gradient(120deg,var(--navy-900),var(--navy-700));
  border-radius:var(--radius-lg); padding:64px 56px; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; font-size:clamp(1.5rem,2.6vw,2.1rem); max-width:520px; }
.cta-band p{ color:var(--mist-300); margin-top:12px; max-width:480px; }
.cta-actions{ display:flex; gap:16px; flex-wrap:wrap; }
@media (max-width:760px){ .cta-band{ padding:44px 26px; } }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer{ background:var(--ink); color:var(--mist-300); padding-top:90px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand .brand{ margin-bottom:18px; }
.footer-brand p{ font-size:.92rem; line-height:1.9; max-width:320px; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center; transition:background .3s,border-color .3s;
}
.footer-social a:hover{ background:var(--orange-600); border-color:var(--orange-600); }
.footer-social svg{ width:16px; height:16px; color:#fff; }
.footer-col h4{ color:#fff; font-size:.96rem; margin-bottom:20px; }
.footer-col ul{ display:grid; gap:12px; }
.footer-col a{ font-size:.9rem; transition:color .25s; }
.footer-col a:hover{ color:var(--orange-400); }
.footer-contact li{ display:flex; align-items:flex-start; gap:10px; font-size:.9rem; }
.footer-contact svg{ width:17px; height:17px; color:var(--orange-400); flex-shrink:0; margin-top:2px; }
.footer-bottom{ padding-block:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:.82rem; }
@media (max-width:980px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .footer-grid{ grid-template-columns:1fr; } .footer-bottom{ justify-content:center; text-align:center; } }

/* ---------------------------------------------------------------------- */
/* WhatsApp floating button                                                */
/* ---------------------------------------------------------------------- */
.wa-float{
  position:fixed; bottom:26px; left:26px; z-index:900;
  width:60px; height:60px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -8px rgba(37,211,102,.55);
  transition:transform .35s var(--ease);
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:30px; height:30px; color:#fff; }
.wa-float::before{
  content:''; position:absolute; inset:0; border-radius:50%; background:#25D366; opacity:.55;
  animation:wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse{ 0%{ transform:scale(1); opacity:.5; } 100%{ transform:scale(1.9); opacity:0; } }
@media (max-width:640px){ .wa-float{ width:52px; height:52px; bottom:18px; left:18px; } .wa-float svg{ width:26px; height:26px; } }

/* ---------------------------------------------------------------------- */
/* Reveal-on-scroll utility                                                */
/* ---------------------------------------------------------------------- */
[data-reveal]{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in-view{ opacity:1; transform:translateY(0); }
[data-reveal="fade"]{ transform:none; }
[data-reveal-group] > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* ---------------------------------------------------------------------- */
/* Page hero (inner pages)                                                */
/* ---------------------------------------------------------------------- */
.page-hero{
  position:relative; padding-top:170px; padding-bottom:90px; background:var(--navy-900); color:#fff; overflow:hidden;
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:#fff; font-size:clamp(2rem,4vw,3rem); max-width:680px; }
.page-hero p{ color:var(--mist-300); max-width:560px; margin-top:18px; font-size:1.05rem; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-family:var(--f-mono); font-size:.78rem; color:var(--mist-300); margin-bottom:22px; }
.breadcrumb a:hover{ color:var(--orange-400); }
.breadcrumb .sep{ opacity:.5; }

/* ---------------------------------------------------------------------- */
/* About page specifics                                                   */
/* ---------------------------------------------------------------------- */
.pillar-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .pillar-grid{ grid-template-columns:1fr; } }
.pillar-card{ background:#fff; border:1px solid var(--paper-line); border-radius:var(--radius-md); padding:36px 30px; }
.pillar-card .s-ico{ width:52px; height:52px; border-radius:13px; background:var(--paper-dim); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.pillar-card .s-ico svg{ width:26px; height:26px; color:var(--orange-600); }
.pillar-card h3{ font-size:1.14rem; margin-bottom:12px; }
.pillar-card p{ color:var(--slate-500); font-size:.95rem; }

.quote-block{
  border-right:3px solid var(--orange-600); padding-inline-start:0; padding-inline-end:28px;
  margin-block:10px;
}
.quote-block p{ font-size:1.18rem; color:var(--navy-900); font-family:var(--f-display); font-weight:500; line-height:1.9; }
.quote-block footer{ margin-top:18px; font-size:.9rem; color:var(--slate-500); }
.quote-block footer strong{ color:var(--navy-900); display:block; margin-bottom:2px; font-family:var(--f-body); }

.journey-list{ display:grid; gap:0; }
.journey-item{ display:grid; grid-template-columns:120px 1fr; gap:26px; padding-block:26px; border-bottom:1px solid var(--paper-line); }
.journey-item:first-child{ padding-top:0; }
.journey-item .j-tag{ font-family:var(--f-mono); font-size:.85rem; color:var(--orange-600); font-weight:600; }
.journey-item h4{ font-size:1.02rem; margin-bottom:6px; }
.journey-item p{ font-size:.92rem; color:var(--slate-500); }
@media (max-width:600px){ .journey-item{ grid-template-columns:1fr; gap:8px; } }

/* ---------------------------------------------------------------------- */
/* Services page detailed rows                                            */
/* ---------------------------------------------------------------------- */
.service-detail{ padding-block:80px; border-bottom:1px solid var(--paper-line); scroll-margin-top:110px; }
.service-detail:last-of-type{ border-bottom:none; }
.service-detail .split{ align-items:flex-start; }
.service-detail .s-ico-lg{
  width:64px; height:64px; border-radius:16px; background:var(--navy-900); display:flex; align-items:center; justify-content:center; margin-bottom:24px;
}
.service-detail .s-ico-lg svg{ width:30px; height:30px; color:#fff; }
.service-detail h2{ font-size:clamp(1.4rem,2.4vw,1.9rem); margin-bottom:16px; }
.service-detail .lead{ font-size:1.03rem; color:var(--slate-600); margin-bottom:24px; }
.detail-list{ display:grid; gap:12px; margin-bottom:28px; }
.detail-list li{ display:flex; align-items:flex-start; gap:10px; font-size:.94rem; color:var(--slate-600); }
.detail-list svg{ width:18px; height:18px; color:var(--orange-600); flex-shrink:0; margin-top:2px; }
.service-detail img{ border-radius:var(--radius-lg); width:100%; aspect-ratio:4/3; object-fit:cover; }
.service-nav-wrap{ position:sticky; top:110px; }
.service-nav{ display:flex; flex-direction:column; gap:6px; }
.service-nav a{ padding:12px 16px; border-radius:10px; font-size:.9rem; color:var(--slate-600); font-weight:500; transition:background .25s,color .25s; }
.service-nav a:hover,.service-nav a.active{ background:var(--navy-900); color:#fff; }

/* ---------------------------------------------------------------------- */
/* Contact page                                                           */
/* ---------------------------------------------------------------------- */
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:flex-start; }
@media (max-width:960px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{ background:var(--navy-900); color:#fff; border-radius:var(--radius-lg); padding:44px 36px; }
.contact-card h3{ color:#fff; font-size:1.2rem; margin-bottom:24px; }
.contact-row{ display:flex; align-items:flex-start; gap:16px; padding-block:18px; border-bottom:1px solid rgba(255,255,255,.1); }
.contact-row:last-of-type{ border-bottom:none; }
.contact-row .c-ico{ width:42px; height:42px; border-radius:11px; background:rgba(233,122,46,.14); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-row .c-ico svg{ width:20px; height:20px; color:var(--orange-400); }
.contact-row a,.contact-row span{ font-size:.98rem; color:#fff; }
.contact-row small{ display:block; font-size:.78rem; color:var(--mist-300); margin-bottom:4px; }
.contact-row a:hover{ color:var(--orange-400); }

.form-card{ background:#fff; border:1px solid var(--paper-line); border-radius:var(--radius-lg); padding:44px; }
@media (max-width:600px){ .form-card{ padding:26px; } }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:600px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:.88rem; font-weight:600; color:var(--navy-900); }
.field label .opt{ font-weight:400; color:var(--slate-500); font-size:.8rem; }
.field input,.field select,.field textarea{
  padding:13px 16px; border-radius:10px; border:1px solid var(--paper-line); background:var(--paper);
  color:var(--slate-800); transition:border-color .25s, box-shadow .25s;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--orange-500); box-shadow:0 0 0 4px rgba(233,122,46,.14); background:#fff;
}
.field textarea{ resize:vertical; min-height:130px; }
.field .err-msg{ font-size:.78rem; color:#C6371C; min-height:14px; }
.field.invalid input,.field.invalid select,.field.invalid textarea{ border-color:#C6371C; }
.form-note{ font-size:.82rem; color:var(--slate-500); margin-top:14px; text-align:center; }
.form-success{
  display:none; text-align:center; padding:60px 20px;
}
.form-success.show{ display:block; }
.form-success svg{ width:56px; height:56px; color:#2AA36A; margin-bottom:20px; }
.form-success h3{ margin-bottom:10px; }
.form-success p{ color:var(--slate-500); }

.map-frame{ border-radius:var(--radius-md); overflow:hidden; margin-top:24px; border:1px solid rgba(255,255,255,.12); }
.map-frame iframe{ width:100%; height:220px; border:0; filter:grayscale(.3) contrast(1.05); }

/* ---------------------------------------------------------------------- */
/* Misc responsive for split/general sections                             */
/* ---------------------------------------------------------------------- */
@media (max-width:640px){
  .container{ padding-inline:18px; }
  .btn{ padding:13px 22px; font-size:.92rem; }
}

/* accessibility: visible focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--orange-500); outline-offset:3px;
}

/* back to top */
.to-top{
  position:fixed; bottom:26px; right:26px; z-index:900; width:48px; height:48px; border-radius:50%;
  background:var(--navy-900); color:#fff; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity .3s,transform .3s,visibility .3s;
  border:1px solid rgba(255,255,255,.14);
}
.to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top svg{ width:18px; height:18px; }
.to-top:hover{ background:var(--orange-600); }
@media (max-width:640px){ .to-top{ width:42px; height:42px; bottom:88px; right:18px; } }
