/* =========================================================
   UBUNTU CX — Design tokens
========================================================= */
:root{
  --brown:      #4A2E1E;
  --brown-deep: #241708;
  --green:      #4B6B33;
  --green-deep: #35491F;
  --orange:     #E2661B;
  --yellow:     #F2A900;
  --cream:      #F7F2E9;
  --white:      #FFFFFF;
  --ink:        #241708;
  --ink-soft:   #5B4C40;
  --line:       rgba(36,23,8,0.12);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 14px;
  --wrap: 1180px;
}

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

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:var(--font-display);
  color:var(--ink);
  line-height:1.08;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); font-weight:600; }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.5rem); font-weight:600; }
h3{ font-size:1.15rem; font-weight:600; }
p{ margin:0 0 1em; color:var(--ink-soft); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin:0 0 .8em;
  color:var(--yellow);
}
.eyebrow-dark{ color:var(--orange); }
.eyebrow-light{ color:var(--yellow); }

.section{ padding:88px 0; }
.section-cream{ background:var(--cream); }
.section-dark{ background:var(--brown-deep); }
.section-dark p{ color:rgba(255,255,255,0.72); }
.h2-light{ color:var(--white); }
.section-lede{ max-width:640px; font-size:1.05rem; }

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 26px;
  border-radius:999px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:.95rem;
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  border:1.5px solid transparent;
  cursor:pointer;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--orange); color:var(--white); }
.btn-primary:hover{ background:#c8560f; }
.btn-ghost{ border-color:var(--line); color:var(--ink); }
.btn-ghost:hover{ background:var(--cream); }
.btn-outline-light{ border-color:rgba(255,255,255,0.4); color:var(--white); }
.btn-outline-light:hover{ background:rgba(255,255,255,0.1); }
.btn-block{ width:100%; }

/* =========================================================
   HEADER
========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ border-radius:8px; }
.brand-text{ font-family:var(--font-display); font-weight:600; letter-spacing:.03em; font-size:1.02rem; }
.brand-text b{ color:var(--green); font-weight:700; }

.main-nav{ display:flex; gap:30px; }
.main-nav a{
  font-size:.92rem; font-weight:500; color:var(--ink-soft);
  position:relative; padding:4px 0;
}
.main-nav a:hover{ color:var(--ink); }
.main-nav a.active{ color:var(--ink); font-weight:600; }
.main-nav a.active::after{ transform:scaleX(1); }
.main-nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background:var(--orange); transform:scaleX(0); transform-origin:left;
  transition:transform .2s ease;
}
.main-nav a:hover::after{ transform:scaleX(1); }

.header-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:0; cursor:pointer; padding:6px;
}
.nav-toggle span{ width:22px; height:2px; background:var(--ink); display:block; }

/* =========================================================
   HERO
========================================================= */
.hero{
  position:relative;
  background:var(--cream);
  color:var(--ink);
  padding:96px 0 80px;
  overflow:hidden;
}
.hero-swoosh{
  position:absolute; top:0; left:0; width:100%; height:180px; z-index:0;
}
.hero-dots{
  position:absolute; top:40px; right:6%; width:150px; height:150px; z-index:0;
  background-image:radial-gradient(var(--orange) 2.5px, transparent 2.5px);
  background-size:16px 16px;
  opacity:0.35;
}
.hero-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.15fr 0.85fr;
  align-items:center; gap:40px;
}
.hero-copy h1{ color:var(--ink); }
.hero-sub{ color:var(--ink-soft); max-width:520px; font-size:1.06rem; }
.hero-actions{ display:flex; gap:14px; margin:28px 0 22px; flex-wrap:wrap; }
.hero-tagline{
  font-family:var(--font-mono); font-size:.85rem; letter-spacing:.08em;
  color:var(--green-deep); margin:0; font-weight:600;
}

