/* ============================================================
   ASTON GLOBAL HEALTHCARE SERVICES
   Shared stylesheet. Blue + Green palette.
   Change the :root block below to swap the entire site colors.
   ============================================================ */

:root{
  --ink:          #17324D;
  --primary:      #0756A3;
  --primary-dk:   #064783;
  --accent:       #329425;
  --accent-dk:    #26751D;

  --paper:        #F5FAFD;
  --paper-2:      #EAF4FB;
  --white:        #ffffff;
  --muted:        #526575;
  --line:         #D6E4EE;
  --line-dk:      #B9CEDD;

  --dark-bg:      #064783;
  --footer-bg:    #032B50;
  --dark-text:    #ffffff;
  --dark-body:    #E5F1F8;
  --dark-label:   #8FD27D;
  --dark-link:    #ffffff;
  --dark-line:    rgba(255,255,255,.16);
  --dark-panel:   rgba(255,255,255,.10);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 10px;
  --radius-sm: 6px;

  --shadow-sm: 0 2px 8px rgba(6,71,131,.08);
  --shadow-md: 0 8px 24px rgba(6,71,131,.12);
  --shadow-lg: 0 20px 48px rgba(6,71,131,.16);
  --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
  --grad-hero: radial-gradient(1200px 500px at 15% -10%, rgba(7,86,163,.10), transparent 60%),
               radial-gradient(900px 420px at 100% 0%, rgba(50,148,37,.10), transparent 55%),
               var(--paper-2);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--sans); font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--primary); text-decoration:none; }
a:hover{ text-decoration:underline; }

h1,h2,h3,h4{
  font-family:var(--serif); font-weight:600; line-height:1.15;
  letter-spacing:-0.01em; margin:0 0 .5em; color:var(--primary-dk);
}
h1{ font-size:clamp(2.4rem, 5vw, 4rem); font-weight:700; }
h2{ font-size:clamp(1.8rem, 3.2vw, 2.5rem); font-weight:700; }
h3{ font-size:clamp(1.2rem, 1.9vw, 1.45rem); }
h4{ font-size:1.02rem; font-family:var(--sans); font-weight:700; letter-spacing:0; }

p{ margin:0 0 1.1em; }
p:last-child{ margin-bottom:0; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.skip{ position:absolute; left:-9999px; top:0; background:var(--primary); color:#fff; padding:12px 20px; z-index:999; }
.skip:focus{ left:12px; top:12px; }

.btn{
  display:inline-block; font-family:var(--sans); font-size:.95rem; font-weight:700;
  padding:14px 26px; border-radius:100px; border:1.5px solid transparent;
  cursor:pointer; transition:background .16s ease, color .16s ease, border-color .16s ease,
    transform .16s ease, box-shadow .16s ease;
}
.btn-primary{ background:var(--grad-primary); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); text-decoration:none; }
.btn-accent{ background:var(--grad-accent); color:#fff; box-shadow:var(--shadow-sm); }
.btn-accent:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); text-decoration:none; }
.btn-ghost{ background:var(--white); color:var(--primary-dk); border-color:var(--line-dk); }
.btn-ghost:hover{ border-color:var(--primary); transform:translateY(-2px); box-shadow:var(--shadow-sm); text-decoration:none; }

