/* =========================================================
   ServiceWorld Concepts — single-page site styles
   Palette: navy #0E2A47, gold #C9A227, teal #1F9E8E,
            cream #FBF8F1, ink #18222C
   ========================================================= */

:root{
  --navy: #0E2A47;
  --navy-soft: #18375a;
  --gold: #C9A227;
  --gold-soft: #e6c75c;
  --teal: #1F9E8E;
  --teal-deep: #157568;
  --cream: #FFFCF5;
  --paper: #FBF3E2;
  --ink: #18222C;
  --ink-60: rgba(24,34,44,0.62);
  --line: rgba(14,42,71,0.12);

  --display: 'Fraunces', serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

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

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -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{ font-family: var(--display); margin:0; color: var(--navy); }
p{ margin:0; }

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--navy); color:#fff; padding:10px 16px; z-index:200;
}
.skip-link:focus{ left:10px; top:10px; }

:focus-visible{ outline:3px solid var(--teal); outline-offset:3px; }

.section-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 14px;
}

/* ---------------- Header ---------------- */
.site-header{
  position: sticky; top:0; z-index:100;
  background: rgba(251,248,241,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand-logo{ height: 38px; width:auto; }

.primary-nav{
  display:flex;
  align-items:center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}
.primary-nav a{ color: var(--navy); position:relative; padding: 4px 0; }
.primary-nav a:not(.nav-cta)::after{
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0%;
  background: var(--teal); transition: width .2s ease;
}
.primary-nav a:not(.nav-cta):hover::after{ width:100%; }

.nav-cta{
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover{ background: var(--teal-deep); }

.hamburger{
  display:none;
  width: 40px; height:40px;
  border:none; background:transparent;
  flex-direction:column; align-items:center; justify-content:center;
  gap:5px; cursor:pointer;
}
.hamburger span{
  width: 22px; height:2px; background: var(--navy); display:block;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none;
  flex-direction:column;
  max-height:0;
  overflow:hidden;
  transition: max-height .3s ease;
  border-top: 1px solid var(--line);
}
.mobile-nav a{
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  font-weight:500;
  color: var(--navy);
}
.mobile-nav.open{ max-height: 400px; }

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  overflow:hidden;
  padding: 86px 28px 90px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(31,158,142,0.10), transparent 60%),
    var(--cream);
}
.hero-inner{
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero h1{
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-lead{
  font-size: 1.12rem;
  color: var(--ink-60);
  max-width: 600px;
  margin-bottom: 34px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 26px; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight:600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--navy); color:#fff; }
.btn-primary:hover{ background: var(--teal-deep); box-shadow: 0 8px 20px rgba(14,42,71,0.25); }
.btn-whatsapp{ background:#fff; color: var(--navy); border-color: var(--line); }
.btn-whatsapp:hover{ border-color: var(--teal); color: var(--teal-deep); }
.wa-icon{ width:18px; height:18px; fill: #25D366; }
.btn-full{ width:100%; justify-content:center; margin-top: 6px; }

.hero-meta{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-60);
  display:flex; gap:10px; align-items:center;
}
.dot{ color: var(--gold); }

.hero-mark{
  position:absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 420px;
  opacity: 0.07;
  z-index:1;
  pointer-events:none;
}

/* ---------------- About ---------------- */
.about{ padding: 80px 28px; background: #fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.about-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items:start;
}
.about-copy h2{ font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom:18px; line-height:1.2; }
.about-copy p{ color: var(--ink-60); margin-bottom: 16px; max-width: 540px; }

.about-pillars{ display:flex; flex-direction:column; gap: 22px; }
.pillar{
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--line);
}
.pillar-num{
  font-family: var(--mono);
  color: var(--gold);
  font-size: 13px;
  font-weight:600;
}
.pillar h3{ font-size: 1.2rem; margin: 6px 0 6px; }
.pillar p{ color: var(--ink-60); font-size: 0.95rem; }

/* ---------------- Service sections ---------------- */
.service{ padding: 80px 28px; }
.service.alt{ background: var(--paper); }
.service-grid{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items:center;
}
.service-grid.reverse .service-tags{ order:1; }
.service-grid.reverse .service-head{ order:2; }

.service-head h2{ font-size: clamp(1.6rem,2.8vw,2.1rem); margin-bottom:16px; line-height:1.2; }
.service-head p{ color: var(--ink-60); max-width: 480px; margin-bottom: 22px; }

.outcome-list li{
  position:relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight:500;
  font-size: 0.96rem;
}
.outcome-list li::before{
  content:"";
  position:absolute; left:0; top: 9px;
  width:8px; height:8px; border-radius:50%;
  background: var(--teal);
}

.outcome-card{
  border-left: 3px solid var(--gold);
  background: #fff;
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
  max-width: 480px;
}
.outcome-tag{
  font-family: var(--mono);
  font-size:11.5px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color: var(--gold);
  font-weight:600;
}
.outcome-card p{ margin-top:8px; color: var(--ink); font-size:0.95rem; }

.tags-label{
  font-family: var(--mono);
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight:600;
}
.tag-grid{ display:flex; flex-direction:column; gap:10px; }
.tag-grid span{
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.92rem;
  font-weight:500;
  color: var(--navy-soft);
}
.service.alt .tag-grid span{ background: var(--cream); }

/* ---------------- Contact ---------------- */
.contact{ padding: 90px 28px; background: var(--navy); }
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact .eyebrow{ color: var(--gold-soft); }
.contact-copy h2{ color:#fff; font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom:16px; line-height:1.2; }
.contact-copy p{ color: rgba(255,255,255,0.72); max-width: 440px; margin-bottom: 32px; }

.contact-channels{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.channel{
  display:flex; flex-direction:column; gap:4px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  transition: background .2s ease, border-color .2s ease;
}
.channel:hover{ background: rgba(255,255,255,0.12); border-color: var(--teal); }
.channel-label{ font-family: var(--mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color: var(--gold-soft); }
.channel-value{ color:#fff; font-weight:600; font-size:0.95rem; }

.contact-form{
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.form-row{ margin-bottom: 18px; }
.form-row-split{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-row-split > div{ margin-bottom:0; }
label{
  display:block;
  font-size: 13px;
  font-weight:600;
  color: var(--navy);
  margin-bottom: 7px;
}
input, textarea{
  width:100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .2s ease;
}
input:focus, textarea:focus{ border-color: var(--teal); outline:none; }
textarea{ resize: vertical; }

.form-note{
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--teal-deep);
  text-align:center;
}

/* ---------------- Footer ---------------- */
.site-footer{ background: #0B2138; padding: 36px 28px; }
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 16px;
}
.footer-mark{ height: 28px; width:auto; opacity:0.9; }
.footer-inner p{ color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer-links{ display:flex; gap: 22px; font-size: 0.85rem; }
.footer-links a{ color: rgba(255,255,255,0.7); }
.footer-links a:hover{ color: var(--gold-soft); }

/* ---------------- WhatsApp floating button ---------------- */
.wa-float{
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height:56px;
  background: #25D366;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 150;
  transition: transform .2s ease;
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width: 28px; height:28px; fill:#fff; }

/* ---------------- Blog ---------------- */
.blog-hero{ padding: 70px 28px 30px; background: var(--cream); }
.blog-hero h1{ font-size: clamp(2rem,4.2vw,2.8rem); line-height:1.15; margin-bottom:14px; }
.blog-hero .hero-lead{ color: var(--ink-60); max-width: 560px; font-size:1.05rem; }
.active-link{ color: var(--teal-deep) !important; font-weight:700; }

.blog-list-section{ padding: 40px 28px 90px; background: var(--cream); }
.blog-list{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display:flex;
  flex-direction:column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(14,42,71,0.10);
  border-color: var(--teal);
}
.blog-date{ font-family: var(--mono); font-size:12px; color: var(--gold); letter-spacing:0.06em; margin-bottom:10px; }
.blog-card h2{ font-size: 1.25rem; line-height:1.3; margin-bottom: 10px; }
.blog-card p{ color: var(--ink-60); font-size:0.95rem; flex-grow:1; margin-bottom: 14px; }
.blog-read{ font-weight:600; font-size:0.9rem; color: var(--teal-deep); }
.blog-loading, .blog-empty{ color: var(--ink-60); font-style:italic; }

.article-section{ padding: 70px 28px 100px; background: var(--cream); }
.article-inner{ max-width: 720px; }
.back-link{
  display:inline-block;
  font-weight:600;
  font-size:0.92rem;
  color: var(--teal-deep);
  margin-bottom: 26px;
}
.back-link:hover{ text-decoration: underline; }
#article-content h1{ font-size: clamp(1.8rem,3.6vw,2.5rem); line-height:1.2; margin-bottom:24px; }
.article-body p{ color: var(--ink); font-size:1.05rem; margin-bottom: 18px; }
.article-body{ max-width: 680px; }

@media (max-width: 760px){
  .blog-list{ grid-template-columns: 1fr; }
}


@media (max-width: 920px){
  .about-grid, .service-grid, .service-grid.reverse, .contact-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-grid.reverse .service-tags{ order:2; }
  .service-grid.reverse .service-head{ order:1; }
  .hero-mark{ display:none; }
}

@media (max-width: 760px){
  .primary-nav{ display:none; }
  .hamburger{ display:flex; }
  .mobile-nav{ display:flex; }
  .hero{ padding: 64px 22px 64px; }
  .about, .service, .contact{ padding: 60px 22px; }
  .section-inner, .header-inner{ padding: 0 22px; }
  .contact-channels{ grid-template-columns: 1fr; }
  .form-row-split{ grid-template-columns: 1fr; gap:18px; }
  .footer-inner{ flex-direction:column; text-align:center; }
}

@media (max-width: 420px){
  .hero h1{ font-size: 2rem; }
  .btn{ width:100%; justify-content:center; }
  .hero-actions{ flex-direction:column; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}