.hero-visual{
  position:relative;
  display:flex; justify-content:center; align-items:center;
  min-height:420px;
}
.contact-icon-wrap{ position:relative; width:100%; max-width:340px; }
.contact-icon-svg{ width:100%; height:auto; position:relative; z-index:1; }
.ci-ring-outer{ fill:none; stroke:var(--orange); stroke-width:1.5; opacity:0.25; }
.ci-ring-inner{ fill:none; stroke:var(--green); stroke-width:1.5; opacity:0.3; stroke-dasharray:4 7; }
.ci-band{ fill:none; stroke:var(--brown); stroke-width:12; stroke-linecap:round; }
.ci-cup{ fill:var(--green); }
.ci-cup-right{ fill:var(--green-deep); }
.ci-mic-arm{ fill:none; stroke:var(--orange); stroke-width:9; stroke-linecap:round; }
.ci-mic-tip{ fill:var(--orange); }
.ci-wave{ fill:none; stroke:var(--yellow); stroke-width:6; stroke-linecap:round; }
.ci-wave-2{ opacity:0.6; }
.chat-bubble{
  position:absolute; display:flex; align-items:center; justify-content:center; gap:4px;
  width:56px; height:40px; border-radius:14px 14px 14px 4px;
}
.chat-bubble span{ width:5px; height:5px; border-radius:50%; background:var(--white); }
.chat-bubble-a{ top:6%; left:2%; background:var(--orange); }
.chat-bubble-b{
  bottom:10%; right:0%; background:var(--yellow);
  border-radius:14px 14px 4px 14px;
}
.chat-bubble-b span{ background:var(--brown-deep); }
.hero-logo-badge{
  position:absolute; left:6%; bottom:6%; z-index:2;
  border-radius:50%; background:var(--white);
  box-shadow:0 14px 28px -12px rgba(36,23,8,0.35);
  padding:6px;
}
.seal-badge{
  position:absolute; top:0; right:2%; z-index:2;
  width:118px; height:118px; border-radius:50%;
  border:1.5px dashed var(--brown);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px; text-align:center;
  background:var(--white);
  transform:rotate(8deg);
}
.seal-badge span{
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.1em; color:var(--orange);
}
.seal-badge strong{
  font-family:var(--font-display); font-size:.82rem; font-weight:700; color:var(--brown-deep);
  line-height:1.15;
}

/* =========================================================
   TRUST STRIP
========================================================= */
.trust-strip{ background:var(--cream); border-bottom:1px solid var(--line); }
.trust-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:26px;
  padding:38px 24px;
}
.trust-item{ display:flex; gap:14px; align-items:flex-start; }
.trust-icon{ width:10px; height:10px; border-radius:50%; margin-top:8px; flex:none; }
.trust-item p{ margin:0; font-size:.92rem; color:var(--ink-soft); }
.trust-item strong{ color:var(--ink); }