.site-header{ background:var(--paper); border-bottom:1px solid var(--line); box-shadow:var(--shadow-sm); position:sticky; top:0; z-index:100; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0; position:relative; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand-logo{ width:210px; height:58px; object-fit:contain; object-position:left center; }
.brand-mark{
  width:40px; height:40px; background:var(--primary); border-radius:3px;
  display:grid; place-items:center; color:#fff; font-family:var(--serif);
  font-size:1.35rem; font-weight:600; line-height:1; flex:none;
}
.brand-text{ display:flex; flex-direction:column; white-space:nowrap; }
.brand-name{ font-family:var(--serif); font-size:1.35rem; font-weight:900; color:var(--primary-dk); line-height:1.15; }
.brand-sub{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:700; }

.nav{ display:flex; align-items:center; gap:20px; white-space:nowrap; }
.nav a{ font-size:.92rem; font-weight:500; color:var(--ink); }
.nav a:hover{ color:var(--primary); }
.nav a.active{ color:var(--primary); font-weight:700; }

.header-actions{ display:flex; align-items:center; gap:16px; }
.header-phone{ font-size:.92rem; font-weight:600; color:var(--primary-dk); white-space:nowrap; }
.menu-toggle{
  display:none; background:none; border:1px solid var(--line-dk); border-radius:var(--radius);
  padding:9px 13px; font-family:var(--sans); font-size:.85rem; font-weight:600;
  cursor:pointer; color:var(--ink);
}

.page-hero{ background:var(--grad-hero); border-bottom:1px solid var(--line); padding:64px 0; }
.page-hero .eyebrow{ margin-bottom:14px; }
.page-hero p.lede{ max-width:60ch; }
.page-hero h1{ margin-bottom:16px; }

.hero{ background:var(--grad-hero); border-bottom:1px solid var(--line); padding:72px 0 0; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:end; }
.hero-copy{ padding-bottom:72px; }
.hero h1{ margin-bottom:22px; }
.hero h1 em{ font-style:italic; color:var(--accent-dk); }
.hero-lede{ font-size:1.1rem; color:var(--muted); max-width:52ch; margin-bottom:32px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-media img{ width:100%; height:480px; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow-lg); }

.eyebrow{
  display:inline-block; font-size:.72rem; font-weight:700;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--accent-dk); margin-bottom:20px;
}

.trust{ background:var(--grad-primary); color:var(--dark-body); padding:22px 0; }
.trust-list{
  display:flex; flex-wrap:wrap; gap:12px 40px; align-items:center; justify-content:center;
  margin:0; padding:0; list-style:none; font-size:.88rem; font-weight:500;
}
.trust-list li{ display:flex; align-items:center; gap:9px; }
.trust-list li::before{ content:""; width:6px; height:6px; background:var(--accent); border-radius:50%; flex:none; }

section{ padding:80px 0; }
.section-alt{ background:var(--white); }
.section-paper{ background:var(--paper); }
.section-head{ max-width:66ch; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.lede{ font-size:1.06rem; color:var(--muted); }

.service{ display:grid; grid-template-columns:220px 1fr; gap:44px; padding:44px 0; border-top:1px solid var(--line); transition:background .2s ease; }
.service:first-of-type{ border-top:2px solid var(--primary-dk); }
.service:hover{ background:var(--paper-2); }
.service-meta{ position:sticky; top:110px; align-self:start; }
.service-num{
  display:grid; place-items:center; width:52px; height:52px; border-radius:50%;
  background:var(--grad-primary); color:#fff; box-shadow:var(--shadow-sm);
  font-family:var(--serif); font-size:1.35rem; font-weight:700; line-height:1; margin-bottom:14px;
}
.service-name{ font-family:var(--sans); font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent-dk); }
.service h3{ margin-bottom:14px; }
.service-body{ max-width:70ch; }
.service-body p{ color:var(--muted); }

