/* =========================================================
  AlphaTeleVoice — cleaned, unified CSS (drop‑in replacement)
  - Single theme (GREEN) — no duplicate :root / btn-primary
  - One navigation system: .topbar (white)
  - GoDaddy-style hero CTAs (Primary filled / Secondary outline)
  - Mobile nav: smooth slide-down animation (no jumpy spacing)
  - Removed dead/duplicate styles (old .nav system, duplicated blocks)
========================================================= */

:root{
  /* brand */
  --accent: #16a34a;      /* brand green (primary) */
  --accent-2: #15803d;    /* brand green (hover/darker) */

  /* layout */
  --nav-h: 72px;
  --maxw: 1280px;
  --pad: 28px;

  /* neutrals */
  --bg-side: #2f2f35;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --text: #0f172a;
  --muted: #667085;
  --border: #e7e9ee;

  /* effects */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06);
  --shadow-md: 0 10px 30px rgba(16,24,40,.10);
}

/* ---------------- BASE ---------------- */
*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: var(--bg-side);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{ max-width: 100%; height: auto; display:block; }
a{ color: inherit; }

:focus-visible{
  outline: 3px solid rgba(34,197,94,0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Centered content column with dark side gutters */
.page{
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--surface);
  min-height: 100vh;
  box-shadow: var(--shadow-md);
}

/* Anchor offset for sticky nav */
.section, section{ scroll-margin-top: calc(var(--nav-h) + 18px); }

/* ---------------- TOP BAR (WHITE NAV) ---------------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.topbar-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad);
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
}
.brand img{
  height: 34px;
  width: auto;
}
.brand-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
}
.brand-name{
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.2px;
  text-transform: none;
}

/* Desktop nav */
.navlinks{
  display:flex;
  align-items:center;
  gap: 18px;
}
.navlinks a{
  text-decoration:none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #334155;
}
.navlinks a:hover{ color:#0f172a; }

/* Mobile toggle (hamburger) */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background:#0f172a;
  border-radius: 999px;
}

/* ---------------- BUTTONS ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 24px rgba(34,197,94,0.22);
}
.btn-primary:hover{ background: var(--accent-2); }

.btn-secondary{
  background: transparent;
  color: #0f172a;
  border: 1px solid rgba(15,23,42,0.22);
}
.btn-secondary:hover{ background: rgba(15,23,42,0.04); }

.btn-outline-dark{
  background: transparent;
  border: 1px solid rgba(15,23,42,0.35);
  color: #0f172a;
}
.btn-outline-dark:hover{ background: rgba(15,23,42,0.05); }

.btn.btn-sm{
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ---------------- HERO ---------------- */
.hero{
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;

  background: #0b1220;          /* fallback if image fails */
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* background image layer (filtered) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: url('/assets/img/main_hero.png') center center / cover no-repeat;
  filter: grayscale(100%) brightness(1.15) contrast(0.9);
  z-index: 0;
  pointer-events: none;
}

/* dark overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(15, 18, 22, 0.55);
  z-index: 1;
  pointer-events: none;
}

.hero-inner{
  position: relative;
  z-index: 2;
}

/* GoDaddy-style CTA hierarchy: Primary filled, Secondary outline */
.hero .hero-actions{
  display:flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .hero-cta{
  padding: 16px 38px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Secondary in hero: white outline (keeps contrast) */
.hero .btn-secondary{
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.hero .btn-secondary:hover{ background: rgba(255,255,255,0.16); }

.hero .hero-foot,
.hero .hero-note{
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.hero .hero-foot a,
.hero .hero-note a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}
.hero .hero-foot a:hover,
.hero .hero-note a:hover{ text-decoration: underline; }

/* ---------------- SECTIONS ---------------- */
.section{
  padding: 72px var(--pad);
}
.section h2{
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
}

.lead{
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

/* Section head (used on products/contact) */
.section-head{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 28px;
}
.section-head-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------------- GRID CARDS ---------------- */
.cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.card > img{ display: block; }
.kicker{
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #98a2b3;
  text-transform: uppercase;
}
.card .kicker{ padding: 0 18px; }
.card h3, .card p{ padding: 0 18px; }
.card h3{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 10px 0 10px 0;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 18px;
}

/* ---------------- PRODUCTS ---------------- */
.section.products{ background: var(--surface-2); }

/* Base grid */
.products-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:28px;
}

/* Modern product card */
.products-grid.modern{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product.modern{
  display:flex;
  flex-direction: column;
  overflow:hidden;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product.modern:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-media{
  height: 170px;
  background: #0b1220;
}
.product-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body{
  padding: 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.product-top{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0f172a;
  background: #eef2ff;
  border: 1px solid rgba(15,23,42,0.08);
}
.pill-soft{ background: #f1f5f9; }

.product.modern h3{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.product.modern p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.product-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ---------------- B2B INTRO ---------------- */
.b2b-intro p.lead{ margin-top: 2px; }
.b2b-grid{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.b2b-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.b2b-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.b2b-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.b2b-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  display: grid;
  place-items: center;
  flex: 0 0 40px;
}
.b2b-icon svg{
  width: 20px;
  height: 20px;
  stroke: var(--accent-2);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.b2b-card h3{
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.b2b-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------- PARTNER CTA ---------------- */
.partner-cta{
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(34,197,94,.18), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0b1220 100%);
  color: #fff;
}
.partner-cta .lead,
.partner-cta p{ color: rgba(255,255,255,0.78); }
.partner-cta-inner{
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: calc(var(--radius) + 6px);
  padding: 26px;
}
.partner-cta-inner h2{ margin: 0 0 12px 0; }
.partner-cta-actions{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ---------------- WHY GRID ---------------- */
.why-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.why-item{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.why-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}
.icon-pill{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  display:grid;
  place-items:center;
  flex: 0 0 40px;
}
.icon-pill svg{
  width: 20px;
  height: 20px;
  stroke: var(--accent-2);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-item h3{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.why-item p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

/* ---------------- TRUSTPILOT AREA ---------------- */
.trustpilot{
  padding-top: 90px;
  padding-bottom: 90px;
  background: var(--surface-2);
}
.trustpilot .center{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.tp-title{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.tp-stars{ display: inline-flex; gap: 3px; transform: translateY(1px); }
.star{
  width: 18px;
  height: 18px;
  background: #00b67a;
  border-radius: 4px;
  position: relative;
}
.star::after{
  content: "★";
  position: absolute;
  inset: 0;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  text-align: center;
}
.tp-sub{
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 0;
}
.tp-sub b{ color: #111318; font-weight: 800; }

/* ---------------- FOOTER ---------------- */
.site-footer{
  background:#0b1320;
  color:#cfd6e4;
  font-size:14px;
}
.footer-container{
  max-width:1200px;
  margin:auto;
  padding:52px 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:34px;
}
.footer-logo{max-width:175px;margin-bottom:14px}
.footer-desc{line-height:1.7;color:#9aa4bf;margin:0 0 14px}
.footer-contact{display:flex;flex-direction:column;gap:8px;color:#9aa4bf}
.footer-label{display:inline-block;min-width:52px;color:#cfd6e4;opacity:.85}
.footer-col h4{color:#fff;font-size:16px;margin:0 0 14px}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a,.footer-col a{color:#9aa4bf;text-decoration:none}
.footer-col a:hover{color:#4da3ff}
.footer-bottom{
  border-top:1px solid #1c2538;
  text-align:center;
  padding:16px 12px;
  font-size:13px;
  color:#8892a6;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px){
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
  .products-grid.modern{ grid-template-columns: repeat(2, 1fr); }
  .section-head{ align-items: flex-start; flex-direction: column; }
}

@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr; }
  .b2b-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .partner-cta-inner{ grid-template-columns: 1fr; }
  .partner-cta-actions{ justify-content: flex-start; }
}

@media (max-width: 640px){
  .products-grid.modern{ grid-template-columns: 1fr; }
  .product-media{ height: 190px; }
}

@media (max-width: 520px){
  :root{ --pad: 18px; }
  .section{ padding: 54px var(--pad); }
}

/* ---------------- MOBILE NAV (smooth animation) ---------------- */
@media (max-width: 1100px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  /* Turn desktop row into an animated dropdown panel */
  .navlinks{
    position: absolute;
    top: calc(var(--nav-h) - 1px);
    right: var(--pad);
    left: var(--pad);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-md);

    /* Animation */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }

  .navlinks a{
    padding: 10px;
    border-radius: 10px;
    color: #0f172a;
  }
  .navlinks a:hover{ background: var(--surface-2); }
  .navlinks .btn{ width: 100%; }

  body.nav-open .navlinks{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ---------------- HERO: MOBILE POLISH ---------------- */
@media (max-width: 640px){
  :root{ --nav-h: 64px; --pad: 18px; }
  .hero{ min-height: 72vh; padding-top: var(--nav-h); }
  .hero-inner{ padding: 0 16px; }
  .hero h1{ font-size: clamp(28px, 8vw, 38px); line-height: 1.15; }
  .hero p{ font-size: 15px; line-height: 1.6; }
  .hero .hero-actions{ gap: 10px; }
  .hero .hero-cta{ padding: 14px 26px; font-size: 12px; }
}

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

.hero .btn-primary{
  box-shadow: 0 14px 40px rgba(34,197,94,0.35);
}
/* Header phone */

.nav-phone{
font-weight:700;
font-size:14px;
color:#16a34a;
white-space:nowrap;
}

@media(max-width:1100px){

.nav-phone{
display:none;
}

}
/* Mobile phone number */

.nav-phone-mobile{
display:none;
font-weight:700;
color:#16a34a;
}

/* Show phone inside mobile menu */

@media(max-width:1100px){

.nav-phone-mobile{
display:block;
padding:10px;
}

}