/* Aten Tech - Part 4 rebuild */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { min-height: 100vh; background: #f0ede8; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; color: #1a1d23; }
html { scroll-behavior: smooth; }

/* -- Header -- */
.site-header { background: #fff; border-bottom: 1px solid #e5e2db; height: 54px; display: flex; align-items: center; padding: 0 24px; gap: 16px; position: sticky; top: 0; z-index: 200; }
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.header-logo img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.header-brand { font-size: 14px; font-weight: 700; color: #1a1d23; }

/* Flat nav */
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; margin-left: 8px; }
.site-nav a { font-size: 13px; color: #6b6864; text-decoration: none; padding: 0 12px; height: 54px; display: inline-flex; align-items: center; white-space: nowrap; transition: color .15s; }
.site-nav a:hover { color: #1a1d23; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.btn-nav-ghost { font-size: 14px; color: #6b6864; text-decoration: none; padding: 7px 14px; border-radius: 6px; border: 1px solid #e5e2db; transition: border-color .15s, color .15s; white-space: nowrap; display: inline-flex; align-items: center; min-height: 34px; }
.btn-nav-ghost:hover { color: #1a1d23; border-color: #c8c5be; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 20px; height: 2px; background: #1a1d23; border-radius: 2px; }
.mobile-menu { display: none; background: #fff; border-bottom: 1px solid #e5e2db; padding: 12px 0; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 24px; font-size: 14px; color: #4a4845; text-decoration: none; border-bottom: 1px solid #f5f3ef; }
.mobile-menu a:hover { background: #f7f5f2; }
.mobile-menu-section { padding: 6px 24px 2px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9b9790; margin-top: 4px; }

/* -- Buttons -- */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: #1a1d23; color: #CBB26A; font-size: 14px; font-weight: 700; letter-spacing: .04em; border-radius: 7px; padding: 10px 28px; text-decoration: none; transition: background .15s; white-space: nowrap; border: none; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: #2e333c; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: transparent; color: #1a1d23; font-size: 14px; font-weight: 600; border-radius: 7px; padding: 10px 24px; text-decoration: none; border: 1px solid #c8c5be; transition: border-color .15s; white-space: nowrap; }
.btn-secondary:hover { border-color: #1a1d23; }

/* -- Hero -- */
.site-section--hero {
    height: calc(100vh - 54px);
    height: calc(100svh - 54px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f0ede8;
}
.hero-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(20px, 3.5vh, 52px) 40px clamp(14px, 2vh, 28px);
    width: 100%;
    gap: clamp(14px, 2.5vh, 32px);
    min-height: 0;
}
.hero-top {
    flex: 1;
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    min-height: 0;
}
.hero-text { flex: 1; min-width: 0; }
.hero-h1 { font-size: clamp(24px, 3.2vw, 44px); font-weight: 700; line-height: 1.1; margin-bottom: clamp(12px, 1.5vh, 20px); color: #1a1d23; }
.hero-body { font-size: clamp(13px, 1.1vw, 15px); color: #4a4845; line-height: 1.65; margin-bottom: clamp(14px, 2vh, 24px); max-width: 480px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(12px, 1.8vh, 20px); }
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-pill { font-size: 14px; font-weight: 600; color: #1a1d23; background: rgba(203,178,106,.15); border: 1px solid rgba(203,178,106,.4); border-radius: 20px; padding: 4px 12px; white-space: nowrap; }

/* Hero illustration */
.hero-illustration-wrap { flex: 0 0 clamp(280px, 38vw, 480px); min-width: 0; background: #1a1d23; border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: clamp(14px, 2vw, 26px); box-shadow: 0 24px 60px rgba(26,29,35,.22); }
.hero-illustration { width: 100%; height: auto; display: block; }

/* Hero service cards */
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-card { background: #fff; border: 1px solid #e5e2db; border-radius: 8px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.hero-card-title { font-size: 14px; font-weight: 700; color: #1a1d23; line-height: 1.3; }
.hero-card-desc { font-size: 14px; color: #6b6864; line-height: 1.55; }

/* -- Infra strip -- */
.infra-strip { background: #1a1d23; padding: 15px 0; overflow-x: hidden; }
.infra-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 24px; }
.infra-row { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.infra-row::-webkit-scrollbar { display: none; }
.infra-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(203,178,106,.8); padding: 0 16px; white-space: nowrap; }
.infra-sep { color: rgba(203,178,106,.22); font-size: 15px; line-height: 1; flex-shrink: 0; }

/* -- Section scaffolding -- */
.site-section { width: 100%; scroll-margin-top: 54px; }
.section--dark { background: #1a1d23; color: #fff; }
.section--light { background: #fff; }
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #CBB26A; text-align: center; margin-bottom: 10px; }
.section-title { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; color: #1a1d23; text-align: center; margin-bottom: 14px; line-height: 1.2; }
.section--dark .section-label { color: rgba(203,178,106,.7); }
.section--dark .section-title { color: #fff; }
.section-sub { font-size: 15px; color: #6b6864; text-align: center; max-width: 600px; margin: 0 auto 40px; line-height: 1.65; }
.section-intro { font-size: 15px; color: #6b6864; text-align: center; max-width: 680px; margin: 0 auto 48px; line-height: 1.7; }
.section-wrap { padding: 72px 40px; max-width: 1100px; margin: 0 auto; width: 100%; }

/* -- Consulting -- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.feat-card { background: #fff; border: 1px solid #e5e2db; padding: 24px 20px 20px; display: flex; flex-direction: column; border-radius: 6px; }
.feat-badge { display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: rgba(203,178,106,.12); color: #9a7e3a; border: 1px solid rgba(203,178,106,.35); border-radius: 3px; padding: 2px 7px; margin-bottom: 14px; align-self: flex-start; }
.feat-badge-soon { background: rgba(155,151,144,.1); color: #9b9790; border-color: rgba(155,151,144,.35); }
.feat-icon { color: #CBB26A; margin-bottom: 12px; line-height: 1; }
.feat-icon svg { display: block; }
.feat-title { font-size: 14px; font-weight: 700; color: #1a1d23; margin-bottom: 8px; line-height: 1.3; }
.feat-desc { font-size: 13px; color: #4a4845; line-height: 1.6; flex: 1; }

/* -- Engagement slider -- */
.engage-slider-section { margin-top: 48px; }
.eslider-outer { position: relative; max-width: 680px; margin: 0 auto; padding: 0 48px; }
.eslider-track { display: grid; background: #fff; border: 1px solid #e5e2db; border-radius: 8px; }
.eslide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 32px; min-height: 180px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.eslide.active { opacity: 1; visibility: visible; }
.eslide-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #CBB26A; margin-bottom: 16px; }
.eslide-body { font-size: 15px; color: #1a1d23; line-height: 1.7; max-width: 520px; }
.eslider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #1a1d23; color: #CBB26A; border: none; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: background .15s; padding: 0; }
.eslider-btn:hover { background: #2e333c; }
.eslider-btn.prev { left: 0; }
.eslider-btn.next { right: 0; }
.eslider-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.eslider-dot { width: 7px; height: 7px; border-radius: 50%; background: #e5e2db; cursor: pointer; transition: background .2s; border: none; padding: 0; }
.eslider-dot.active { background: #CBB26A; }

/* -- Training -- */
.training-intro { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.training-intro p { font-size: 15px; color: #4a4845; line-height: 1.75; }
.training-intro p + p { margin-top: 14px; }
.training-intro p:last-child { font-style: italic; color: #1a1d23; font-weight: 600; }
.demo-box { max-width: 520px; margin: 0 auto 48px; background: #fff; border: 1px solid #e5e2db; border-radius: 8px; padding: 22px 28px; text-align: center; }
.demo-box-title { font-size: 14px; font-weight: 700; color: #1a1d23; margin-bottom: 6px; }
.demo-box-sub { font-size: 13px; color: #9b9790; }
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.program-card { background: #fff; border: 1px solid #e5e2db; border-radius: 8px; padding: 26px 22px 22px; display: flex; flex-direction: column; }
.program-badge { display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9a7e3a; background: rgba(203,178,106,.12); border: 1px solid rgba(203,178,106,.3); border-radius: 3px; padding: 2px 7px; margin-bottom: 14px; align-self: flex-start; }
.program-title { font-size: 14px; font-weight: 700; color: #1a1d23; margin-bottom: 10px; line-height: 1.3; }
.program-desc { font-size: 13px; color: #4a4845; line-height: 1.65; flex: 1; }
.program-desc a { color: #CBB26A; text-decoration: none; font-weight: 600; }
.program-desc a:hover { opacity: .8; }

/* -- Pricing -- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; max-width: 860px; margin: 40px auto 0; }
.price-wrap { display: flex; flex-direction: column; }
.price-popular-label { font-size: 11px; color: #CBB26A; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; text-align: center; height: 18px; }
.price-card { background: #fff; border: 1px solid #e5e2db; padding: 26px 22px 22px; display: flex; flex-direction: column; flex: 1; border-radius: 6px; }
.price-card.popular { border-color: #CBB26A; }
.price-tier { font-size: 10px; color: #CBB26A; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.price-amount { font-size: 30px; font-weight: 700; color: #1a1d23; line-height: 1; margin-bottom: 2px; }
.price-amount span { font-size: 13px; font-weight: 400; color: #9b9790; }
.price-desc { font-size: 12px; color: #6b6864; line-height: 1.5; margin-bottom: 16px; flex: 1; }
.price-cta { display: block; width: 100%; background: #1a1d23; color: #CBB26A; text-decoration: none; text-align: center; padding: 11px 14px; font-size: 12px; border-radius: 4px; letter-spacing: .03em; transition: background .15s, color .15s; }
.price-cta:hover { background: #CBB26A; color: #1a1d23; }
.pricing-link { text-align: center; margin-top: 20px; margin-bottom: 48px; font-size: 12px; }
.pricing-link a { color: #6b6864; text-decoration: none; border-bottom: 1px solid #d0cdc6; transition: color .15s; }
.pricing-link a:hover { color: #1a1d23; }

/* -- AI Agents -- */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto 64px; align-items: stretch; }
.waitlist-section { max-width: 560px; margin: 0 auto; }
.waitlist-heading { font-size: 17px; font-weight: 700; color: #1a1d23; margin-bottom: 6px; }
.waitlist-sub { font-size: 13px; color: #6b6864; margin-bottom: 20px; }

/* -- Testimonial slider -- */
.tslider-header { text-align: center; margin-bottom: 40px; }
.tslider-stars { color: #CBB26A; font-size: 16px; letter-spacing: 2px; margin: 6px 0; }
.tslider-rating { font-size: 26px; font-weight: 700; color: #1a1d23; }
.tslider-rating-sub { font-size: 12px; color: #1a1d23; }
.tslider-outer { position: relative; padding: 0 52px; }
.tslider-track { position: relative; }
.tslide { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 2fr; border-radius: 10px; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
.tslide.active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; min-height: 260px; }
.tslide-left { background: #fff; border: 1px solid rgba(203,178,106,0.35); border-right: none; padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; }
.tslide-context { font-size: 10px; color: #CBB26A; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 4px; }
.tslide-name { font-size: 16px; font-weight: 700; color: #1a1d23; }
.tslide-meta { font-size: 12px; color: #1a1d23; }
.tslide-tp-link { display: inline-block; font-size: 11px; color: #CBB26A; text-decoration: none; border-bottom: 1px solid rgba(203,178,106,.4); margin-top: 10px; align-self: flex-start; }
.tslide-tp-link:hover { border-bottom-color: #CBB26A; }
.tslide-right { background: #CBB26A; padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.tslide-stars { color: #1a1d23; font-size: 14px; letter-spacing: 2px; }
.tslide-quote { font-size: 14px; font-weight: 600; color: #1a1d23; line-height: 1.7; font-style: italic; }
.tslider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #1a1d23; color: #CBB26A; border: none; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; transition: background .15s; padding: 0; }
.tslider-btn:hover { background: #2e333c; }
.tslider-btn.prev { left: 0; }
.tslider-btn.next { right: 0; }
.tslider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.tslider-dot { width: 7px; height: 7px; border-radius: 50%; background: #e5e2db; cursor: pointer; transition: background .2s; border: none; padding: 0; }
.tslider-dot.active { background: #CBB26A; }
.tslider-footer { text-align: center; margin-top: 16px; font-size: 12px; }
.tslider-footer a { color: #1a1d23; text-decoration: none; border-bottom: 1px solid #CBB26A; }
.tslider-footer a:hover { color: #CBB26A; }

/* -- About -- */
.about-body { font-size: 15px; color: #4a4845; line-height: 1.75; max-width: 680px; margin: 0 auto; }
.about-body p + p { margin-top: 14px; }
.about-mission { max-width: 680px; margin: 36px auto 0; padding: 28px 32px; background: rgba(203,178,106,.08); border: 1px solid rgba(203,178,106,.25); border-radius: 8px; display: flex; flex-direction: column; gap: 16px; }
.about-mission-item { display: flex; flex-direction: column; gap: 4px; }
.about-mission-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #CBB26A; }
.about-mission-text { font-size: 14px; color: #1a1d23; line-height: 1.6; }
.about-team-heading { font-size: 17px; font-weight: 700; color: #1a1d23; text-align: center; margin: 56px 0 24px; }
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile-card { background: #fff; border: 1px solid #e5e2db; border-radius: 8px; padding: 26px 18px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.profile-photo-wrap { width: 72px; height: 72px; border-radius: 50%; background: #f0ede8; border: 1px solid #e5e2db; margin-bottom: 14px; overflow: hidden; }
.profile-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-meta { min-height: 56px; display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; width: 100%; }
.profile-name { font-size: 14px; font-weight: 700; color: #1a1d23; margin-bottom: 3px; }
.profile-title-line { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #CBB26A; }
.profile-bio { font-size: 12px; color: #1a1d23; line-height: 1.55; text-align: left; }
.profile-bio p { margin: 0 0 8px; }
.profile-bio p:last-child { margin-bottom: 0; }

/* -- Contact -- */
.contact-layout { display: flex; gap: 64px; align-items: flex-start; flex-wrap: wrap; }
.contact-form-col { flex: 1; min-width: 320px; max-width: 560px; }
.contact-side { flex: 0 0 260px; }
.form-wrap { width: 100%; }
.form-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.form-field label { font-size: 12px; font-weight: 600; color: #1a1d23; }
.form-field input, .form-field select, .form-field textarea { font-family: inherit; font-size: 13px; color: #1a1d23; background: #fff; border: 1px solid #e5e2db; border-radius: 6px; padding: 10px 12px; width: 100%; transition: border-color .15s; appearance: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: #CBB26A; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-top: 10px; display: none; }
.form-status.ok  { background: rgba(203,178,106,.1); color: #1a1d23; border: 1px solid #CBB26A; }
.form-status.err { background: rgba(26,29,35,.06); color: #1a1d23; border: 1px solid #1a1d23; font-weight: 500; }
.slack-block { background: #fff; border: 1px solid #e5e2db; padding: 26px 28px; border-radius: 8px; text-align: center; margin-top: 32px; }
.slack-block .slack-title { font-size: 15px; font-weight: 700; color: #1a1d23; margin-bottom: 10px; }
.slack-block .slack-desc { font-size: 13px; color: #6b6864; line-height: 1.65; margin-bottom: 20px; }
.btn-slack { display: inline-block; background: transparent; color: #1a1d23; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 10px 22px; text-decoration: none; border: 1px solid #c8c5be; transition: border-color .15s; letter-spacing: .02em; }
.btn-slack:hover { border-color: #1a1d23; }

/* -- Footer -- */
.page-footer { background: #fff; border-top: 1px solid #e5e2db; padding: 56px 40px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; align-self: flex-start; }
.footer-logo img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.footer-logo-name { font-size: 14px; font-weight: 700; color: #1a1d23; }
.footer-tagline { font-size: 12px; color: #9b9790; line-height: 1.6; max-width: 200px; }
.social-links { display: flex; gap: 8px; }
.social-link { color: #CBB26A; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(203,178,106,0.45); background: transparent; transition: border-color .15s, color .15s; }
.social-link:hover { color: #e0cfa0; border-color: #CBB26A; }
.social-link svg { display: block; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #1a1d23; margin-bottom: 5px; }
.footer-col a { font-size: 13px; color: #6b6864; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #1a1d23; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #e5e2db; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: #9b9790; text-decoration: none; }
.footer-legal a:hover { color: #1a1d23; }
.footer-copy { font-size: 11px; color: #9b9790; }

/* -- Responsive -- */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
    .site-nav { display: none; }
    .hamburger { display: flex; }
    /* Hero grows with content — no fixed viewport height on phones/tablets */
    .site-section--hero { height: auto; overflow: visible; }
    .hero-body { font-size: 14px; }
    .hero-main { padding: 24px 24px 16px; gap: 16px; }
    .hero-top { flex-direction: column; align-items: flex-start; gap: 20px; flex: none; min-height: auto; }
    .hero-illustration-wrap { display: flex; width: 100%; flex: none; }
    .hero-cards { grid-template-columns: 1fr; }
    /* Stack hero buttons full width, one under the other */
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { width: 100%; justify-content: center; }
    .tslide { grid-template-columns: 1fr; }
    .tslide-right { min-height: 160px; }
    .section-wrap { padding: 56px 24px; }
    .page-footer { padding: 48px 24px 28px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .tslider-outer { padding: 0 44px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .agents-grid { grid-template-columns: 1fr; max-width: 480px; }
    .contact-layout { flex-direction: column; }
    .contact-side { flex: 0 0 auto; width: 100%; max-width: 560px; }
}
@media (max-width: 768px) {
    .programs-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
    .form-field input, .form-field select { min-height: 44px; }
}
@media (max-width: 600px) {
    /* hide header sign-in and CTA buttons — links are in the mobile menu */
    .header-actions { display: none; }
    .hamburger { margin-left: auto; }
    .hero-main { padding: 16px 16px 12px; gap: 12px; }
    .hero-h1 { font-size: clamp(22px, 6vw, 32px); }
    .hero-body { font-size: 14px; }
    .hero-pills { flex-direction: column; align-items: stretch; gap: 8px; }
    .hero-pill { text-align: center; }
    /* Vertical single-column cards on phones — no horizontal overflow */
    .hero-cards { display: grid; grid-template-columns: 1fr; overflow-x: visible; scroll-snap-type: none; gap: 10px; }
    .hero-card { min-width: auto; }
    .tslider-outer { padding: 0 44px; }
    .tslide-left { padding: 24px 20px; }
    .tslide-right { padding: 24px 20px; }
    .page-footer { padding: 48px 16px 28px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-col a { padding: 5px 0; }
    .footer-col { gap: 2px; }
    .form-row { grid-template-columns: 1fr; }
    .form-field input, .form-field select { min-height: 44px; }
    /* Tech band: drop | separators on phones, wrap tags with even spacing */
    .infra-sep { display: none; }
    .infra-row { flex-wrap: wrap; justify-content: center; overflow-x: visible; gap: 4px 0; }
    .infra-tag { padding: 3px 10px; }
    .eslider-outer { padding: 0 44px; }
    .eslider-btn { width: 44px; height: 44px; font-size: 18px; }
    .features-grid { grid-template-columns: 1fr; }
    .section-wrap { padding: 48px 16px; }
    .about-mission { padding: 22px 20px; }
}