.tag-list{ list-style:none; margin:20px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.tag-list li{
  font-size:.82rem; font-weight:500; color:var(--primary-dk);
  background:var(--paper-2); border:1px solid var(--line);
  border-radius:100px; padding:5px 14px;
}

.gallery{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-top:48px; }
.gallery figure{ margin:0; overflow:hidden; border-radius:var(--radius); box-shadow:var(--shadow-md); transition:box-shadow .25s ease; }
.gallery figure:hover{ box-shadow:var(--shadow-lg); }
.gallery img{ width:100%; height:290px; object-fit:cover; transition:transform .5s ease; }
.gallery figure:hover img{ transform:scale(1.05); }
.gallery figcaption{ font-size:.82rem; color:var(--muted); padding:10px 2px 0; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split img{ border-radius:var(--radius); width:100%; height:440px; object-fit:cover; box-shadow:var(--shadow-lg); }
.split.reverse .split-media{ order:2; }

.checklist{ list-style:none; margin:24px 0 0; padding:0; }
.checklist li{ position:relative; padding-left:30px; margin-bottom:12px; color:var(--muted); }
.checklist li::before{
  content:""; position:absolute; left:0; top:9px; width:14px; height:8px;
  border-left:2px solid var(--accent-dk); border-bottom:2px solid var(--accent-dk);
  transform:rotate(-45deg);
}

.audience-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; }
.audience{
  background:var(--white); border:1px solid var(--line);
  border-top:3px solid var(--primary); border-radius:var(--radius); padding:38px 34px;
  box-shadow:var(--shadow-sm); transition:box-shadow .2s ease, transform .2s ease;
}
.audience:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); }
.audience.accent{ border-top-color:var(--accent); }
.audience h3{ margin-bottom:14px; }
.audience p{ color:var(--muted); margin-bottom:22px; }

.steps{
  list-style:none; margin:0; padding:0; counter-reset:step;
  display:grid; grid-template-columns:repeat(4, 1fr); gap:28px;
}
.steps li{ counter-increment:step; border-top:2px solid var(--line-dk); padding-top:22px; }
.steps li::before{
  content:"0" counter(step); display:grid; place-items:center;
  width:44px; height:44px; border-radius:50%;
  background:var(--grad-accent); color:#fff; box-shadow:var(--shadow-sm);
  font-family:var(--serif); font-size:1.15rem; font-weight:700;
  margin-bottom:14px; line-height:1;
}
.steps h4{ margin-bottom:8px; color:var(--primary-dk); }
.steps p{ font-size:.92rem; color:var(--muted); margin:0; }

