/* =========================
   DeskOne Limited - Corporate Multi-page
   Responsive: Mobile / Tablet / Desktop
   ========================= */

:root{
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-2:#64748b;
  --border: #e2e8f0;

  --accent: #8dc63f;
  --accent-700:#6aa623;

  --shadow: 0 12px 30px rgba(2, 6, 23, 0.08);
  --shadow-sm: 0 10px 20px rgba(2, 6, 23, 0.06);

  --radius: 16px;
  --radius-sm: 12px;

  --max: 1180px;
  --pad: 18px;

  --header-h: 76px;
}

/* Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(141,198,63,0.10), transparent 55%),
    radial-gradient(900px 520px at 88% 8%, rgba(141,198,63,0.06), transparent 55%),
    var(--bg);
  line-height: 1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(var(--max), 100%);
  margin:0 auto;
  padding:0 var(--pad);
}
.muted{ color:var(--muted); }
.muted-2{ color:var(--muted-2); }

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:var(--surface);
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:12px;
  z-index:999;
}
.skip-link:focus{ left:12px; top:12px; }

/* Header */
.site-header{
  position: sticky;
  top:0;
  z-index: 60;
  height: var(--header-h);
  display:flex;
  align-items:center;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 260px;
}
.brand img{ width: 132px; height:auto; }
.brand .meta{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .meta strong{
  font-size: 13.5px;
  letter-spacing:0.2px;
}
.brand .meta span{
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 3px;
}

/* Desktop Nav - RIGHT aligned */
.nav{
  margin-left: auto; /* pushes nav to the right */
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 6px;
}
.nav a{
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(15,23,42,0.80);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.nav a:hover{
  background: rgba(15,23,42,0.05);
  color: rgba(15,23,42,0.95);
}
.nav a.active{
  background: rgba(141,198,63,0.16);
  color: rgba(15,23,42,0.95);
  box-shadow: inset 0 0 0 1px rgba(141,198,63,0.25);
}

/* Header actions only for hamburger on small screens */
.header-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* hamburger (turns to X via JS class) */
.menu-btn{
  display:none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(2,6,23,0.06);
  cursor:pointer;
  position: relative;
}
.menu-btn:focus{
  outline: 3px solid rgba(141,198,63,0.28);
  outline-offset: 2px;
}
.menu-icon{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}
.menu-icon svg{
  width: 22px;
  height: 22px;
}

/* Drawer overlay + panel */
.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 80;
}
.drawer-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

.drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 92vw);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-left: 1px solid var(--border);
  box-shadow: -18px 0 40px rgba(2,6,23,0.18);
  transform: translateX(102%);
  transition: transform 260ms ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.drawer.open{ transform: translateX(0); }

.drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
}
.drawer-title{
  display:flex;
  flex-direction:column;
  line-height: 1.1;
}
.drawer-title strong{
  font-size: 14px;
  letter-spacing:0.2px;
}
.drawer-title span{
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 3px;
}

/* X close button top-right */
.drawer-close{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display:grid;
  place-items:center;
}
.drawer-close:focus{
  outline: 3px solid rgba(141,198,63,0.28);
  outline-offset: 2px;
}

/* Drawer content spacing improved */
.drawer-body{
  padding: 14px 10px 18px;
  display:grid;
  gap: 10px;
}
.drawer-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  margin: 0 6px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: rgba(15,23,42,0.90);
  font-size: 14px;
  font-weight: 650;
}
.drawer-link:hover{
  background: rgba(15,23,42,0.04);
}
.drawer-link.active{
  background: rgba(141,198,63,0.16);
  border-color: rgba(141,198,63,0.22);
}
.drawer-link .chev{
  opacity: 0.55;
}

/* Hero */
.hero{ padding: 34px 0 10px; }
.hero-wrap{
  display:grid;
  gap: 16px;
}
.hero-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-content{ padding: 22px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(141,198,63,0.12);
  border: 1px solid rgba(141,198,63,0.22);
  color: rgba(15,23,42,0.88);
}
.badge .dot{
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(141,198,63,0.16);
}
.hero h1{
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}
.hero .tagline{
  font-weight: 900;
  color: rgba(15,23,42,0.90);
}
.hero p{
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 68ch;
}
.hero-ctas{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: var(--surface);
  color: rgba(15,23,42,0.92);
  box-shadow: 0 10px 20px rgba(2,6,23,0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2,6,23,0.08);
}
.btn.primary{
  background: linear-gradient(135deg, var(--accent), #b7e46a);
  border-color: rgba(141,198,63,0.45);
  color: #0b1220;
}

.hero-media{
  position: relative;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 240px;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(110deg,
    rgba(15,23,42,0.82),
    rgba(15,23,42,0.22),
    rgba(15,23,42,0.86)
  );
}
.hero-stats{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display:grid;
  gap: 10px;
  z-index: 2;
}
.stat{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 12px 12px;
  color: #ffffff;
}
.stat strong{ font-size: 13px; }
.stat span{ display:block; font-size: 12px; opacity: 0.92; margin-top: 2px; }

/* Sections */
.section{ padding: 26px 0; }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing: -0.3px;
}
.section-head p{
  margin:0;
  color: var(--muted);
  max-width: 72ch;
  font-size: 14px;
}

/* =========================
   Our Approach (Image + Content)
   ========================= */

