/*
 * EPODESIGN — original site stylesheet, unchanged in values.
 *
 * Every rule is scoped under .epod-scope so the plugin's generic class names
 * (.section, .card, .btn, .wrap) cannot collide with the active theme, and so
 * the theme's own header/footer are left completely alone. Colors, fonts,
 * Typography follows the live site (Montserrat 600 headings / 400 body) and is
 * driven entirely by the tokens below, so any size is a one-value change.
 *
 * The original .topbar / .site-header / .site-nav / .site-footer rules are
 * intentionally absent: the WordPress theme renders the header and footer.
 */

.epod-scope{
  --ink:#20242e;        /* charcoal headings */
  --ink-2:#2a2f3b;
  --red:#c8352e;        /* brand red */
  --red-d:#a02722;
  --green:#4a8f52;      /* secondary CTA */
  --paper:#ffffff;
  --paper-2:#f5f4f2;
  --text:#6e6d7a;
  --muted:#6e6d7a;
  --line:#e5e3df;
  --radius:6px;

  /* headings — matches the live site: Montserrat 600, 36px/36px, black */
  --head-font:"Montserrat",sans-serif;
  --head-weight:600;
  --head-color:#000000;
  --h2-size:36px;
  --h2-line:36px;

  /* body text — matches the live site: Montserrat 400, 16px/29px */
  --body-font:"Montserrat",sans-serif;
  --body-size:16px;
  --body-line:29px;

  /* one type scale for every element — no stray rem values anywhere */
  --fs-xs:14px;         /* breadcrumbs, "read more" links */
  --fs-sm:15px;         /* card copy */
  --fs-base:16px;       /* body, buttons, chips, FAQ questions */
  --fs-lg:17px;         /* lead paragraphs */
  --btn-size:16px;
  --btn-weight:600;
  --btn-pad:14px 28px;

  /* one spacing scale — every section uses these, nothing ad-hoc */
  --container:1140px;   /* single content boundary for the whole site */
  --reading:820px;      /* comfortable measure for long-form text */
  --gutter:20px;
  --sp-section:72px;    /* vertical rhythm between sections */
  --sp-hero:80px;
  --sp-gap:40px;        /* gap inside two-column rows */
  --sp-stack:1em;       /* space below a paragraph / list */

  font-family:var(--body-font);
  font-weight:400;
  color:var(--text);
  background:var(--paper);
  font-size:var(--body-size);
  line-height:var(--body-line);
}
.epod-scope *{margin:0;padding:0;box-sizing:border-box}
.epod-scope img{max-width:100%;display:block;height:auto}
.epod-scope a{color:var(--red);text-decoration:none}
.epod-scope a:hover{text-decoration:underline}
.epod-scope .wrap{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.epod-scope .narrow{max-width:var(--reading)}
.epod-scope h1,
.epod-scope h2,
.epod-scope h3,
.epod-scope h4{font-family:var(--head-font);font-weight:var(--head-weight);font-style:normal;color:var(--head-color);line-height:1.2;letter-spacing:0;text-transform:none}
/* h1 stays fluid so long city/service names don't overflow on phones */
.epod-scope h1{font-size:clamp(30px,4.4vw,46px);line-height:1.15}
.epod-scope h2{font-size:var(--h2-size);line-height:var(--h2-line);margin:0 0 .55em}
/* a heading that follows body copy needs breathing room above, not below */
.epod-scope .section p + h2,
.epod-scope .section ul + h2,
.epod-scope .split-text p + h2,
.epod-scope .split-text ul + h2{margin-top:1.5em}
.epod-scope h3{font-size:20px;line-height:1.3;margin:0 0 .4em}
.epod-scope .section p + h3,
.epod-scope .section ul + h3{margin-top:1.3em}
.epod-scope h4{font-size:16px}

@media(max-width:640px){
  /* 36px headings need to step down on small screens */
  .epod-scope h2{font-size:28px;line-height:1.2}
}

/* hero */
.epod-scope .hero{background:linear-gradient(150deg,var(--ink) 0%,var(--ink-2) 100%);color:#c9cdd6;padding:var(--sp-hero) 0}
.epod-scope .hero h1{color:#fff;margin-bottom:.4em}
.epod-scope .hero-sub{max-width:var(--reading);font-size:var(--fs-base);line-height:var(--body-line);margin-bottom:28px}
.epod-scope .crumbs{font-size:var(--fs-xs);line-height:1.6;margin-bottom:18px;color:#8b909b;text-transform:uppercase;letter-spacing:.05em}
.epod-scope .crumbs a{color:#8b909b}
.epod-scope .crumbs span{color:#c9cdd6}

/* buttons */
.epod-scope .section .btn{margin-top:8px}
.epod-scope .btn{display:inline-block;background:var(--red);color:#fff;padding:var(--btn-pad);border-radius:var(--radius);font-family:var(--body-font);font-weight:var(--btn-weight);font-size:var(--btn-size);line-height:1.4;text-align:center;transition:.2s}
.epod-scope .btn:hover{background:var(--red-d);text-decoration:none;color:#fff}
.epod-scope .btn.ghost{background:transparent;border:2px solid #fff;color:#fff}
.epod-scope .btn.ghost:hover{background:#fff;color:var(--ink)}
.epod-scope .btn.green{background:var(--green)}
.epod-scope .btn.green:hover{background:#3d7844}

/* sections */
.epod-scope .section{padding:var(--sp-section) 0}
/* two same-coloured sections in a row would otherwise read as one huge gap */
.epod-scope .section + .section:not(.alt){padding-top:0}
/* nothing may leave a trailing gap at the end of a section */
.epod-scope .section > .wrap > *:last-child,
.epod-scope .split-text > *:last-child,
.epod-scope .faq-a > *:last-child{margin-bottom:0}
.epod-scope .section.alt{background:var(--paper-2)}
.epod-scope .section p{margin-bottom:var(--sp-stack);max-width:var(--reading)}
.epod-scope .section ul{margin:0 0 var(--sp-stack) 1.15em;max-width:var(--reading)}
.epod-scope .section li{margin-bottom:.4em}
.epod-scope .section li:last-child{margin-bottom:0}
.epod-scope .lead{font-size:var(--fs-lg);line-height:30px;color:var(--muted)}

/* checklist — brand signature */
.epod-scope .checks,
.epod-scope .section ul.checks{list-style:none;margin:0 0 var(--sp-stack);padding-left:0}
.epod-scope .checks li{padding-left:28px;position:relative;margin-bottom:.5em}
.epod-scope .checks li::before{content:"\2713";position:absolute;left:0;top:0;line-height:inherit;color:var(--red);font-weight:700}

/* cards */
.epod-scope .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.epod-scope .grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.epod-scope .card{background:#fff;border:1px solid var(--line);border-top:3px solid var(--red);border-radius:var(--radius);padding:26px 24px;height:100%;color:var(--text);transition:.2s;display:flex;flex-direction:column}
.epod-scope .card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(32,36,46,.12);text-decoration:none}
.epod-scope .card p{color:var(--muted);font-size:var(--fs-sm);line-height:26px;flex:1;max-width:none;margin-bottom:0}
.epod-scope .card-more{color:var(--red);font-weight:600;font-size:var(--fs-xs);line-height:1.6;margin-top:14px}

/* chips (areas) */
.epod-scope .chips{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}
.epod-scope .chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 22px;font-weight:600;color:var(--ink);font-size:var(--fs-base);line-height:1.5}
.epod-scope .chip:hover{border-color:var(--red);color:var(--red);text-decoration:none}

/* FAQ */
.epod-scope .faq-item{border:1px solid var(--line);border-radius:var(--radius);margin-bottom:10px;background:#fff}
.epod-scope .faq-item summary{cursor:pointer;padding:16px 18px;padding-right:40px;font-size:var(--fs-base);line-height:1.5;font-weight:600;color:var(--ink);list-style:none;position:relative}
.epod-scope .faq-item summary::-webkit-details-marker{display:none}
.epod-scope .faq-item summary::after{content:"+";position:absolute;right:18px;top:12px;font-size:22px;line-height:1.4;color:var(--red)}
.epod-scope .faq-item[open] summary::after{content:"\2013"}
.epod-scope .faq-a{padding:0 18px 16px;font-size:var(--fs-base);line-height:var(--body-line)}

/* CTA */
.epod-scope .cta{background:var(--red);color:#fff;padding:var(--sp-section) 0}
.epod-scope .cta h2{color:#fff}
.epod-scope .cta p{max-width:var(--reading);margin-bottom:0;font-size:var(--fs-base);line-height:var(--body-line);opacity:.95}
.epod-scope .cta-in{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.epod-scope .cta-actions{display:flex;gap:14px;flex-wrap:wrap}
.epod-scope .cta .btn{background:#fff;color:var(--red)}
.epod-scope .cta .btn:hover{background:var(--ink);color:#fff}
.epod-scope .cta .btn.ghost{background:transparent;border:2px solid #fff;color:#fff}
.epod-scope .cta .btn.ghost:hover{background:#fff;color:var(--red)}

/* two-col text/media */
.epod-scope .split{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-gap);align-items:start}
/* a row whose media column was removed collapses to one readable column
   instead of leaving half the row blank */
.epod-scope .split > :only-child{grid-column:1 / -1;max-width:var(--reading)}
.epod-scope .split-text{min-width:0}
.epod-scope .split-media{min-width:0}
.epod-scope .epod-figure{margin:0;border-radius:var(--radius);overflow:hidden}
.epod-scope .epod-figure img{width:100%}
/* image on the left: swap the visual order without touching the DOM order,
   so the heading still comes first for screen readers and on mobile */
.epod-scope .split--flip .split-text{order:2}
.epod-scope .split--flip .split-media{order:1}
.epod-scope .split-media img{width:100%;height:auto;max-height:420px;object-fit:cover;border-radius:var(--radius)}

/* link columns (Kur dirbame widget) */
.epod-scope .epod-linkcols{display:grid;grid-template-columns:1fr 1fr;gap:22px 44px;margin-top:22px}
.epod-scope .epod-linkcol h3{margin-bottom:12px}
.epod-scope .epod-linkcol ul.checks{margin:0}
.epod-scope .epod-linkcol li{margin-bottom:.55em}

/* NAP / contact */
.epod-scope .nap-box{background:#fff;border:1px solid var(--line);border-left:4px solid var(--red);border-radius:var(--radius);padding:24px;margin-bottom:22px}
.epod-scope .nap-box li{list-style:none;margin-bottom:.5em}

/* reveal */
.epod-scope .rv{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.epod-scope .rv.on{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.epod-scope .rv{opacity:1;transform:none;transition:none}}

@media(max-width:1024px){
  .epod-scope{--sp-section:56px;--sp-hero:64px;--sp-gap:32px}
  .epod-scope .grid-3{grid-template-columns:1fr 1fr}
  /* tablet and below: single column, text first, image after */
  .epod-scope .split{grid-template-columns:1fr}
  .epod-scope .split--flip .split-text,
  .epod-scope .split--flip .split-media{order:initial}
  .epod-scope .split-media img{max-height:340px}
}
@media(max-width:640px){
  .epod-scope{--sp-section:44px;--sp-hero:48px;--gutter:18px}
  .epod-scope .grid-3,
  .epod-scope .grid-2,
  .epod-scope .epod-linkcols{grid-template-columns:1fr}
  .epod-scope .split-media img{max-height:260px}
  /* full-width buttons read better than a stranded inline pill */
  .epod-scope .cta-actions .btn{width:100%}
  .epod-scope .cta-in{gap:20px}
}

/* nothing in the plugin may ever push the page sideways */
.epod-scope{overflow-x:clip}
.epod-scope img,
.epod-scope table,
.epod-scope pre{max-width:100%}
