/* ===================================
   WARM SPRINGS TELECOM - GLOBAL STYLES
   Matching the signup form aesthetic
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* .root-replace removed (was empty) */
/* Design tokens */
:root {
    --btn-vertical: 12px;
    --btn-horizontal: 30px;
    --btn-radius: 25px;
    --btn-font-size: 1em;
    --btn-primary-start: #ff8c00;
    --btn-primary-end: #ff6347;
    --btn-primary-hover-start: #ff6347;
    --btn-primary-hover-end: #ff4500;
}
.stat-card {
            background: linear-gradient(135deg, #00a1cc 0%, #006b95 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
    min-height: 100vh;
}

.container {
.calc-header {
    background: linear-gradient(135deg, #00a1cc 0%, #006b95 100%);
}
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION
.btn-pay {
    background: linear-gradient(135deg, #ff8c00 0%, #cc3e13 100%);
    padding: 10px 20px !important;
    border-radius: 25px;
    font-weight: 600;
}
   =================================== */

.main-nav {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 15px 0;
.btn-pay:hover {
    background: linear-gradient(135deg, #cc3e13 0%, #9e2a0d 100%) !important;
    transform: translateY(-2px);
}
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.btn-primary {
    background: linear-gradient(135deg, #ff8c00 0%, #cc3e13 100%);
    color: white;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.btn-pay {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6347 100%);
    padding: 10px 20px !important;
    border-radius: 25px;
    font-weight: 600;
}

.btn-pay:hover {
    background: linear-gradient(135deg, #ff6347 0%, #ff4500 100%) !important;
    transform: translateY(-2px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(30,60,114,0.65) 0%, rgba(42,82,152,0.65) 100%), url('Images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(30,60,114);stop-opacity:0.8" /><stop offset="100%" style="stop-color:rgb(42,82,152);stop-opacity:0.3" /></linearGradient></defs><circle cx="100" cy="100" r="300" fill="url(%23grad)" opacity="0.3"/><circle cx="1100" cy="500" r="400" fill="url(%23grad)" opacity="0.2"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.fiber-highlight {
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 100%);
    color: #1e3c72;
    padding: 20px 40px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
    animation: pulse 2s infinite;
}

.highlight-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: var(--btn-vertical) var(--btn-horizontal);
    text-decoration: none;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: var(--btn-font-size);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--btn-primary-start) 0%, var(--btn-primary-end) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--btn-primary-hover-start) 0%, var(--btn-primary-hover-end) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,99,71,0.4);
}

.btn-secondary {
    background: white;
    color: #1e3c72;
}

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1e3c72;
    border: 2px solid #1e3c72;
}

.btn-outline:hover {
    background: #1e3c72;
    color: white;
}

.btn-large {
    padding: calc(var(--btn-vertical) + 3px) calc(var(--btn-horizontal) + 10px);
    font-size: calc(var(--btn-font-size) * 1.1);
}

.btn-white {
    background: white;
    color: #1e3c72;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ===================================
   SECTIONS
   =================================== */

.services-section,
.speed-section,
.why-section {
    background: white;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #1e3c72;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

/* ===================================
   SERVICE CARDS
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #1e3c72;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.service-features li {
    color: #333;
    margin-bottom: 10px;
    padding-left: 5px;
}

.service-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   SPEED CARDS
   =================================== */

/* Speed Calculator */
.speed-calculator {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    overflow: hidden;
}

.calc-header {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
    padding: 20px 40px;
    text-align: center;
}

.calc-header h3 {
    color: white;
    font-size: 1.5em;
    margin: 0 0 8px 0;
}

.calc-header p {
    color: white;
    font-size: 0.95em;
    margin: 0;
    opacity: 0.95;
}

.calculator-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 40px;
}

.calc-option {
    cursor: pointer;
}

.calc-option input[type="checkbox"] {
    display: none;
}

.calc-card {
    background: #f8f9fa;
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.calc-option input[type="checkbox"]:checked + .calc-card {
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 100%);
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

/* Hover and keyboard-focus styles for calculator option bubbles */
.calc-option:hover .calc-card,
.calc-option .calc-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background: #eaf8fb;
    border-color: #006b95;
}

/* Make keyboard focus visible when input receives focus */
.calc-option input[type="checkbox"]:focus + .calc-card,
.calc-option input[type="checkbox"]:focus-visible + .calc-card {
    outline: 3px solid rgba(0,107,149,0.12);
    outline-offset: 4px;
}

/* Calculator header layout and reset button */
.calc-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Keep the title centered even when a control sits on the right */
.calc-header > div {
    flex: 1 1 auto;
    text-align: center;
}

.calc-reset {
    background: #006b95;
    border: 1px solid transparent;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.95em;
    cursor: pointer;
}

.calc-reset:hover {
    background: #005b80;
}

.calc-reset:focus {
    outline: 3px solid rgba(0,107,149,0.18);
    outline-offset: 2px;
}

/* SVG icon inside reset button */
.calc-reset svg {
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
    width: 18px;
    height: 18px;
}

/* Screen-reader-only helper */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Small title icon next to calculator headings */
.calc-title-icon {
    width: 18px;
    height: 18px;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
}

.calc-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.calc-label {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.calc-need {
    color: #666;
    font-size: 0.9em;
}

.calc-result {
    margin: 30px 40px 40px 40px;
    padding: 40px;
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 100%);
    border-radius: 12px;
    border: 3px solid #ffd700;
}

.calc-result-content h4 {
    color: #1e3c72;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.result-left {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    border-left: 5px solid #2196f3;
}

.result-label {
    color: #1e3c72;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
}

.result-speed {
    font-size: 3em;
    font-weight: 700;
    color: #2a5298;
    margin: 10px 0;
}

.result-type {
    color: #666;
    font-size: 1.1em;
    margin-top: 10px;
}

.result-right {
    text-align: center;
    padding: 30px;
}

.result-recommend {
    color: #1e3c72;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
}

.result-plan-name {
    font-size: 2.5em;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 10px;
}

.result-plan-speed {
    font-size: 1.5em;
    color: #2a5298;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-plan-price {
    font-size: 2em;
    color: #0083b0;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Tiered Plans */
.plan-tier {
    margin-bottom: 50px;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.tier-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.tier-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6347 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tier-title {
    color: #1e3c72;
    font-size: 2em;
    margin-bottom: 10px;
}

.tier-desc {
    color: #666;
    font-size: 1.1em;
}

.tier-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.plan-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #2a5298;
}

.plan-featured {
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 100%);
    border: 3px solid #ffd700;
    box-shadow: 0 5px 25px rgba(255,215,0,0.3);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(255,215,0,0.5);
}

.plan-name {
    font-size: 1.8em;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
}

.plan-speed {
    font-size: 1.4em;
    color: #2a5298;
    margin-bottom: 15px;
    font-weight: 600;
}

.plan-price {
    font-size: 2.5em;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
}

.plan-price span {
    font-size: 0.4em;
    color: #666;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    text-align: center;
    margin: 25px 0;
    padding: 0;
}

.plan-features li {
    color: #333;
    margin-bottom: 10px;
    padding-left: 0;
    font-size: 0.95em;
}

.plan-card .btn {
    width: 100%;
    margin-top: 10px;
}

.speed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.speed-card {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.speed-card:hover {
    transform: translateY(-5px);
}

.speed-featured {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    box-shadow: 0 5px 25px rgba(255,215,0,0.4);
}

.speed-name {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.speed-value {
    font-size: 1.3em;
    margin-bottom: 10px;
    opacity: 0.95;
}

.speed-price {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
}

.speed-desc {
    font-size: 0.9em;
    opacity: 0.9;
}

.speed-cta {
    text-align: center;
}

/* ===================================
   WHY CHOOSE US
   =================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.why-card h3 {
    color: #1e3c72;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.6;
}

/* Business Features Grid */
.business-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.business-feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.business-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #00b4db;
}

.feature-icon-large {
    font-size: 3em;
    margin-bottom: 15px;
}

.business-feature-card h4 {
    color: #1e3c72;
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: 600;
}

.business-feature-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */

.main-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffd700;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* -----------------------------------
   Video: Fiber preview
   ----------------------------------- */
.video-wrapper { max-width: 1000px; margin: 30px auto; }
.video-wrapper video { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.video-caption { text-align: center; color: #666; font-size: 0.95em; margin-top: 8px; }


/* -----------------------------------
   Page: FiberOptics (moved from inline <style>)
   ----------------------------------- */
.hero-fiber {
    background: url('Images/hero-fiber.jpg') center/cover no-repeat;
    color: #fff;
    padding: 120px 20px 80px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-fiber h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-fiber p {
    font-size: 1.3em;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.fiber-content {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}
.fiber-explanation {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}
.fiber-explanation h2 {
    color: #1e3c72;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}
.fiber-explanation p {
    color: #555;
    font-size: 1.3em;
    line-height: 1.9;
    margin-bottom: 20px;
}
.fiber-explanation .highlight-text {
    color: #1e3c72;
    font-weight: bold;
    font-size: 1.4em;
    line-height: 1.8;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #FFF9E6 0%, #fffaed 100%);
    border-left: 6px solid #fda085;
    border-radius: 10px;
}
.benefits-section {
    margin: 60px 0;
}
.benefits-section h3 {
    color: #1e3c72;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.benefit-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid #56CCF2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.benefit-icon {
    font-size: 3em;
    margin-bottom: 15px;
}
.benefit-card h4 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.4em;
}
.benefit-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05em;
}
.home-button-section {
    text-align: center;
    margin: 60px 0;
}
@media (max-width: 768px) {
    .hero-fiber h1 {
        font-size: 2em;
    }
    .fiber-explanation {
        padding: 30px 20px;
    }
    .fiber-explanation p {
        font-size: 1.1em;
    }
}


.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.2em;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .fiber-highlight {
        font-size: 1em;
        padding: 15px 25px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .calculator-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .speed-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    /* Mobile-friendly reductions to avoid overflow/overlap */
    .hero {
        padding: 80px 12px 40px;
    }

    .hero-content {
        padding: 0 10px;
        max-width: 100%;
    }

    .calculator-options {
        padding: 20px;
    }

    .calc-card {
        padding: 20px 12px;
    }

    .calc-result {
        margin: 20px;
        padding: 20px;
    }

    img, .logo-img {
        max-width: 100%;
        height: auto;
    }

    html, body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8em;
    }
    
    .nav-menu a {
        padding: 6px 10px;
        font-size: 0.9em;
    }
    
    .calculator-options {
        grid-template-columns: 1fr;
    }
    
    .service-actions {
        flex-direction: column;
    }

    /* Extra-small devices: tighten spacing further */
    .hero {
        padding: 50px 10px 30px;
    }

    .fiber-highlight {
        padding: 12px 18px;
        font-size: 0.95em;
    }

    .calc-result {
        margin: 12px;
        padding: 12px;
    }

    .calculator-options {
        padding: 12px;
        gap: 12px;
    }

    .result-speed {
        font-size: 2.2em;
    }
}
