/* 
eTouch Corporate Services — Stylesheet
Organised by section, top to bottom, to match the markup.
*/

/*  Variables & resets  */
:root{
  --navy: #0f1e3d;
  --navy-soft: #17284b;
  --gold: #d99b2b;
  --gold-dark: #c9861a;
  --bg: #f4f5f7;
  --white: #ffffff;
  --text-dark: #101828;
  --text-body: #4b5568;
  --text-muted: #8a93a6;
  --border: #e6e8ee;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(15, 30, 61, 0.06);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.55;
}
h1,h2,h3{
  font-family:'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
p{ margin:0; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }
.icon{ width: 22px; height: 22px; }

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/*  Buttons (shared)  */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight:600;
  font-size: 14.5px;
  cursor:pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-gold{ background: var(--gold); color: var(--navy); }
.btn-gold:hover{ background: var(--gold-dark); }
.btn-outline-light{ background: transparent; border-color: rgba(255,255,255,0.28); color: var(--white); }
.btn-outline-light:hover{ background: rgba(255,255,255,0.08); }
.btn-navy{ background: var(--navy); color: var(--white); }
.btn-navy:hover{ background: var(--navy-soft); }
.btn-ghost{ background: var(--white); color: var(--navy); border-color: var(--border); }
.btn-ghost:hover{ background: #f8f9fb; }

/*  Site header / nav  */
header.site-header{
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top:0;
  z-index: 50;
}
.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:34px; height:34px; border-radius:8px;
  background: var(--navy);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display', serif; font-weight:700; font-size:18px;
}
.brand-text{ line-height:1.15; }
.brand-text .name{ font-family:'Playfair Display', serif; font-weight:700; font-size:19px; color:var(--navy); }
.brand-text .sub{ font-size:10px; letter-spacing:0.14em; color: var(--text-muted); font-weight:600; }

nav.main-nav{ display:flex; gap: 30px; }
nav.main-nav a{
  font-size:14.5px; font-weight:500; color: var(--text-body);
  transition: color .15s ease;
}
nav.main-nav a:hover{ color: var(--navy); }
.nav-mobile-extra{ display:none; }

.header-actions{ display:flex; align-items:center; gap:12px; }

/* Mobile nav toggle: hidden checkbox driving a hamburger label.
   Both start hidden; the 980px media query below reveals them. */
.nav-toggle-checkbox{ display:none; }
.nav-toggle-label{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:26px; height:20px;
  cursor:pointer;
}
.nav-toggle-label span{
  display:block;
  width:100%; height:2px;
  background: var(--navy);
  border-radius:2px;
}

/*  Hero  */
.hero{
  background: var(--navy);
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 22px 22px;
  color: var(--white);
  padding: 90px 0 100px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items:start;
}
.eyebrow-pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(217,155,43,0.4);
  color: var(--gold);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight:700;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}
.eyebrow-pill .dot{ width:6px; height:6px; border-radius:50%; background: var(--gold); }
.hero h1{
  font-size: 48px;
  line-height:1.12;
  margin-bottom: 22px;
}
.hero h1 .accent{ color: var(--gold); }
.hero .lede{
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }

.stat-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 22px;
}
.stat-card .icon{ color: var(--gold); margin-bottom: 14px; }
.stat-card .title{ font-weight:700; font-size:16px; margin-bottom:4px; }
.stat-card .desc{ font-size: 13px; color: rgba(255,255,255,0.6); line-height:1.4; }

/*  Section shells (shared heading style)  */
section{ padding: 84px 0; }
.section-head{ text-align:center; max-width: 640px; margin: 0 auto 46px; }
.eyebrow{
  display:block; font-size: 12px; font-weight:700; letter-spacing: 0.12em;
  color: var(--gold-dark); text-transform:uppercase; margin-bottom: 10px;
}
.eyebrow.left{ text-align:left; }
.section-head h2{ font-size: 34px; color: var(--navy); margin-bottom: 14px; }
.section-head p{ color: var(--text-body); font-size: 15.5px; }