.contact{ background:var(--dark-bg); color:var(--dark-body); }
.contact h2, .contact h3{ color:#fff; }
.contact a{ color:var(--dark-link); }
.contact p{ color:var(--dark-body); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.contact-item{ margin-bottom:28px; }
.contact-label{ font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--dark-label); margin-bottom:8px; }
.contact-value{ font-size:1.08rem; color:#fff; line-height:1.6; }

.notice{
  background:var(--dark-panel); border-left:3px solid var(--accent);
  padding:18px 22px; font-size:.9rem; color:var(--dark-body);
  border-radius:0 var(--radius) var(--radius) 0;
}

.form-row{ margin-bottom:18px;  }
.form-row label{
  display:block; font-size:.82rem; font-weight:600; color:var(--primary);
  margin-bottom:6px; letter-spacing:.08em; text-transform:uppercase;
}
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:12px 14px; font-family:var(--sans); font-size:1rem;
  background:rgba(255,255,255,.06); border:1px solid var(--accent);
  border-radius:var(--radius); color:#000000;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline:2px solid var(--accent); outline-offset:1px;
}
.form-row textarea{ min-height:120px; resize:vertical; }

.cta-strip{
  background:var(--grad-hero); border-top:1px solid var(--line);
  border-bottom:1px solid var(--line); padding:64px 0; text-align:center;
}
.cta-strip h2{ margin-bottom:14px; }
.cta-strip p{ max-width:60ch; margin:0 auto 28px; color:var(--muted); }
.cta-strip .btns{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }

.site-footer{ background:var(--footer-bg); color:var(--dark-body); padding:56px 0 30px; font-size:.9rem; border-top:4px solid; border-image:var(--grad-accent) 1; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding-bottom:38px; border-bottom:1px solid var(--dark-line); }
.site-footer h4{ color:#fff; font-size:.78rem; letter-spacing:.13em; text-transform:uppercase; margin-bottom:16px; }
.site-footer ul{ list-style:none; margin:0; padding:0; }
.site-footer li{ margin-bottom:9px; }
.site-footer a{ color:var(--dark-body); }
.site-footer a:hover{ color:#fff; }
.footer-bottom{ padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.82rem; }

.eyebrow-on-dark{ color:var(--dark-label) !important; }
.mt-40{ margin-top:40px; }
.mt-56{ margin-top:56px; }
.max-75{ max-width:75ch; }

@media (max-width: 1000px){
  .nav{ display:none; }
  .menu-toggle{ display:block; position:absolute; right:0; top:12px; }
  .header-inner{ flex-direction:column; justify-content:center; padding:18px 0 14px; }
  .brand{ flex-direction:column; gap:8px; }
  .brand-logo{ width:76px; height:76px; object-position:center; }
  .brand-text{ white-space:normal; align-items:center; }
  .brand-name{ font-size:1.5rem; text-align:center; }
  .brand-sub{ font-size:.72rem; text-align:center; }
  .nav.open{
    display:flex; flex-direction:column; align-items:flex-start; gap:18px;
    position:absolute; top:100%; left:0; right:0;
    background:var(--paper); border-bottom:1px solid var(--line); padding:24px;
  }
  .header-phone{ display:none; }
  .hero-grid, .split, .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .split.reverse .split-media{ order:0; }
  .split img{ height:320px; }
  .hero-copy{ padding-bottom:0; }
  .hero-media img{ height:340px; border-radius:var(--radius); margin-bottom:56px; }
  .service{ grid-template-columns:1fr; gap:16px; }
  .service-meta{ position:static; }
  .gallery{ grid-template-columns:1fr 1fr; }
  .steps{ grid-template-columns:1fr 1fr; gap:24px; }
  .audience-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 620px){
  section{ padding:60px 0; }
  .hero{ padding-top:48px; }
  .gallery{ grid-template-columns:1fr; }
  .gallery img{ height:240px; }
  .steps{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .btn{ width:100%; text-align:center; }
  .hero-actions{ flex-direction:column; }
  .cta-strip .btns{ flex-direction:column; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
/* Testimonials */
.testimonials{ display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; margin-top:40px; }
.quote{ margin:0; background:var(--white); border:1px solid var(--line); border-top:3px solid var(--accent); border-radius:var(--radius); padding:30px 30px 24px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.quote p{ margin:0 0 20px; font-size:1rem; line-height:1.7; color:var(--ink); }
.quote footer{ margin-top:auto; display:flex; flex-direction:column; gap:2px; }
.quote footer strong{ font-family:var(--serif); font-size:1.1rem; color:var(--primary-dk); }
.quote footer span{ font-size:.85rem; color:var(--muted); }
@media (max-width: 800px){ .testimonials{ grid-template-columns:1fr; } }

/* Sticky call / get services buttons */
.sticky-cta{ position:fixed; right:20px; bottom:20px; z-index:90; display:flex; gap:10px; }
.sticky-cta .btn{ padding:13px 22px; box-shadow:var(--shadow-md); white-space:nowrap; }
@media (max-width: 620px){
  .sticky-cta{ left:0; right:0; bottom:0; gap:8px; padding:10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background:var(--paper); border-top:1px solid var(--line); box-shadow:0 -4px 16px rgba(6,71,131,.12); }
  .sticky-cta .btn{ flex:1; text-align:center; padding:14px 8px; font-size:.95rem; box-shadow:none; }
  body{ padding-bottom:76px; }
}
@media print{ .sticky-cta{ display:none; } }

/* FAQ */
.faq{ margin-top:28px; border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ cursor:pointer; list-style:none; padding:20px 44px 20px 0; position:relative; font-family:var(--serif); font-size:1.2rem; font-weight:600; color:var(--primary-dk); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; position:absolute; right:6px; top:50%; transform:translateY(-50%); font-family:var(--sans); font-size:1.6rem; font-weight:400; color:var(--accent-dk); transition:transform .2s ease; }
.faq details[open] summary::after{ content:"\2212"; }
.faq summary:hover{ color:var(--primary); }
.faq summary:focus-visible{ outline:2px solid var(--primary); outline-offset:2px; }
.faq details p{ margin:0 0 22px; max-width:64ch; line-height:1.7; }

.btns{ display:flex; flex-wrap:wrap; gap:14px; }

/* Legal / policy pages */
.legal{ max-width:820px; }
.legal h2{ margin-top:0; }
.legal h3{ margin:32px 0 10px; font-size:1.25rem; }
.legal p, .legal li{ line-height:1.75; }
.legal ul{ margin:0 0 1em; padding-left:1.3em; }
.legal li{ margin-bottom:10px; }
.legal-updated{ margin:14px 0 0; font-size:.9rem; color:var(--muted); }

/* Service icons */
.service-top{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.service-top .service-num{ margin-bottom:0; }
.service-icon{ width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:rgba(50,148,37,.12); color:var(--accent-dk); }
.service-icon svg{ width:28px; height:28px; }

/* Chatbot widget */
.ag-chatbot{ position:fixed; right:20px; bottom:96px; z-index:95; }
.ag-chat-toggle{
  width:58px; height:58px; border-radius:50%; border:none; cursor:pointer;
  background:var(--grad-accent); color:#fff; box-shadow:var(--shadow-md);
  display:grid; place-items:center; transition:transform .15s ease, box-shadow .15s ease;
}
.ag-chat-toggle:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.ag-chat-toggle svg{ width:26px; height:26px; }
.ag-chat-panel[hidden]{ display:none; }
.ag-chat-panel{
  position:absolute; right:0; bottom:72px; width:340px; max-width:calc(100vw - 40px);
  max-height:70vh; background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-lg); display:flex; flex-direction:column; overflow:hidden;
}
.ag-chat-head{
  background:var(--grad-primary); color:#fff; padding:14px 16px; font-family:var(--serif);
  font-weight:700; font-size:1.02rem; display:flex; align-items:center; justify-content:space-between;
}
.ag-chat-close{ background:none; border:none; color:#fff; font-size:1.7rem; line-height:1; cursor:pointer; padding:6px 10px; margin:-6px -8px -6px 0; }
.ag-chat-log{ padding:14px 14px 4px; overflow-y:auto; flex:1; min-height:160px; max-height:44vh; display:flex; flex-direction:column; gap:10px; }
.ag-msg{ font-size:.92rem; line-height:1.5; padding:10px 13px; border-radius:12px; max-width:88%; }
.ag-msg a{ color:inherit; text-decoration:underline; }
.ag-msg-bot{ background:var(--paper-2); color:var(--ink); align-self:flex-start; border-bottom-left-radius:3px; }
.ag-msg-user{ background:var(--primary); color:#fff; align-self:flex-end; border-bottom-right-radius:3px; }
.ag-chat-chips{ display:flex; flex-wrap:wrap; gap:6px; padding:10px 14px 0; }
.ag-chip{
  background:var(--paper-2); border:1px solid var(--line); color:var(--primary-dk);
  font-size:.78rem; font-weight:600; padding:6px 11px; border-radius:100px; cursor:pointer;
}
.ag-chip:hover{ border-color:var(--primary); }
.ag-chat-form{ display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--line); }
.ag-chat-input{
  flex:1; border:1px solid var(--line-dk); border-radius:100px; padding:9px 14px;
  font-family:var(--sans); font-size:.9rem; color:var(--ink);
}
.ag-chat-input:focus{ outline:2px solid var(--primary); outline-offset:1px; }
.ag-chat-send{
  width:38px; height:38px; border-radius:50%; border:none; background:var(--primary);
  color:#fff; display:grid; place-items:center; cursor:pointer; flex-shrink:0;
}
.ag-chat-send:hover{ background:var(--primary-dk); }
.ag-chat-send svg{ width:17px; height:17px; }
.ag-chat-note{ font-size:.72rem; color:var(--muted); padding:0 14px 12px; margin:6px 0 0; }

@media (max-width: 620px){
  .ag-chatbot{ right:16px; bottom:86px; }
  .ag-chat-panel{ width:calc(100vw - 32px); bottom:70px; }
}
