/* =========================================================
   MODULE PAGES - HERO SECTION (Schedule / Student / Aircraft)
   ========================================================= */


/* ==== HERO (desktop + mobile; visually aligned with 3° tilt) ==== */
.hero{width:min(1280px,100% - 120px);margin:28px auto 0;display:grid;grid-template-columns:560px 1fr;gap:60px;align-items:center;}
.hero-copy{padding-top:60px;}
.hero-copy h1{font-size:clamp(40px,6.2vw + 4px,72px);line-height:1.0;margin:10px 0 20px;font-weight:900;word-break:keep-all;hyphens:none;}
.hero-copy p{font-size:clamp(18px,1.4vw,22px);line-height:1.45;color:var(--wb-text);max-width:520px;margin:0 0 30px;word-break:keep-all;hyphens:none;}
.product-shot,.hero-shot{transform:rotate(3deg);transform-origin:left center;overflow:visible;}
.product-shot img,.hero-shot img{display:block;max-width:900px;height:auto;border:6px solid #000;border-radius:16px;margin-right:calc((100vw - 1440px)/-2);}
@media (max-width:1440px){.product-shot img,.hero-shot img{margin-right:0;}}
@media (max-width:980px){
  .hero{--gutter:25px;width:100%;margin:28px 0 0;padding-left:var(--gutter);padding-right:var(--gutter);grid-template-columns:1fr;gap:40px;justify-items:center;text-align:center;}
  .hero-copy{padding-top:0;display:flex;flex-direction:column;align-items:center;}
  .hero-copy h1{font-size:clamp(40px,7.5vw,44px);line-height:1.03;max-width:22ch;margin:10px 0 20px;text-wrap:balance;}
  /* wider lines on mobile: full column width, no forced balancing */
  .hero-copy p{width:100%;max-width:none;margin:0 0 30px;font-size:clamp(17px,4vw,21px);line-height:1.45;text-wrap:normal;}
  .cta-row{justify-content:center;}
  .btn-hero{margin:0 auto;}
  .product-shot,.hero-shot{transform-origin:center center;width:min(940px,calc((100vw - (2 * var(--gutter)))/1.034));margin:0 auto;}
  .product-shot img,.hero-shot img{width:100%;max-width:none;margin:0;box-sizing:border-box;}
}


/* =========================================================
   MODULE PAGES - CHIP SECTION (Schedule / Student / Aircraft)
   ========================================================= */

/* ===== Six Feature Chips ===== */
.chips.container{width:min(1280px,100% - 120px);max-width: none; margin:72px auto 20px;padding:0; display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;justify-content:center;box-sizing:border-box;}
.chip{width:100%;max-width:205px;height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--wb-border);border-radius:12px;background:var(--wb-white);padding:16px;color:inherit;text-decoration:none;box-sizing:border-box;transition:background-color .15s,border-color .15s,box-shadow .15s;}
.chip:hover{background:#f7f7f7;border-color:#ececec;box-shadow:0 1px 0 rgba(0,0,0,.03) inset;}
.chip img{width:95px;height:55px;margin-bottom:12px;border-radius:8px;object-fit:contain;}
.chip-label{font-size:16px;white-space:normal;text-align:center;line-height:1.2;}

/* Maintain 6x row layout until 1200px */
@media(max-width:1330px){.chips.container{grid-template-columns:repeat(6,1fr);}}

/* Switch to 2×3 layout at ≤1200px and resize to fit */
@media(max-width:1200px){.chips.container{grid-template-columns:repeat(3,1fr);max-width:none;padding:0;gap:10px;}.chip{max-width:none;}}

/* Switch to 2×2 layout at ≤700px */
@media(max-width:700px){.chips.container{grid-template-columns:repeat(2,1fr);}}

/* ⭐ NEW: mobile / tablet gutters match other sections */
@media (max-width:980px){.chips.container{ width:100%;padding:0 25px;}}


/* =========================================================
   MODULE PAGES - FEATURE SECTION (Schedule / Student / Aircraft)
   ========================================================= */
   
/* Wrapper */
.feature-wrap{width:min(1280px,100% - 120px);margin:20px auto 20px;}

/* Slab */
.feature-slab{background:var(--wb-pill);border-radius:20px;padding:60px;position:relative;scroll-margin-top:120px;box-sizing:border-box;}

/* Left column (copy) */
.feature-copy{max-width:560px;}
.feature-eyebrow{font-family:'Hartsinger',cursive;font-size:22px;letter-spacing:.5px;color:var(--wb-blue);text-transform:uppercase;margin-bottom:8px;}
.feature-title{font-size:44px;line-height:1.0;font-weight:900;margin:0 0 14px;}
.feature-desc{font-size:18px;color:var(--wb-text);margin:0 0 32px;max-width:560px;}
.feature-slab .cta-row{margin:0;}

/* Desktop + tablet ≥981px — copy shrinks 2× faster than image */
@media (min-width:981px){
  .feature-copy{max-width:clamp(320px,35vw,560px);}
  .feature-desc{max-width:clamp(320px,35vw,560px);}
  .feature-media{position:absolute;right:clamp(24px,6vw,60px);top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:flex-end;}
  .feature-media img{display:block;height: clamp(180px, 20vw, 280px);width:auto;max-width:none;object-fit:contain;}
}

/* Mobile layout: eyebrow → title → image → description → CTA (all left-aligned) */
@media (max-width:980px){
  .feature-slab{padding:30px 30px 30px;}
  .feature-copy{display:flex;flex-direction:column;align-items:flex-start;max-width:none;}
  .feature-title{font-size:clamp(28px,6.2vw,36px);line-height:1.05;margin-bottom:12px;}
  .feature-media{order:2;position:static;width:100%;margin:12px 0;}
  .feature-media img{width:100%;height:auto;display:block;object-fit:contain;}
  .feature-desc{order:3;font-size:17px;margin:12px 0 24px;max-width:none;}
  .feature-slab .cta-row{order:4;justify-content:flex-start;margin:0;}
}


/* =========================================================
   ALL FEATURES – HEADER SECTION
   ========================================================= */


.features-hero-wrap{width:min(1280px,100% - 120px);margin:28px auto 20px;}
.features-hero{background:#111111;color:var(--wb-white);border-radius:28px;padding:100px 40px;text-align:center;box-sizing:border-box;}
.features-hero h1{margin:0 0 18px;font-weight:900;line-height:.95;letter-spacing:-0.02em;font-size:clamp(40px,6.2vw + 4px,72px);}
.features-hero p{margin:0 auto;max-width:720px;font-size: clamp(18px, 1.4vw, 22px);line-height:1.5;}
@media (max-width:980px){.features-hero-wrap{width:100%;margin:20px 0 20px;padding:0 25px;}.features-hero{padding:40px 30px;border-radius:24px;}}


/* =========================================================
   ALL FEATURES – FEATURE LIST SECTION
   ========================================================= */


.features-group-wrap{width:min(1280px,100% - 120px);margin:0 auto 20px;}
.features-group{background:var(--wb-pill);border-radius:20px;padding:50px 60px 60px;box-sizing:border-box;}
.features-group-header{margin-bottom:10px;}
.features-group-header h2{margin:0 0 8px;font-size:44px;line-height:1;font-weight:900;}
.features-group-divider{height:1px;background:#e0e0e0;margin:24px 0 40px;}
.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:60px;row-gap:40px;}
.feature-item h3{margin:0 0 8px;font-size:18px;font-weight:900;letter-spacing:-0.01em;}
.feature-item p{margin:0;font-size:16px;line-height:1.5;color:var(--wb-text);}
@media (max-width:980px){.feature-wrap{width:100%;padding:0 25px;}.features-group-wrap{width:100%;margin:0 0 20px;padding:0 25px;}.features-group{padding:30px 30px 30px;}.features-group-header h2{font-size:clamp(28px,6.2vw,36px);}.features-grid{grid-template-columns:1fr;row-gap:28px;}}
