/*
Theme Name: SitePilot Earn Your Body v2.0
Theme URI: https://earnyourbodyonline.com/
Author: SitePilot
Description: Lightweight custom theme for Earn Your Body. Built to style the WordPress frontend and WooCommerce while leaving WooCommerce and payment gateway logic untouched.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: sitepilot-earnyourbody
*/

:root {
  --eyb-navy: #17283c;
  --eyb-navy-deep: #101d2c;
  --eyb-green: #08ef88;
  --eyb-green-dark: #005c48;
  --eyb-green-header: rgba(0, 91, 70, .88);
  --eyb-white: #ffffff;
  --eyb-muted: #a9b3bf;
  --eyb-line: rgba(255,255,255,.12);
  --eyb-card: #1b2d43;
  --eyb-max: 1240px;
  --eyb-radius: 10px;
  --eyb-header-height: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--eyb-navy);
  color: var(--eyb-white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--eyb-green); }
button, input, select, textarea { font: inherit; }

.eyb-container { width: min(calc(100% - 40px), var(--eyb-max)); margin-inline: auto; }
.eyb-section { padding: 92px 0; position: relative; }
.eyb-eyebrow { margin: 0 0 18px; color: var(--eyb-green); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.eyb-title { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.02em; }
.eyb-copy { color: #f3f6f9; font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 760px; }
.eyb-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 4px;
  background: var(--eyb-green) !important;
  color: #06170f !important;
  font-weight: 700;
  transition: transform .2s ease, filter .2s ease;
  cursor: pointer;
}
.eyb-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { transform: translateY(-1px); filter: brightness(.94); }

/* Header — one consistent size/layout on Home, content pages and WooCommerce */
.site-header {
  position: relative;
  z-index: 1000;
  height: var(--eyb-header-height);
  min-height: var(--eyb-header-height);
  display: flex;
  align-items: center;
  background: #075b49;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Home uses the exact same in-flow header as every other page. */
body.home .site-header {
  position: relative;
  inset: auto;
  height: var(--eyb-header-height);
  min-height: var(--eyb-header-height);
  background: #075b49;
}
.eyb-header-inner {
  height: var(--eyb-header-height);
  min-height: var(--eyb-header-height);
  display: grid;
  grid-template-columns: 320px 1fr auto;
  gap: 32px;
  align-items: center;
}
.site-branding img { display: block; width: min(100%, 290px); max-height: 64px; object-fit: contain; object-position: left center; }
.site-branding .eyb-text-logo { font-size: 1.7rem; letter-spacing: .18em; font-weight: 300; }
.eyb-text-logo strong { font-weight: 800; letter-spacing: .08em; }
.primary-nav { justify-self: center; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 34px; padding: 0; margin: 0; }
.primary-nav a { font-weight: 600; font-size: .98rem; position: relative; }
.primary-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-8px; height:2px; background:var(--eyb-green); transition:right .2s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { right:0; }
.eyb-header-actions { display:flex; align-items:center; gap:14px; }
.eyb-member-login {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px;
  padding:0 16px; border:1px solid rgba(0,255,201,.72); color:#fff;
  font-size:.82rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  transition:background .2s ease,color .2s ease,border-color .2s ease; white-space:nowrap;
}
.eyb-member-login:hover { background:var(--eyb-green); color:#07170f; border-color:var(--eyb-green); }
.eyb-member-login .label-short { display:none; }

.eyb-cart-link { width:44px; height:44px; border:1px solid rgba(0,255,201,.7); display:grid; place-items:center; position:relative; color:#17d8c0; }
.eyb-cart-link svg { width:22px; height:22px; }
.eyb-cart-count { position:absolute; right:-7px; top:-8px; min-width:20px; height:20px; padding:0 5px; display:grid; place-items:center; background:#0ebcad; color:#051614; border-radius:20px; font-size:.72rem; font-weight:800; }
.eyb-menu-toggle { display:none; width:44px; height:44px; border:1px solid rgba(255,255,255,.25); background:transparent; color:#fff; border-radius:4px; cursor:pointer; }
.eyb-menu-toggle span, .eyb-menu-toggle::before, .eyb-menu-toggle::after { content:""; display:block; width:22px; height:2px; background:currentColor; margin:5px auto; }

/* Hero */
.eyb-hero { min-height: 810px; display:flex; align-items:center; background-size:cover; background-position:center; position:relative; overflow:hidden; }
.eyb-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(9,19,31,.90) 0%, rgba(10,23,37,.66) 48%, rgba(10,22,35,.24) 100%); }
.eyb-hero::after { content:""; position:absolute; inset:auto 0 0; height:170px; background:linear-gradient(transparent, rgba(10,22,35,.35)); }
.eyb-hero-content { position:relative; z-index:2; max-width:720px; padding-top:0; }
.eyb-hero h1 { margin:0 0 22px; font-size:clamp(3rem, 5.5vw, 5.3rem); line-height:1.02; letter-spacing:-.03em; }
.eyb-hero p { font-size:clamp(1.05rem, 1.7vw, 1.38rem); max-width:690px; margin:0 0 36px; }

/* Trust strip */
.eyb-trust { background:var(--eyb-navy-deep); padding:0 0 14px; }
.eyb-trust-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:50px; transform:translateY(-34px); position:relative; z-index:3; }
.eyb-trust-card { min-height:128px; display:flex; align-items:center; gap:22px; padding:25px 28px; background:#182a3f; border:1px solid rgba(8,239,136,.35); box-shadow:0 0 14px rgba(8,239,136,.32); }
.eyb-trust-icon { flex:0 0 66px; width:66px; height:66px; border-radius:50%; background:var(--eyb-green); color:#fff; display:grid; place-items:center; font-weight:900; font-size:1.4rem; }
.eyb-trust-card strong { display:block; font-size:clamp(1.15rem,1.7vw,1.55rem); line-height:1.2; }

/* Steph */
.eyb-steph { background:var(--eyb-navy); }
.eyb-steph-intro { max-width:970px; }
.eyb-steph-grid { display:grid; grid-template-columns:minmax(300px,430px) 1fr; align-items:center; gap:80px; margin-top:62px; }
.eyb-steph-photo { border-radius:8px; overflow:hidden; background:#fff; min-height:440px; display:grid; place-items:end center; }
.eyb-steph-photo img { width:100%; height:100%; max-height:590px; object-fit:cover; object-position:center top; }
.eyb-steph-panel { padding:36px 0; }
.eyb-steph-panel h3 { margin:0 0 8px; font-size:clamp(2rem,3vw,3rem); }
.eyb-steph-role { color:var(--eyb-green); font-weight:700; margin-bottom:24px; }
.eyb-steph-facts { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px 30px; padding:0; margin:28px 0 34px; list-style:none; }
.eyb-steph-facts li::before { content:"✓"; color:var(--eyb-green); font-weight:900; margin-right:10px; }

/* Home team section — Stephanie + Sindi */
.eyb-team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; margin-top:52px; align-items:stretch; }
.eyb-team-card { display:grid; grid-template-columns:minmax(180px,.78fr) minmax(0,1.22fr); min-height:430px; overflow:hidden; background:#102033; border:1px solid rgba(255,255,255,.10); border-radius:8px; box-shadow:0 18px 48px rgba(0,0,0,.18); }
.eyb-team-card-photo { min-height:430px; background:#fff; overflow:hidden; }
.eyb-team-card-photo img { width:100%; height:100%; display:block; object-fit:cover; object-position:center top; }
.eyb-team-card-body { padding:34px 30px; display:flex; flex-direction:column; align-items:flex-start; }
.eyb-team-card h3 { margin:0 0 7px; font-size:clamp(1.9rem,2.6vw,2.6rem); line-height:1.05; }
.eyb-team-card .eyb-steph-role { margin-bottom:18px; }
.eyb-team-card .eyb-copy { margin-bottom:18px; }
.eyb-team-card .eyb-steph-facts { width:100%; margin:10px 0 28px; grid-template-columns:1fr; gap:10px; }
.eyb-team-card .eyb-btn { margin-top:auto; }

/* Virtual gym */
.eyb-virtual { background:linear-gradient(90deg, rgba(17,35,54,.94), rgba(23,40,60,.90)); overflow:hidden; }
.eyb-virtual::before { content:""; position:absolute; inset:0; opacity:.16; background:radial-gradient(circle at 15% 30%, var(--eyb-green), transparent 34%), radial-gradient(circle at 82% 70%, #fff, transparent 26%); }
.eyb-virtual .eyb-container { position:relative; z-index:2; }
.eyb-feature-row { display:grid; grid-template-columns:220px repeat(3,1fr); gap:26px; align-items:start; padding:26px 10px; border-bottom:1px solid rgba(255,255,255,.5); }
.eyb-feature-row:last-child { border-bottom:0; }
.eyb-feature-label { color:var(--eyb-green); font-size:1.35rem; font-weight:800; line-height:1.2; }
.eyb-feature-col { display:grid; gap:12px; }
.eyb-feature-col span::before { content:"✓"; color:var(--eyb-green); margin-right:9px; font-weight:900; }

/* Product promo sections */
.eyb-promo { background:var(--eyb-navy-deep); }
.eyb-promo-alt { background:var(--eyb-navy); }
.eyb-promo-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.eyb-product-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.eyb-product-tile { background:#fff; min-height:235px; padding:20px; border-radius:7px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.eyb-product-tile img { max-height:210px; width:auto; object-fit:contain; transition:transform .25s ease; }
.eyb-product-tile:hover img { transform:scale(1.035); }
.eyb-check-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 34px; margin:32px 0 36px; }
.eyb-check-grid span::before { content:"✓"; color:var(--eyb-green); font-weight:900; margin-right:9px; }

/* Footer CTA - shared across every page, including WooCommerce */
.eyb-footer-cta {
  min-height: 430px;
  padding: 96px 0 86px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #07101b;
  background-image: url("assets/images/footer-performance.webp") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center 42% !important;
}
.eyb-footer-cta-overlay { position:absolute; inset:0; background:rgba(17,38,59,.48); }
.eyb-footer-cta::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(11,27,43,.28),rgba(23,40,60,.40) 50%,rgba(11,27,43,.28)); }
.eyb-footer-cta-inner { position:relative; z-index:2; }
.eyb-footer-cta .eyb-eyebrow { margin-bottom:12px; }
.eyb-footer-cta h2 { font-size:clamp(2.15rem,4.2vw,3.65rem); margin:0 0 14px; text-shadow:0 2px 18px rgba(0,0,0,.28); }
.eyb-footer-cta p { margin:0 0 34px; font-size:clamp(1rem,1.5vw,1.25rem); }
.site-footer { background:var(--eyb-navy); border-top:1px solid var(--eyb-line); }
.eyb-footer-inner { min-height:150px; display:grid; grid-template-columns:280px 1fr 240px; align-items:center; gap:30px; }
.eyb-footer-logo img { max-width:240px; max-height:86px; object-fit:contain; object-position:left center; }
.eyb-footer-copy { text-align:center; font-size:.92rem; }
.eyb-footer-copy p { margin:4px 0; }
.eyb-socials { display:flex; justify-content:flex-end; gap:16px; }
.eyb-socials a { width:38px; height:38px; border:1px solid rgba(255,255,255,.18); border-radius:50%; display:grid; place-items:center; font-weight:800; }

/* Generic pages */
.eyb-page-shell, .eyb-shop-shell { min-height:60vh; padding:72px 0 100px; }
.eyb-page-shell h1, .eyb-shop-shell h1 { font-size:clamp(2.4rem,5vw,4.4rem); margin:0 0 42px; }
.entry-content { color:#fff; }
.entry-content a { color:var(--eyb-green); }

/* WooCommerce - presentation only. No checkout or payment logic is altered. */
.woocommerce, .woocommerce-page { color:#fff; }
.woocommerce .woocommerce-breadcrumb { color:#8995a4; }
.woocommerce .woocommerce-breadcrumb a { color:#b8c0c9; }
.woocommerce .woocommerce-result-count { color:#fff; }
.woocommerce .woocommerce-ordering select { background:#17283c; color:#fff; border:1px solid rgba(255,255,255,.18); padding:10px 36px 10px 12px; border-radius:4px; }
.woocommerce ul.products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display:none; }
.woocommerce ul.products li.product { width:auto !important; margin:0 !important; float:none !important; text-align:center; }
.woocommerce ul.products li.product a img { margin:0 0 16px !important; background:#fff; aspect-ratio:1/1; object-fit:contain; padding:16px; }
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title { color:#fff; font-size:1rem; font-weight:800; line-height:1.35; }
.woocommerce ul.products li.product .price { color:#fff !important; font-weight:800; }
.woocommerce ul.products li.product .button { margin-top:12px; width:80%; }
.woocommerce span.onsale { background:var(--eyb-green); color:#07170f; min-width:52px; min-height:52px; line-height:52px; }
.woocommerce div.product { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:52px; }
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product div.summary { width:auto !important; float:none !important; }
.woocommerce div.product .woocommerce-product-gallery__wrapper { background:#fff; }
.woocommerce div.product .product_title { font-size:clamp(2rem,4vw,3.4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color:#fff; font-weight:900; font-size:1.5rem; }
.woocommerce div.product form.cart .variations select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single { background:#fff; color:#17283c; border:1px solid #d9dde2; min-height:46px; border-radius:3px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color:#17283c; line-height:44px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height:44px; }
.woocommerce div.product .product_meta { border-top:1px solid var(--eyb-line); padding-top:18px; color:#fff; }
.woocommerce-tabs, .related.products, .upsells.products { grid-column:1/-1; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color:var(--eyb-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background:#22364d; border-color:var(--eyb-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color:#fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background:var(--eyb-green); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color:#07170f; }
.woocommerce table.shop_table { border-color:var(--eyb-line); color:#fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color:var(--eyb-line); }
.woocommerce-cart table.cart img { width:90px; background:#fff; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { background:#1b2d43; padding:28px; border:1px solid var(--eyb-line); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { background:#fff; color:#17283c; border-top-color:var(--eyb-green); }
.woocommerce-info::before, .woocommerce-message::before { color:#00a863; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color:var(--eyb-line); }
.woocommerce-checkout #payment { background:#fff; color:#17283c; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color:#d7dce1; }
.woocommerce-checkout #payment div.payment_box { background:#eef2f4; color:#17283c; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color:#eef2f4; }
.woocommerce nav.woocommerce-pagination ul { border-color:var(--eyb-line); }
.woocommerce nav.woocommerce-pagination ul li { border-right-color:var(--eyb-line); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { color:#fff; background:#1b2d43; }
.woocommerce nav.woocommerce-pagination ul li span.current { background:var(--eyb-green); color:#07170f; }

/* Elementor compatibility while legacy pages are still being migrated */
.elementor-page .eyb-page-shell { padding-top:0; padding-bottom:0; }
.elementor-page .eyb-page-shell > .eyb-container { width:100%; max-width:none; }


/* Premium internal page layouts */
.eyb-inner-page { background:var(--eyb-navy); }
.eyb-inner-hero { padding:92px 0 84px; background:linear-gradient(135deg,#09121e,#111e2d 55%,#17283c); border-bottom:1px solid var(--eyb-line); }
.eyb-inner-hero .eyb-container { max-width:1050px; }
.eyb-inner-hero h1 { margin:0 0 18px; font-size:clamp(3rem,6vw,5.6rem); line-height:.98; letter-spacing:-.04em; }
.eyb-inner-lead { max-width:820px; margin:0; color:#e8edf2; font-size:clamp(1.05rem,1.7vw,1.35rem); }
.eyb-about-intro-grid { display:grid; grid-template-columns:minmax(280px,420px) 1fr; gap:78px; align-items:start; }
.eyb-about-photo { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 20px 55px rgba(0,0,0,.24); }
.eyb-about-photo img { width:100%; display:block; object-fit:cover; }
.eyb-about-story > p:not(.eyb-eyebrow) { color:#edf1f5; font-size:1.04rem; }
.eyb-quote-card { margin-top:34px; padding:28px 30px; border-left:3px solid var(--eyb-green); background:#102033; color:#fff; font-size:1.13rem; font-weight:700; }
.eyb-about-values { background:var(--eyb-navy-deep); }
.eyb-value-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
.eyb-value-card { padding:34px; border:1px solid rgba(8,239,136,.22); background:#172a40; min-height:250px; }
.eyb-value-card > span { color:var(--eyb-green); font-size:.82rem; font-weight:900; letter-spacing:.12em; }
.eyb-value-card h3 { margin:14px 0 12px; font-size:1.55rem; }
.eyb-value-card p { color:#dce3e9; margin:0; }
.eyb-about-offer { background:linear-gradient(135deg,#162a40,#102033); }
.eyb-two-col-copy { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:start; }
.eyb-two-col-copy .eyb-btn { margin-top:20px; }

.eyb-coach-hero { background:linear-gradient(135deg,#08111c,#0e1c2a 58%,#0a5b49); }
.eyb-coach-profile { display:grid; grid-template-columns:minmax(300px,460px) 1fr; gap:78px; align-items:center; }
.eyb-coach-image-wrap { position:relative; background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 24px 65px rgba(0,0,0,.28); }
.eyb-coach-image-wrap img { width:100%; display:block; }
.eyb-coach-image-label { position:absolute; left:0; right:0; bottom:0; padding:24px 26px; background:linear-gradient(transparent,rgba(7,19,30,.95)); display:grid; gap:2px; }
.eyb-coach-image-label strong { font-size:1.45rem; }
.eyb-coach-image-label span { color:var(--eyb-green); font-size:.95rem; }
.eyb-coach-content .eyb-copy { margin-bottom:18px; }
.eyb-coach-profile + .eyb-coach-profile { margin-top:82px; padding-top:82px; border-top:1px solid var(--eyb-line); }
.eyb-coach-profile-reverse .eyb-coach-image-wrap { order:2; }
.eyb-coach-profile-reverse .eyb-coach-content { order:1; }
.eyb-coach-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:34px 0; }
.eyb-coach-stats > div { padding:20px; background:#102033; border:1px solid var(--eyb-line); }
.eyb-coach-stats strong { display:block; color:var(--eyb-green); font-size:1.65rem; line-height:1; margin-bottom:8px; }
.eyb-coach-stats span { color:#dce3e9; font-size:.88rem; }
.eyb-coaching-focus { background:var(--eyb-navy-deep); }
.eyb-focus-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:42px; }
.eyb-focus-grid article { padding:30px; background:#172a40; border:1px solid rgba(255,255,255,.08); }
.eyb-focus-grid article > span { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:var(--eyb-green); color:#06170f; font-weight:900; }
.eyb-focus-grid h3 { margin:18px 0 10px; font-size:1.35rem; }
.eyb-focus-grid p { margin:0; color:#dce3e9; }


@media (max-width: 1050px) {
  .eyb-trust-grid { gap:18px; }
  .eyb-promo-grid { gap:45px; }
  .eyb-about-intro-grid, .eyb-coach-profile { gap:48px; }
  .woocommerce ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* Switch to the compact menu before the desktop header becomes crowded. */
@media (max-width: 1100px) {
  .eyb-header-inner { grid-template-columns:1fr auto; gap:20px; }
  .site-branding img { max-width:240px; max-height:64px; }
  .primary-nav { position:absolute; top:var(--eyb-header-height); left:0; right:0; padding:18px 20px 26px; background:#075b49; display:none; box-shadow:0 18px 36px rgba(0,0,0,.22); }
  .primary-nav.is-open { display:block; }
  .primary-nav ul { display:grid; gap:0; }
  .primary-nav li { border-bottom:1px solid rgba(255,255,255,.1); }
  .primary-nav li:last-child { border-bottom:0; }
  .primary-nav a { display:block; padding:14px 4px; }
  .eyb-menu-toggle { display:block; }
  .eyb-header-actions { grid-column:2; grid-row:1; }
}

@media (max-width: 820px) {
  .eyb-container { width:min(calc(100% - 30px), var(--eyb-max)); }
  .site-branding img { max-width:220px; }
  .eyb-hero { min-height:720px; background-position:60% center; }
  .eyb-hero-content { padding-top:0; max-width:620px; }
  .eyb-trust-grid { grid-template-columns:1fr; transform:translateY(-24px); }
  .eyb-trust-card { min-height:100px; }
  .eyb-steph-grid, .eyb-promo-grid, .eyb-about-intro-grid, .eyb-coach-profile, .eyb-two-col-copy { grid-template-columns:1fr; gap:44px; }
  .eyb-team-grid { grid-template-columns:1fr; }
  .eyb-team-card { grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr); }
  .eyb-coach-profile-reverse .eyb-coach-image-wrap, .eyb-coach-profile-reverse .eyb-coach-content { order:initial; }
  .eyb-about-photo, .eyb-coach-image-wrap { max-width:520px; margin-inline:auto; }
  .eyb-value-grid { grid-template-columns:1fr; }
  .eyb-footer-cta { min-height:390px; background-position:58% center; }
  .eyb-steph-photo { max-width:500px; }
  .eyb-feature-row { grid-template-columns:1fr; gap:14px; }
  .eyb-feature-col { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .eyb-footer-inner { grid-template-columns:1fr; text-align:center; padding:45px 0; }
  .eyb-footer-logo img { object-position:center; }
  .eyb-socials { justify-content:center; }
  .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .woocommerce div.product { grid-template-columns:1fr; }
}

@media (max-width: 520px) {
  .eyb-section { padding:66px 0; }
  .eyb-hero { min-height:690px; background-position:64% center; }
  .eyb-hero::before { background:linear-gradient(90deg, rgba(8,19,31,.94), rgba(8,19,31,.72)); }
  .eyb-hero h1 { font-size:clamp(2.65rem,13vw,4rem); }
  .eyb-trust-icon { flex-basis:54px; width:54px; height:54px; }
  .eyb-steph-facts, .eyb-check-grid, .eyb-feature-col, .eyb-coach-stats, .eyb-focus-grid { grid-template-columns:1fr; }
  .eyb-team-card { grid-template-columns:1fr; }
  .eyb-team-card-photo { min-height:0; aspect-ratio:4/5; }
  .eyb-team-card-body { padding:28px 24px; }
  .eyb-inner-hero { padding:66px 0 58px; }
  .eyb-footer-cta { min-height:360px; padding:70px 0; background-position:62% center; }
  .eyb-product-mosaic { gap:10px; }
  .eyb-product-tile { min-height:170px; padding:12px; }
  .woocommerce ul.products { grid-template-columns:1fr 1fr; gap:24px 10px; }
  .woocommerce ul.products li.product .button { width:100%; padding-inline:10px; }
  .eyb-cart-link { width:40px; height:40px; }
}


/* Services page — custom theme layout */
.eyb-services-page { background: var(--eyb-navy); }
.eyb-services-hero { background:linear-gradient(135deg,#09121e,#111e2d 55%,#17283c); }
.eyb-services-intro { max-width: 840px; }
.eyb-services-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:44px;
}
.eyb-service-card {
  overflow:hidden;
  background:#13263b;
  border:1px solid rgba(8,239,136,.20);
  border-radius:8px;
  box-shadow:0 18px 46px rgba(0,0,0,.16);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.eyb-service-card:hover {
  transform:translateY(-4px);
  border-color:rgba(8,239,136,.62);
  box-shadow:0 22px 58px rgba(0,0,0,.24);
}
.eyb-service-card-media {
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#09131f;
}
.eyb-service-card-media img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.eyb-service-card:hover .eyb-service-card-media img { transform:scale(1.035); }
.eyb-service-card-body { padding:22px 24px 24px; }
.eyb-service-card-number {
  display:block;
  margin-bottom:10px;
  color:var(--eyb-green);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.12em;
}
.eyb-service-card h3 { margin:0; font-size:1.25rem; line-height:1.25; }
.eyb-services-closing { background:var(--eyb-navy-deep); }
.eyb-services-closing-inner {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:70px;
  align-items:center;
}
.eyb-services-closing .eyb-copy { margin-bottom:24px; }

@media (max-width: 1050px) {
  .eyb-services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .eyb-services-closing-inner { grid-template-columns:1fr; gap:28px; }
}
@media (max-width: 560px) {
  .eyb-services-grid { grid-template-columns:1fr; }
}

/* Contact page — matches the premium About / Services visual system */
.eyb-contact-hero {
  background:
    radial-gradient(circle at 82% 25%, rgba(8,239,136,.10), transparent 26%),
    linear-gradient(135deg,#09121e,#111e2d 58%,#13283a);
}
.eyb-contact-main { background:var(--eyb-navy); }
.eyb-contact-grid {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(440px,1.15fr);
  gap:84px;
  align-items:start;
}
.eyb-contact-details { padding-top:16px; }
.eyb-contact-details .eyb-title { max-width:520px; }
.eyb-contact-list { display:grid; gap:16px; margin-top:42px; }
.eyb-contact-item {
  display:flex;
  align-items:center;
  gap:18px;
  min-height:92px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.10);
  background:#102033;
  transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
a.eyb-contact-item:hover {
  color:#fff;
  border-color:rgba(8,239,136,.48);
  background:#14273b;
  transform:translateY(-2px);
}
.eyb-contact-icon {
  flex:0 0 46px;
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--eyb-green);
  color:#06170f;
  font-weight:900;
  font-size:1.05rem;
}
.eyb-contact-item small {
  display:block;
  margin-bottom:4px;
  color:var(--eyb-green);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
}
.eyb-contact-item strong {
  display:block;
  color:#fff;
  font-size:1.05rem;
  overflow-wrap:anywhere;
}
.eyb-contact-form-card {
  padding:42px;
  background:#102033;
  border:1px solid rgba(8,239,136,.20);
  box-shadow:0 24px 60px rgba(0,0,0,.18);
}
.eyb-contact-form-card h2 {
  margin:0 0 10px;
  font-size:clamp(2rem,3.4vw,3.2rem);
  line-height:1.05;
}
.eyb-contact-form-intro { margin:0 0 30px; color:#dce3e9; }
.eyb-contact-form-wrap .wpforms-container { margin:0; }
.eyb-contact-form-wrap .wpforms-field { padding:0 0 18px !important; }
.eyb-contact-form-wrap .wpforms-field-label {
  color:#fff !important;
  font-size:.82rem !important;
  font-weight:800 !important;
  margin-bottom:7px !important;
}
.eyb-contact-form-wrap input[type="text"],
.eyb-contact-form-wrap input[type="email"],
.eyb-contact-form-wrap input[type="tel"],
.eyb-contact-form-wrap textarea,
.eyb-contact-form-wrap select {
  width:100% !important;
  max-width:none !important;
  min-height:52px !important;
  padding:12px 14px !important;
  color:#17283c !important;
  background:#fff !important;
  border:1px solid #d9dde2 !important;
  border-radius:4px !important;
  box-shadow:none !important;
}
.eyb-contact-form-wrap textarea { min-height:150px !important; resize:vertical; }
.eyb-contact-form-wrap .wpforms-submit {
  min-height:52px !important;
  padding:0 30px !important;
  border:0 !important;
  border-radius:4px !important;
  background:var(--eyb-green) !important;
  color:#06170f !important;
  font-weight:800 !important;
}
.eyb-contact-form-wrap .wpforms-submit:hover { filter:brightness(.94); }
.eyb-contact-form-wrap .wpforms-error { color:#ffb1b1 !important; }

@media (max-width: 820px) {
  .eyb-contact-grid { grid-template-columns:1fr; gap:44px; }
  .eyb-contact-form-card { padding:28px 22px; }
  .eyb-contact-item { min-height:80px; }
}

@media (max-width: 640px) {
  :root { --eyb-header-height: 74px; }
  .site-branding img { max-width:190px; max-height:56px; }
  .eyb-header-actions { gap:9px; }
  .eyb-member-login { min-height:40px; padding:0 10px; font-size:.72rem; }
  .eyb-member-login .label-full { display:none; }
  .eyb-member-login .label-short { display:inline; }
}

@media (max-width: 390px) {
  .eyb-container { width:min(calc(100% - 22px), var(--eyb-max)); }
  .site-branding img { max-width:168px; }
  .eyb-member-login { padding:0 8px; }
  .eyb-cart-link, .eyb-menu-toggle { width:38px; height:38px; }
  .eyb-header-actions { gap:7px; }
}