/* =========================================================
   SERVICES
========================================================= */
.service-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-top:44px;
}
.service-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform:translateY(-4px); box-shadow:0 18px 34px -18px rgba(36,23,8,0.28); }
.service-card ul{ margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.service-card li{
  font-size:.88rem; color:var(--ink-soft); padding-left:16px; position:relative;
}
.service-card li::before{
  content:''; position:absolute; left:0; top:.55em; width:6px; height:6px; border-radius:50%;
  background:var(--orange);
}
.service-icon{ width:38px; height:38px; border-radius:10px; margin-bottom:16px; }
.icon-green{ background:var(--green); }
.icon-orange{ background:var(--orange); }
.icon-yellow{ background:var(--yellow); }
.icon-cream{ background:var(--yellow); }
.service-card-dark{ background:var(--brown-deep); border-color:var(--brown-deep); }
.service-card-dark h3, .service-card-dark p{ color:var(--white); }
.service-card-dark p{ color:rgba(255,255,255,.72); }
.service-card-dark li{ color:rgba(255,255,255,.72); }

/* =========================================================
   WHY UBUNTU
========================================================= */
.why-layout{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.why-list{ display:flex; flex-direction:column; gap:16px; }
.why-list li{
  display:flex; align-items:center; gap:12px;
  background:var(--white); border:1px solid var(--line);
  padding:14px 18px; border-radius:10px;
  font-size:.95rem; font-weight:500;
}
.why-dot{ width:9px; height:9px; border-radius:50%; flex:none; }

/* =========================================================
   EXPERIENCE
========================================================= */
.campaign-tags{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.campaign-tags span{
  font-family:var(--font-mono); font-size:.82rem;
  border:1px solid var(--line); border-radius:999px;
  padding:9px 18px; color:var(--ink-soft);
}

/* =========================================================
   HOW IT WORKS
========================================================= */
.steps{
  list-style:none; margin-top:44px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:26px;
}
.steps li{ border-top:2px solid rgba(255,255,255,0.16); padding-top:18px; }
.step-num{
  font-family:var(--font-mono); color:var(--yellow); font-size:.85rem; letter-spacing:.08em;
}
.steps h3{ color:var(--white); margin-top:10px; }
.steps p{ color:rgba(255,255,255,0.65); font-size:.92rem; }

/* =========================================================
   INDUSTRIES
========================================================= */
.industry-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:36px;
}
.industry-grid span{
  display:block; text-align:center;
  border:1px solid var(--line); border-radius:10px;
  padding:20px 14px; font-size:.9rem; font-weight:500; color:var(--ink-soft);
  background:var(--white);
}

/* =========================================================
   CAREERS
========================================================= */
.careers-layout{ display:grid; grid-template-columns:1.2fr 0.8fr; gap:50px; align-items:center; }
.careers-list li{
  padding:14px 0; border-bottom:1px solid var(--line);
  font-size:.95rem; color:var(--ink-soft); position:relative; padding-left:20px;
}
.careers-list li::before{
  content:'—'; position:absolute; left:0; color:var(--orange);
}

/* =========================================================
   CONTACT
========================================================= */
.contact-layout{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; }
.contact-details{ margin-top:30px; display:flex; flex-direction:column; gap:18px; }
.contact-details li{ display:flex; flex-direction:column; gap:2px; }
.cd-label{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.1em; color:var(--yellow); text-transform:uppercase; }
.contact-details a, .contact-details span{ color:var(--white); font-size:1.05rem; font-weight:500; }

.contact-form{
  background:var(--white); border-radius:var(--radius); padding:30px;
}
.form-row{ margin-bottom:16px; display:flex; flex-direction:column; gap:6px; }
.form-row-split{ flex-direction:row; gap:16px; }
.form-row-split > div{ flex:1; display:flex; flex-direction:column; gap:6px; }
.contact-form label{ font-size:.82rem; font-weight:600; color:var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea{
  border:1px solid var(--line); border-radius:8px; padding:11px 13px;
  font-family:var(--font-body); font-size:.95rem; color:var(--ink);
  background:var(--cream);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline:2px solid var(--orange); outline-offset:1px;
}
.form-note{ font-size:.8rem; color:var(--ink-soft); margin-top:12px; }
.form-note a{ color:var(--orange); font-weight:600; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer{ background:var(--brown-deep); color:rgba(255,255,255,0.7); padding:50px 0 22px; }
.footer-inner{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:30px;
  padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,0.12);
}
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand img{ border-radius:8px; }
.footer-name{ color:var(--white); font-family:var(--font-display); font-weight:600; margin:0; letter-spacing:.03em; }
.footer-tag{ margin:0; font-size:.82rem; color:var(--yellow); }
.footer-nav{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-nav a{ font-size:.88rem; }
.footer-nav a:hover{ color:var(--white); }
.footer-contact{ display:flex; flex-direction:column; gap:6px; font-size:.88rem; align-items:flex-end; }
.footer-contact a:hover{ color:var(--white); }
.footer-fine{ text-align:center; font-size:.78rem; padding-top:20px; margin:0; }

/* =========================================================
   WHATSAPP FAB
========================================================= */
.whatsapp-fab{
  position:fixed; right:22px; bottom:22px; z-index:60;
  width:56px; height:56px; border-radius:50%;
  background:var(--green); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 26px -8px rgba(36,23,8,0.5);
  transition:transform .2s ease;
}
.whatsapp-fab:hover{ transform:scale(1.08); }

/* =========================================================
   INTERIOR PAGE HERO
========================================================= */
.page-hero{
  position:relative;
  background:var(--cream);
  color:var(--ink);
  padding:64px 0 56px;
  overflow:hidden;
}
.page-hero::before{
  content:'';
  position:absolute; top:0; left:0; width:100%; height:110px;
  background:linear-gradient(100deg, var(--green) 0%, var(--green) 55%, var(--green-deep) 100%);
  clip-path:polygon(0 0, 100% 0, 100% 55%, 0 100%);
}
.page-hero::after{
  content:'';
  position:absolute; top:26px; right:6%; width:90px; height:90px;
  background-image:radial-gradient(var(--orange) 2.2px, transparent 2.2px);
  background-size:14px 14px;
  opacity:0.3;
}
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero h1{ color:var(--ink); font-size:clamp(2rem, 4vw, 2.8rem); margin-top:.2em; }
.page-hero p{ color:var(--ink-soft); max-width:600px; margin:0; }
.page-hero-icon{
  position:absolute; right:2%; top:8px; width:150px; height:150px;
  z-index:0; opacity:0.14;
  fill:none; stroke:var(--brown); stroke-width:9; stroke-linecap:round;
}
.page-hero-icon rect{ fill:var(--brown); stroke:none; }
.page-hero-icon circle{ fill:var(--brown); stroke:none; }

/* generic two column layout for text pairs */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.hero-tagline-dark{
  font-family:var(--font-mono); font-size:.85rem; letter-spacing:.08em;
  color:var(--orange); margin:0;
}

/* card links used throughout detail/teaser cards */
.card-link{
  display:inline-block; margin-top:14px; font-weight:600; font-size:.9rem;
  color:var(--orange); position:relative;
}
.card-link:hover{ text-decoration:underline; }
.card-link-light{ color:var(--yellow); }

.service-grid-3{ grid-template-columns:repeat(3,1fr); }

/* CTA banner (dark strip reused across pages) */
.cta-banner{ padding:56px 0; }
.cta-banner-inner{
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-banner-inner h2{ margin-bottom:.2em; }
.cta-banner-inner p{ margin:0; }
.cta-banner-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* service/detail pages */
.detail-layout{ display:grid; grid-template-columns:1.4fr 0.8fr; gap:54px; align-items:start; }
.detail-list{ display:flex; flex-direction:column; gap:10px; margin:18px 0 26px; }
.detail-list li{
  font-size:.96rem; color:var(--ink-soft); padding-left:20px; position:relative;
}
.detail-list li::before{
  content:''; position:absolute; left:0; top:.6em; width:7px; height:7px; border-radius:50%;
  background:var(--orange);
}
.cta-box{
  background:var(--cream); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; position:sticky; top:100px;
  display:flex; flex-direction:column; gap:10px;
}
.cta-box .btn{ margin-top:4px; }
.cta-box .card-link{ margin-top:8px; }

.steps-detailed li{ padding-top:22px; }
.steps-detailed p{ max-width:340px; }

/* light-mode contact variant for the standalone contact page */
.contact-layout-light .contact-info-light h2{ color:var(--ink); }
.contact-layout-light .contact-info-light p{ color:var(--ink-soft); }
.cd-label-dark{ color:var(--orange); }
.contact-details-light a, .contact-details-light span{ color:var(--ink); }

@media (max-width: 980px){
  .service-grid, .steps, .industry-grid, .service-grid-3{ grid-template-columns:repeat(2,1fr); }
  .trust-grid{ grid-template-columns:repeat(2,1fr); }
  .why-layout, .careers-layout, .contact-layout, .two-col, .detail-layout{ grid-template-columns:1fr; }
  .cta-box{ position:static; }
  .hero-inner{ grid-template-columns:1fr; text-align:center; }
  .hero-copy{ order:2; }
  .hero-visual{ order:1; min-height:300px; }
  .seal-badge{ width:92px; height:92px; }
  .hero-logo-badge{ width:64px; height:64px; }
  .hero-actions{ justify-content:center; }
  .hero-sub{ margin-inline:auto; }
  .cta-banner-inner{ text-align:center; justify-content:center; }
}

@media (max-width: 760px){
  .main-nav{
    position:absolute; top:100%; left:0; right:0;
    background:var(--white); border-bottom:1px solid var(--line);
    flex-direction:column; padding:16px 24px; gap:14px;
    display:none;
  }
  .main-nav.open{ display:flex; }
  .nav-toggle{ display:flex; }
  .service-grid, .steps, .industry-grid, .trust-grid, .service-grid-3{ grid-template-columns:1fr; }
  .footer-inner{ flex-direction:column; }
  .footer-contact{ align-items:flex-start; }
  .form-row-split{ flex-direction:column; }
}
