/* ==========================================================================
   Adams Gas — Service Clusters
   Branded design system. Built ON TOP of the Bricks theme tokens + the
   adams-gas-dynamic-landings `landing-styles.css` (ag-dir-*) language, so these
   SSR pages read identically to /gas/ landings and /areas-we-deliver/.
   RULE: consume the theme's CSS vars (--primary, --dark, --bg-body, …) with hex
   fallbacks. Do NOT invent a parallel colour palette.
   ========================================================================== */

.agsc-page {
    font-family: 'Lato', sans-serif;
    color: var(--text-body, #36414e);
    --agsc-wrap: 1120px;       /* layout only — not a colour */
    --agsc-peach: #fff6f2;
}
.agsc-page h1, .agsc-page h2, .agsc-page h3, .agsc-page h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark, #1a1a1a);
    letter-spacing: -0.02em;
}
.agsc-wrap { max-width: var(--agsc-wrap); margin: 0 auto; padding: 0 2rem; }

/* Eyebrow ----------------------------------------------------------------- */
.agsc-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary, #f1592a);
    margin: 0 0 0.6rem;
}

/* Buttons ----------------------------------------------------------------- */
.agsc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, color 0.2s, border-color 0.2s;
}
.agsc-btn--primary { background: var(--primary, #f1592a); color: #fff; }
.agsc-btn--primary:hover { background: var(--primary-dark, #d94a0a); color: #fff; transform: translateY(-1px); }
.agsc-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.agsc-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.agsc-btn--dark { background: var(--dark, #1a1a1a); color: #fff; }
.agsc-btn--dark:hover { background: #000; color: #fff; transform: translateY(-1px); }
.agsc-btn__arrow { font-size: 1.05em; line-height: 1; }

/* Hero -------------------------------------------------------------------- */
.agsc-hero {
    position: relative;
    background: var(--dark, #1a1a1a);
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.agsc-hero--image::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,22,28,0.86) 0%, rgba(20,22,28,0.64) 55%, rgba(20,22,28,0.45) 100%);
    pointer-events: none;
}
.agsc-hero:not(.agsc-hero--image)::before {
    content: '';
    position: absolute; top: -40%; right: -8%;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(241,89,42,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.agsc-hero__inner {
    position: relative; z-index: 1;
    max-width: var(--agsc-wrap); margin: 0 auto;
    padding: 1.25rem 2rem 3.25rem;
}
.agsc-hero__head { padding-top: 1.75rem; max-width: 680px; }
.agsc-hero h1 {
    font-size: clamp(2rem, 5vw, 3.05rem);
    font-weight: 800; line-height: 1.08;
    color: #fff; margin: 0.35rem 0 1rem;
}
.agsc-hero h1 span { color: var(--primary, #f1592a); }
.agsc-hero__intro {
    font-size: 1.12rem; line-height: 1.6;
    color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 0 1.6rem;
}
.agsc-hero__intro p { margin: 0 0 0.6rem; }
.agsc-hero__intro p:last-child { margin: 0; }
.agsc-hero__intro strong { color: #fff; }
.agsc-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Breadcrumbs inside the dark hero (light) */
.agsc-hero .ag-breadcrumbs ol,
.agsc-crumbs ol {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap;
    font-size: 0.82rem; line-height: 1.5;
    color: rgba(255,255,255,0.55);
}
.agsc-crumbs li { display: flex; align-items: center; }
.agsc-crumbs li:not(:last-child)::after { content: "\203A"; margin: 0 0.5rem; color: rgba(255,255,255,0.4); }
.agsc-crumbs a { color: rgba(255,255,255,0.8); text-decoration: none; }
.agsc-crumbs a:hover { color: #fff; }
.agsc-crumbs li:last-child { color: rgba(255,255,255,0.9); }

/* Sections ---------------------------------------------------------------- */
.agsc-section { padding: 3.25rem 0; }
.agsc-section--tint { background: var(--agsc-peach, #fff6f2); }
.agsc-section--gray { background: var(--bg-body, #f8f8f8); }
.agsc-section__head { max-width: 720px; margin: 0 0 1.75rem; }
.agsc-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.agsc-section h2 {
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 700; margin: 0 0 0.6rem; line-height: 1.15;
}
.agsc-section__lead { font-size: 1.05rem; line-height: 1.65; color: var(--text-body, #4a5562); margin: 0; }
.agsc-prose { font-size: 1.02rem; line-height: 1.75; color: var(--text-body, #3a4450); max-width: 760px; }
/* Section prose sits in a readable column; card grids / splits below still span full width. */
.agsc-section > .agsc-wrap > .agsc-prose { max-width: 820px; }
.agsc-prose p { margin: 0 0 1rem; }
.agsc-prose ul { line-height: 1.8; padding-left: 1.25rem; margin: 0 0 1rem; }
.agsc-prose li { margin: 0 0 0.35rem; }
.agsc-prose a { color: var(--primary, #f1592a); text-decoration: none; font-weight: 600; }
.agsc-prose a:hover { text-decoration: underline; }
.agsc-prose strong { color: var(--dark, #1a1a1a); }

/* Benefits band ----------------------------------------------------------- */
.agsc-benefits__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem 2.25rem;
}
.agsc-benefit__icon {
    width: 42px; height: 42px; color: var(--primary, #f1592a); margin-bottom: 0.85rem;
}
.agsc-benefit__icon svg { width: 100%; height: 100%; display: block; }
.agsc-benefit h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 0.45rem; }
.agsc-benefit p { font-size: 0.95rem; line-height: 1.6; color: var(--text-body, #4a5562); margin: 0; }

/* Branded card grid ------------------------------------------------------- */
.agsc-cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 1.1rem;
}
.agsc-card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--bricks-border-color, #e5e5e5);
    border-radius: 10px; overflow: hidden; text-decoration: none;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.agsc-card::after {
    content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
    background: var(--primary, #f1592a); transform: scaleY(0); transform-origin: bottom;
    transition: transform 0.25s ease; z-index: 2;
}
.agsc-card:hover { border-color: var(--primary, #f1592a); box-shadow: 0 10px 28px rgba(0,0,0,0.08); transform: translateY(-3px); }
.agsc-card:hover::after { transform: scaleY(1); }
.agsc-card__thumb { aspect-ratio: 16 / 9; background: #eee var(--thumb) center/cover no-repeat; }
.agsc-card__row {
    display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
    padding: 1rem 1.2rem;
}
.agsc-card__body { display: flex; flex-direction: column; gap: 0.15rem; }
.agsc-card__title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--dark, #1a1a1a); transition: color 0.2s; }
.agsc-card:hover .agsc-card__title { color: var(--primary, #f1592a); }
.agsc-card__meta { font-size: 0.84rem; color: #8a929c; }
.agsc-card__arrow {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(241,89,42,0.1); color: var(--primary, #f1592a);
    font-size: 1rem; transition: background 0.2s, color 0.2s;
}
.agsc-card:hover .agsc-card__arrow { background: var(--primary, #f1592a); color: #fff; }

/* CTA band ---------------------------------------------------------------- */
.agsc-cta-band { padding: 2.75rem 0; }
.agsc-cta-band--orange { background: var(--primary, #f1592a); }
.agsc-cta-band--dark { background: var(--dark, #1a1a1a); }
.agsc-cta-band__inner {
    max-width: var(--agsc-wrap); margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.agsc-cta-band__text { color: #fff; }
.agsc-cta-band__text h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 0.3rem; }
.agsc-cta-band__text p { color: rgba(255,255,255,0.9); margin: 0; font-size: 1rem; }
.agsc-cta-band--orange .agsc-btn { background: #fff; color: var(--primary, #f1592a); }
.agsc-cta-band--orange .agsc-btn:hover { background: var(--dark, #1a1a1a); color: #fff; }

/* Steps ------------------------------------------------------------------- */
.agsc-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; counter-reset: agsc-step; }
.agsc-step {
    position: relative; background: #fff; border: 1px solid var(--bricks-border-color, #e5e5e5);
    border-radius: 12px; padding: 1.6rem 1.5rem 1.5rem;
}
.agsc-step__num {
    counter-increment: agsc-step;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--primary, #f1592a); color: #fff;
    font-family: 'Poppins', sans-serif; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.9rem;
}
.agsc-step__num::before { content: counter(agsc-step); }
.agsc-step h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 0.4rem; }
.agsc-step p { font-size: 0.95rem; line-height: 1.6; color: var(--text-body, #4a5562); margin: 0; }

/* Comparison table -------------------------------------------------------- */
.agsc-compare { background: #fff; border: 1px solid var(--bricks-border-color, #e5e5e5); border-radius: 12px; overflow: hidden; }
.agsc-compare table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.agsc-compare th, .agsc-compare td { padding: 0.95rem 1.2rem; text-align: left; border-bottom: 1px solid #eef0f3; }
.agsc-compare thead th { font-family: 'Poppins', sans-serif; font-size: 0.92rem; color: var(--dark, #1a1a1a); background: #fafbfc; }
.agsc-compare thead th:nth-child(2) { color: var(--primary, #f1592a); }
.agsc-compare td:not(:first-child), .agsc-compare th:not(:first-child) { text-align: center; width: 22%; }
.agsc-compare tbody tr:last-child td { border-bottom: none; }
.agsc-compare__yes { color: var(--primary, #f1592a); font-weight: 700; }
.agsc-compare__no { color: #c2c8d0; font-weight: 700; }
.agsc-compare td:first-child { color: var(--text-body, #3a4450); }

/* Split feature ----------------------------------------------------------- */
.agsc-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem; align-items: center; }
.agsc-split--rev .agsc-split__media { order: -1; }
.agsc-split__media { aspect-ratio: 4 / 3; border-radius: 14px; background: #eee center/cover no-repeat; box-shadow: 0 14px 40px rgba(0,0,0,0.1); }
.agsc-split__text h2 { margin-top: 0; }

/* FAQ --------------------------------------------------------------------- */
.agsc-faq__list { max-width: 820px; border-top: 1px solid var(--bricks-border-color, #e5e5e5); }
.agsc-faq__item { border-bottom: 1px solid var(--bricks-border-color, #e5e5e5); }
.agsc-faq__item summary {
    cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--dark, #1a1a1a);
}
.agsc-faq__item summary::-webkit-details-marker { display: none; }
.agsc-faq__item summary::after {
    content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
    color: var(--primary, #f1592a); font-size: 1.5rem; font-weight: 400; line-height: 1;
}
.agsc-faq__item[open] summary::after { content: "\2013"; }
.agsc-faq__item > div { padding: 0 0 1.2rem; color: var(--text-body, #4a5562); line-height: 1.7; }
.agsc-faq__item > div p { margin: 0 0 0.6rem; }
.agsc-faq__item a { color: var(--primary, #f1592a); }

/* Stockist injection wrapper ---------------------------------------------- */
.agsc-stockists .ag-stockists-list { margin-top: 1rem; }

/* Closing "keep exploring" band ------------------------------------------- */
.agsc-funnel {
    display: inline-flex; align-items: center; gap: 0.6rem;
    max-width: 100%;
    background: #fff; border: 1px solid var(--bricks-border-color, #e5e5e5);
    border-left: 3px solid var(--primary, #f1592a);
    border-radius: 8px; padding: 0.7rem 1.1rem;
    font-size: 0.95rem; color: var(--text-body, #4a5562); text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.agsc-funnel strong { color: var(--dark, #1a1a1a); font-weight: 700; }
.agsc-funnel__arrow { color: var(--primary, #f1592a); transition: transform 0.2s; }
.agsc-funnel:hover { border-color: var(--primary, #f1592a); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.agsc-funnel:hover .agsc-funnel__arrow { transform: translateX(3px); }
.agsc-explore .agsc-section__head { margin: 1.75rem 0 1.25rem; }
.agsc-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.agsc-chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: #fff; border: 1px solid var(--bricks-border-color, #e5e5e5);
    border-radius: 999px; padding: 0.55rem 1.05rem;
    font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.92rem;
    color: var(--dark, #1a1a1a); text-decoration: none;
    transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.agsc-chip__arrow { color: var(--primary, #f1592a); transition: transform 0.2s; }
.agsc-chip:hover { border-color: var(--primary, #f1592a); color: var(--primary, #f1592a); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.agsc-chip:hover .agsc-chip__arrow { transform: translateX(2px); }

/* Homepage closing band (dark, photographic, funnels into the cluster hubs) - */
.agsc-homeband { position: relative; overflow: hidden; background: #14161c; padding: 4rem 0 4.25rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.agsc-homeband::before {
    content: ''; position: absolute; top: -32%; right: -6%; width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(241,89,42,0.20) 0%, transparent 70%); pointer-events: none;
}
.agsc-homeband__inner { position: relative; z-index: 1; max-width: var(--agsc-wrap, 1120px); margin: 0 auto; padding: 0 2rem; }
.agsc-homeband__head { max-width: 660px; margin-bottom: 2.1rem; }
.agsc-homeband .agsc-eyebrow { color: var(--primary, #f1592a); }
.agsc-homeband h2 {
    font-family: 'Poppins', sans-serif; color: #fff; font-weight: 800;
    font-size: clamp(1.85rem, 4vw, 2.65rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0.3rem 0 0.9rem;
}
.agsc-homeband h2 span { color: var(--primary, #f1592a); }
.agsc-homeband__head p { color: rgba(255,255,255,0.72); font-size: 1.08rem; line-height: 1.6; margin: 0; }
.agsc-homeband__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-bottom: 2.25rem; }
.agsc-hb-card {
    position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden;
    text-decoration: none; background: #222 var(--img) center/cover no-repeat;
    transition: transform 0.25s, box-shadow 0.25s;
}
.agsc-hb-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,28,0.05) 28%, rgba(20,22,28,0.88) 100%); transition: background 0.25s; }
.agsc-hb-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.15rem 1.15rem 1.2rem; }
.agsc-hb-card__meta { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary, #f1592a); margin-bottom: 0.3rem; }
.agsc-hb-card__title { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.agsc-hb-card__arrow { color: var(--primary, #f1592a); flex-shrink: 0; transition: transform 0.25s; }
.agsc-hb-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(0,0,0,0.45); }
.agsc-hb-card:hover .agsc-hb-card__shade { background: linear-gradient(180deg, rgba(20,22,28,0.1) 18%, rgba(241,89,42,0.42) 100%); }
.agsc-hb-card:hover .agsc-hb-card__arrow { transform: translateX(3px); }
.agsc-homeband__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 860px) { .agsc-homeband__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .agsc-homeband { padding: 2.75rem 0 3rem; } .agsc-hb-card__title { font-size: 0.95rem; } }

/* Hub augmentation block (appended to existing Bricks /service/ singles) --- */
.agsc-hub-cluster { background: var(--agsc-peach, #fff6f2); border-top: 1px solid var(--bricks-border-color, #e5e5e5); }
.agsc-hub-cluster__inner { max-width: var(--agsc-wrap); margin: 0 auto; padding: 3.25rem 2rem; }
.agsc-hub-cluster__inner > .agsc-eyebrow { margin-bottom: 0.5rem; }
.agsc-hub-cluster__inner h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); margin: 0 0 0.5rem; }
.agsc-hub-cluster__inner > p { color: var(--text-body, #4a5562); margin: 0 0 1.6rem; max-width: 640px; font-size: 1.05rem; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 860px) {
    .agsc-split__grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .agsc-split--rev .agsc-split__media { order: 0; }
    .agsc-cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .agsc-wrap, .agsc-hero__inner, .agsc-cta-band__inner, .agsc-hub-cluster__inner, .agsc-home__inner { padding-left: 1.25rem; padding-right: 1.25rem; }
    .agsc-section { padding: 2.4rem 0; }
    .agsc-hero__inner { padding-bottom: 2.5rem; }
    .agsc-hero h1 { font-size: 1.85rem; }
    .agsc-cards { grid-template-columns: 1fr; }
    .agsc-compare { font-size: 0.88rem; overflow-x: auto; }
    .agsc-hero__cta { width: 100%; }
    .agsc-hero__cta .agsc-btn { flex: 1; justify-content: center; }
}