/*  Who it's for  */
.who-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:start;
}
.who-copy h2{ font-size: 32px; color: var(--navy); margin: 8px 0 14px; }
.who-copy p{ color: var(--text-body); font-size: 15px; margin-bottom: 26px; }
.who-tiles{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.who-tile{
  background: var(--white);
  border:1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display:flex; align-items:center; gap:10px;
  font-weight:600;
  font-size: 14.5px;
  color: var(--text-dark);
}
.who-tile .icon{ width:19px; height:19px; color: var(--gold-dark); flex-shrink:0; }

.tech-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
}
.tech-card .icon-badge{ color: var(--gold-dark); margin-bottom: 14px; }
.tech-card h3{ font-size: 21px; color: var(--navy); display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.tech-card p{ color: var(--text-body); font-size: 14.5px; margin-bottom: 26px; }
.tech-stats{
  display:grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.tech-stats .stat{ text-align:center; }
.tech-stats .value{ font-family:'Playfair Display', serif; font-size: 26px; color: var(--gold-dark); font-weight:700; }
.tech-stats .label{ font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/*  How it works  */
.how-section{ background: var(--white); }
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
  position: relative;
}
.step{ text-align:center; padding: 0 20px; position:relative; }
.step-icon-wrap{
  width:78px; height:78px; border-radius: var(--radius-md);
  background: #eef0f4;
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 22px;
  position:relative;
}
.step-icon-wrap .icon{ width:30px; height:30px; color: var(--gold-dark); }
.step-num{
  position:absolute; top:-10px; right:-10px;
  background: var(--navy); color: var(--white);
  font-size: 11px; font-weight:700;
  width: 26px; height:26px; border-radius:7px;
  display:flex; align-items:center; justify-content:center;
}
.step h3{ font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.step p{ font-size: 14px; color: var(--text-body); max-width: 280px; margin: 0 auto; }
.step-connector{
  position:absolute; top:38px; height:1px;
  border-top: 2px dashed #d8dbe3;
  width: 100%; left: 50%;
  z-index:0;
}

/*  Why eTouch  */
.why-panel{
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 46px;
  color: var(--white);
}
.why-panel h2{ font-size: 28px; margin-bottom: 12px; }
.why-panel > p{ color: rgba(255,255,255,0.65); font-size: 15px; max-width: 620px; margin-bottom: 34px; }
.why-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 22px;
}
.why-card .icon{ color: var(--gold); margin-bottom: 16px; }
.why-card h3{ font-family:'Playfair Display', serif; font-size: 17px; margin-bottom: 8px; }
.why-card p{ font-size: 13.5px; color: rgba(255,255,255,0.6); }

/*  Contract Management  */
.cm-section{ background: var(--bg); }
.cm-head{ max-width: 640px; margin-bottom: 40px; }
.cm-head .eyebrow{ color: var(--gold-dark); }
.cm-head h2{ font-size: 36px; color: var(--navy); margin: 6px 0 16px; }
.cm-head p{ color: var(--text-body); font-size: 15.5px; margin-bottom: 26px; }
.cm-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cm-card{
  background: var(--white);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.cm-card .icon-badge{
  width:44px; height:44px; border-radius:10px;
  background: #fbeed9; color: var(--gold-dark);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.cm-card .icon-badge .icon{ width:22px; height:22px; }
.cm-card h3{ font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.cm-card p{ font-size: 13.8px; color: var(--text-body); }

/*  Core Services (accordion)  */
.services-section .section-head{ margin-bottom: 40px; }
.accordion{ display:flex; flex-direction:column; gap: 18px; max-width: 900px; margin: 0 auto; }
.acc-item{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}
.acc-head{ display:flex; align-items:flex-start; gap:16px; cursor:pointer; }
.acc-head .icon-badge{
  width:44px; height:44px; border-radius:10px; flex-shrink:0;
  background: #fbeed9; color: var(--gold-dark);
  display:flex; align-items:center; justify-content:center;
}
.acc-head .icon-badge .icon{ width:22px; height:22px; }
.acc-title-wrap{ flex:1; }
.acc-title-wrap h3{ font-size: 18.5px; color: var(--navy); margin-bottom: 6px; }
.acc-title-wrap p{ font-size: 14px; color: var(--text-body); }
.acc-toggle{ color: var(--text-muted); flex-shrink:0; margin-top: 8px; }
.acc-body{
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 20px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}
.acc-body li{
  display:flex; align-items:flex-start; gap:10px;
  font-size: 14px; color: var(--text-dark);
  padding: 4px 0;
}
.acc-body li .icon{ width:18px; height:18px; color: var(--gold-dark); flex-shrink:0; margin-top:1px; }
details.acc-item summary{ list-style:none; }
details.acc-item summary::-webkit-details-marker{ display:none; }
details.acc-item .acc-body{ display:none; }
details.acc-item[open] .acc-body{ display:grid; }
details.acc-item[open] .acc-toggle .chev-down{ display:none; }
details.acc-item:not([open]) .acc-toggle .chev-up{ display:none; }

/*  CTA  */
.cta-section{ padding: 0 0 84px; }
.cta-panel{
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 52px;
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items:center;
  color: var(--white);
}
.cta-panel h2{ font-size: 32px; line-height:1.2; margin-bottom: 16px; }
.cta-panel h2 .accent{ color: var(--gold); }
.cta-panel > div p{ color: rgba(255,255,255,0.68); font-size: 15px; margin-bottom: 26px; max-width: 480px; }
.cta-info{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 20px;
}
.cta-card .icon{ color: var(--gold); margin-bottom: 12px; }
.cta-card .label{ font-family:'Playfair Display', serif; font-weight:700; color: var(--gold); font-size: 15px; margin-bottom: 6px; }
.cta-card .value{ font-size: 14.5px; font-weight: 600; }
.cta-card .note{ font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/*  Site footer  */
footer.site-footer{ background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-top{
  display:flex; align-items:center; justify-content:space-between;
  padding: 40px 0 28px;
  flex-wrap:wrap; gap: 20px;
}
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand .brand-mark{ background: rgba(255,255,255,0.08); color: var(--gold); }
.footer-brand .name{ font-family:'Playfair Display', serif; font-size:18px; font-weight:700; color: var(--white); }
.footer-nav{ display:flex; gap: 28px; flex-wrap:wrap; }
.footer-nav a{ font-size: 14px; color: rgba(255,255,255,0.68); }
.footer-nav a:hover{ color: var(--gold); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0 34px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size: 12.5px; color: rgba(255,255,255,0.45);
}

/*  Upload contract modal  */
.modal-overlay{
  display:none;
  position:fixed; inset:0;
  background: rgba(15,30,61,0.6);
  align-items:center; justify-content:center;
  padding: 20px;
  z-index: 100;
}
.modal-overlay:target{ display:flex; }
.modal-box{
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px; width:100%;
  padding: 36px;
  position:relative;
  max-height: 90vh;
  overflow-y:auto;
}
.modal-close{
  position:absolute; top:18px; right:20px;
  font-size: 22px; line-height:1;
  color: var(--text-muted);
}
.modal-close:hover{ color: var(--navy); }
.modal-box h3{ font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.modal-sub{ font-size: 14px; color: var(--text-body); margin-bottom: 24px; }
.modal-form{ display:flex; flex-direction:column; gap: 14px; }
.modal-form label{ font-size: 13px; font-weight:600; color: var(--text-dark); }
.modal-form input,
.modal-form textarea{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  width: 100%;
}
.modal-form textarea{ resize: vertical; }
.modal-submit{ margin-top: 8px; width: 100%; }
.hp-field{
  position:absolute;
  left:-9999px;
  top:-9999px;
  width:1px; height:1px;
  overflow:hidden;
}

/*  Form status banner  */
.form-banner{
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  font-weight:600;
  margin: 24px 0;
}
.form-banner--ok{ background:#e9f7ef; color:#1a7a3f; border:1px solid #bfe8cf; }
.form-banner--err{ background:#fdecec; color:#b3261e; border:1px solid #f6c8c5; }

/*  Responsive  */
@media (max-width: 980px){
  .header-inner{ position:relative; flex-wrap:wrap; }
  .nav-toggle-label{ display:flex; }

  nav.main-nav{
    display:none;
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    gap:0;
    background: var(--white);
    border:1px solid var(--border);
    border-top:none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px 0;
    z-index: 40;
  }
  nav.main-nav a{
    padding: 12px 24px;
  }
  nav.main-nav a:hover{ background: var(--bg); }
  .nav-mobile-extra{
    display:block;
    border-top:1px solid var(--border);
    margin-top:4px;
    padding-top:16px !important;
    font-weight:600;
    color: var(--navy) !important;
  }

  .nav-toggle-checkbox:checked ~ .header-inner nav.main-nav{
    display:flex;
  }

  .hero-grid{ grid-template-columns: 1fr; }
  .who-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr 1fr; }
  .cm-grid{ grid-template-columns: 1fr 1fr; }
  .cta-panel{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; gap: 40px; }
  .step-connector{ display:none; }
}
@media (max-width: 620px){
  .header-inner{ padding: 12px 16px; gap:12px; }
  .brand-text .name{ font-size:17px; }
  .header-actions{ gap:8px; }
  .header-actions .btn{ padding:9px 14px; font-size:13.5px; }
  .btn-ghost{ display:none; } /* "My Reviews" hidden at this width; still reachable via the nav menu */

  .hero h1{ font-size: 34px; }
  .stat-grid{ grid-template-columns: 1fr; }
  .who-tiles{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .cm-grid{ grid-template-columns: 1fr; }
  .acc-body{ grid-template-columns: 1fr; }
  .tech-stats{ grid-template-columns: 1fr; gap: 16px; }
  .footer-top, .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .cta-info{ grid-template-columns: 1fr; }
  section{ padding: 56px 0; }
  .cta-panel, .why-panel{ padding: 30px; }
  .modal-box{ padding: 26px; }
}