.approach-section{
  background: linear-gradient(
    135deg,
    rgba(141,198,63,0.08),
    rgba(255,255,255,0.9)
  );
}

.approach-grid{
  display: grid;
  gap: 24px;
  align-items: center;
}

.approach-media{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.approach-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.approach-content h2{
  margin: 12px 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.approach-content p{
  color: var(--muted);
  max-width: 64ch;
}

.approach-points{
  margin: 16px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,0.85);
}

.approach-points li{
  margin: 8px 0;
}

.approach-cta{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cards / grids */
.grid{ display:grid; gap: 14px; }
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(2,6,23,0.08);
  border-color: rgba(141,198,63,0.30);
}
.card .pad{ padding: 16px; }

.kicker{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 12px;
  color: rgba(15,23,42,0.78);
  margin-bottom: 8px;
}
.kicker .mini{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(141,198,63,0.14);
}
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}
.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,0.80);
  font-size: 13px;
}
.bullets li{ margin: 6px 0; }

.thumb{
  height: 160px;
  border-bottom: 1px solid var(--border);
}
.thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.tags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.02);
  color: rgba(15,23,42,0.78);
}
.tag.accent{
  background: rgba(141,198,63,0.14);
  border-color: rgba(141,198,63,0.25);
}

.callout{
  background: linear-gradient(135deg, rgba(141,198,63,0.14), rgba(255,255,255,0.88));
  border: 1px solid rgba(141,198,63,0.25);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

/* =========================
   About Hero (Text left + Image right)
   ========================= */

.about-hero{ padding: 34px 0 10px; }

.about-hero-grid{
  display: grid;
  gap: 16px;
  align-items: stretch;
}

/* keep hero-card nice but allow full height match */
.about-hero-card{
  height: 100%;
}

/* Right image panel */
.about-hero-media{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 260px;
}

.about-hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay for premium look */
.about-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15,23,42,0.55),
    rgba(15,23,42,0.12),
    rgba(15,23,42,0.60)
  );
}

/* Small chip on image */
.about-hero-chip{
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 12px;
  color: #fff;
  max-width: 260px;
}

.about-hero-chip strong{
  display:block;
  font-size: 13px;
}
.about-hero-chip span{
  display:block;
  font-size: 12px;
  opacity: 0.92;
  margin-top: 2px;
}

/* =========================
   Contact: Address card
   ========================= */

.contact-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-pill{
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.02);
  color: rgba(15,23,42,0.72);
  font-weight: 800;
  white-space: nowrap;
}

.contact-address{
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-meta{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.contact-row{
  display:grid;
  gap: 8px;
}

.contact-row .label{
  font-size: 12px;
  color: rgba(15,23,42,0.68);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.contact-row .value{
  font-size: 13px;
  color: rgba(15,23,42,0.88);
  font-weight: 650;
}

.focus-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Buttons area */
.contact-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

/* Footer (minimal) */
.site-footer{
  margin-top: 24px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
}
.footer-min{
  padding: 18px 0;
  display: grid;
  gap: 12px;
}
.footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer-brand img{
  width: 110px;
  height:auto;
}
.footer-brand .tagline{
  font-size: 12.5px;
  color: var(--muted-2);
  font-weight: 800;
}
.footer-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-links a{
  font-size: 13px;
  color: rgba(15,23,42,0.78);
  padding: 8px 10px;
  border-radius: 999px;
}
.footer-links a:hover{
  background: rgba(15,23,42,0.05);
  color: rgba(15,23,42,0.95);
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.fineprint{
  font-size: 12px;
  color: rgba(15,23,42,0.62);
}

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive layout */
@media (min-width: 720px){
  .hero-wrap{
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
  .grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px){
  .hero{ padding: 42px 0 10px; }
  .hero-media{ min-height: 360px; }
}

/* Hide desktop nav + show menu button on tablet/mobile */
@media (max-width: 980px){
  .nav{ display:none; }
  .menu-btn{ display:inline-grid; place-items:center; }
}

/* Footer center aligned on tablet + mobile */
@media (max-width: 980px){
  .footer-top{
    justify-content:center;
    text-align:center;
  }
  .footer-brand{
    justify-content:center;
  }
  .footer-links{
    justify-content:center;
  }
  .footer-bottom{
    justify-content:center;
    text-align:center;
  }
}

/* Desktop layout */
@media (min-width: 1024px){
  .approach-grid{
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
  }
}

/* Desktop: two columns (text left, image right) */
@media (min-width: 900px){
  .about-hero-grid{
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: stretch;
  }
  .about-hero-media{
    min-height: 100%;
  }
}

/* Large desktop polish */
@media (min-width: 1024px){
  .about-hero{ padding: 42px 0 10px; }
  .about-hero-media{ min-height: 360px; }
}

/* Responsive: Mobile / Tablet / Desktop */
/* Tablet & down: keep everything comfortable and aligned */
@media (max-width: 980px){
  .contact-head{
    align-items:flex-start;
  }
}

/* Small mobile: make CTA button full-width for better tap target */
@media (max-width: 480px){
  .contact-actions .btn{
    width: 100%;
    justify-content: center;
  }
  .contact-pill{
    white-space: normal; /* allow wrap if needed on very small screens */
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal, .card, .btn, .drawer, .drawer-overlay{ transition:none !important; }
}
