/* 
 * Full-Width Layout System 
 * Sections = 100% edge-to-edge backgrounds
 * Content = constrained inside .container (1400px) or .full-width
 */

/* ── Force full-width on every wrapper ── */
.site-main,
.front-page-wrapper,
.elementor-section-wrap,
.site-top-bar,
.site-header,
.site-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Override Elementor boxed defaults */
.elementor-section {
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-section > .elementor-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* ── Section: always full-width background ── */
.section {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

/* Base section padding */
.section:not(.hero-section):not(.cta-section):not(.flash-sale-section) {
    padding: var(--space-lg) 0;
}

/* Expanded Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: var(--z-content);
}

/* Edge-to-Edge Container for Hero and CTA */
.full-width {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    z-index: var(--z-content);
}

/* Typography Constraints for Readability */
.text-constrained {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    max-width: 700px;
    /* Do not auto margin if left aligned */
}

/* Card System */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--space-sm);
    border: none;
    position: relative;
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-8px); /* Lift effect */
    box-shadow: var(--shadow-hover);
}

/* Button System */
.btn-primary {
    display: inline-block;
    background: var(--color-accent);
    color: white !important;
    border-radius: var(--border-radius-sm);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 122, 24, 0.3);
}

.btn-primary:hover {
    background: #ea580c; /* Darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 24, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white !important;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius-sm);
    padding: 12px 26px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-primary) !important;
    border-color: white;
}

.btn-light,
.btn-outline-dark {
    display: inline-block;
    border-radius: var(--border-radius-sm);
    padding: 13px 26px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-light {
    background: white;
    color: var(--color-accent) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.btn-light:hover {
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark) !important;
    border: 2px solid var(--color-border);
}

.btn-outline-dark:hover {
    border-color: var(--color-accent);
    color: var(--color-accent) !important;
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }
.bg-dark { background-color: var(--bg-dark); }
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-accent { background: var(--gradient-accent); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.section-heading {
    margin-bottom: 48px;
}

.section-heading p {
    font-size: 18px;
}

.section-kicker {
    color: var(--color-accent);
    font-size: 13px !important;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.bg-gradient-primary .section-kicker,
.bg-gradient-accent .section-kicker {
    color: rgba(255, 255, 255, 0.8);
}

/* Grids - Wider gaps for larger containers */
.grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; width: 100%; }
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; width: 100%; }
.grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* =========================================================
   HEADER — 3-Layer Full-Width System
========================================================= */

/* Layer 1: Top Bar */
.site-top-bar {
    width: 100%;
    background: var(--bg-light);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: var(--z-header);
}

.top-bar-inner {
    width: 100%;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.top-bar-promo {
    font-weight: 600;
    color: var(--text-dark);
}

.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-phone svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 2;
}

.top-bar-phone a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px;
}

.top-bar-phone a:hover {
    color: var(--color-accent);
}

/* Layer 2: Main Header */
.site-header {
    width: 100%;
    max-width: 100%;
    background: var(--bg-white);
    position: relative;
    z-index: var(--z-header);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    width: 100%;
    padding: 0;
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    min-height: 72px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding img {
    max-height: 44px;
    width: auto;
}

.site-title-link {
    text-decoration: none;
}

.site-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1;
}

.site-title-link:hover .site-title {
    color: var(--color-accent);
}

/* Navigation */
.primary-navigation {
    display: flex;
    justify-content: center;
}

.primary-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 36px;
}

.primary-navigation li {
    position: relative;
}

.primary-navigation a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.primary-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.primary-navigation a:hover {
    color: var(--color-accent);
}

.primary-navigation a:hover::after {
    width: 100%;
}

.primary-navigation .current-menu-item > a {
    color: var(--color-accent);
}

.primary-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-dark);
}

.menu-toggle svg {
    display: block;
}

/* Header Actions: Search + Cart */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.header-search-toggle {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.header-search-toggle:hover {
    color: var(--color-accent);
}

.header-search-toggle svg {
    display: block;
}

.cart-customlocation {
    color: var(--text-dark);
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.cart-customlocation:hover {
    color: var(--color-accent);
}

.cart-customlocation svg {
    display: block;
}

.hec-cart-count {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--color-accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    position: absolute;
    top: -8px;
    right: -10px;
}

/* Search Overlay */
.header-search-overlay {
    display: none;
    background: var(--bg-white);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    position: relative;
    z-index: calc(var(--z-header) - 1);
}

.header-search-overlay.is-open {
    display: block;
}

.header-search-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.header-search-form input {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.header-search-form input:focus {
    border-color: var(--color-accent);
}

.header-search-form button {
    background: var(--color-accent);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.header-search-form button:hover {
    background: #ea580c;
}

/* Floating Buttons */
.floating-action-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: var(--z-floating);
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.fab-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.fab-whatsapp { background-color: #25D366; }
.fab-call { background-color: var(--color-primary); }

.fab-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Service Icon in Colored Circle */
.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    font-size: 32px;
}

/* Hero Section */
.hero-section {
    padding: 100px 0; /* Padding inside the section, .full-width adds side padding */
    color: white;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-size: 13px;
}

.hero-title {
    color: white;
    max-width: 760px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 14px;
    margin-top: 34px;
    max-width: 620px;
}

.hero-proof div {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    color: white;
    font-size: 22px;
    line-height: 1.1;
}

.hero-proof span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    margin-top: 4px;
}

.hero-device-card {
    min-height: 440px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-mask {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.phone-showcase {
    width: min(100%, 420px);
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-shell {
    width: 210px;
    height: 350px;
    border: 10px solid #111827;
    border-radius: 36px;
    background: #111827;
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.24);
    position: relative;
}

.phone-speaker {
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: #334155;
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    height: 100%;
    border-radius: 26px;
    background: linear-gradient(160deg, #f8fafc 0%, #e0f2fe 45%, #fed7aa 100%);
    padding: 48px 20px 22px;
    box-sizing: border-box;
}

.screen-chip,
.screen-line,
.screen-cover {
    display: block;
    border-radius: var(--border-radius-sm);
}

.screen-chip {
    width: max-content;
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
}

.screen-line {
    width: 58%;
    height: 10px;
    background: rgba(15, 23, 42, 0.18);
    margin-top: 14px;
}

.screen-line-long {
    width: 82%;
    margin-top: 28px;
}

.screen-cover {
    height: 74px;
    margin-top: 22px;
    background: white;
    border: 2px solid rgba(15, 23, 42, 0.08);
}

.cover-one {
    background: linear-gradient(135deg, white 0%, #e0f2fe 100%);
}

.cover-two {
    width: 70%;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
}

.accessory-tile {
    position: absolute;
    background: white;
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 800;
}

.tile-case {
    top: 54px;
    left: 8px;
}

.tile-glass {
    right: 0;
    top: 145px;
}

.tile-cable {
    left: 18px;
    bottom: 70px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 24px;
    font-size: 48px;
}

.cta-section p {
    margin-bottom: 34px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 26px 0 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.about-features span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 5px rgba(255, 122, 24, 0.12);
    flex: 0 0 auto;
}

.repair-board {
    background: var(--bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    padding: 24px;
}

.repair-board-header,
.repair-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.repair-board-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-sm);
    padding: 18px;
    margin-bottom: 16px;
}

.repair-board-header strong,
.repair-row strong {
    white-space: nowrap;
}

.repair-row {
    border-bottom: 1px solid var(--color-border);
    padding: 18px 4px;
}

.repair-row:last-child {
    border-bottom: 0;
}

.repair-row-accent strong {
    color: var(--color-accent);
}

/* Services and products */
.service-card .btn-primary {
    display: block;
    margin-top: auto;
    width: 100%;
}

.service-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-icon-blue {
    background: var(--bg-icon-blue);
    color: #0ea5e9;
}

.service-icon-green {
    background: var(--bg-icon-green);
    color: var(--color-green);
}

.service-icon-orange {
    background: var(--bg-icon-orange);
    color: var(--color-accent);
}

.section-action {
    margin-top: 40px;
}

.fallback-product {
    gap: 12px;
}

.fallback-product h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.fallback-product p {
    margin: 0;
}

.fallback-product strong {
    color: var(--color-accent);
    margin-top: auto;
}

.fallback-product-media {
    aspect-ratio: 1 / 0.78;
    border-radius: var(--border-radius-sm);
    background: var(--gradient-subtle);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.fallback-product-media::before,
.fallback-product-media::after {
    content: "";
    position: absolute;
    border-radius: var(--border-radius-sm);
}

.media-case::before {
    width: 52%;
    height: 72%;
    border: 8px solid var(--color-primary);
    left: 24%;
    top: 14%;
}

.media-case::after {
    width: 18px;
    height: 18px;
    border: 3px solid var(--color-primary);
    right: 30%;
    top: 22%;
}

.media-glass::before {
    inset: 20%;
    border: 3px solid #0ea5e9;
    background: rgba(14, 165, 233, 0.08);
}

.media-glass::after {
    width: 56%;
    height: 3px;
    background: #0ea5e9;
    left: 22%;
    top: 50%;
}

.media-charger::before {
    width: 48%;
    height: 48%;
    background: var(--color-primary);
    left: 26%;
    top: 34%;
}

.media-charger::after {
    width: 28%;
    height: 18%;
    border-left: 5px solid var(--color-primary);
    border-right: 5px solid var(--color-primary);
    left: 36%;
    top: 18%;
}

.media-cable::before {
    width: 60%;
    height: 44%;
    border: 7px solid var(--color-accent);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    left: 18%;
    top: 23%;
}

.media-cable::after {
    width: 34px;
    height: 18px;
    background: var(--color-accent);
    right: 20%;
    bottom: 21%;
}

/* Flash sale */
.flash-sale-section {
    padding: 42px 0;
    color: white;
}

.flash-sale-section .flex-between {
    flex-wrap: wrap;
}

.flash-text {
    flex: 1;
    min-width: 300px;
}

.flash-text h2 {
    color: white;
    margin-bottom: 10px;
}

.flash-text p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.flash-action {
    margin-top: 20px;
}

/* Features */
.features-grid {
    margin-top: 12px;
}

.feature-item {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: white;
    padding: 30px 24px;
}

.feature-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    font-weight: 800;
    margin-bottom: 18px;
}

.feature-item h3 {
    margin-bottom: 10px;
}

.feature-item p {
    margin: 0;
}

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--bg-white);
    padding: 18px 20px;
    box-shadow: var(--shadow-soft);
}

.faq-list summary {
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 800;
}

.faq-list p {
    margin: 12px 0 0;
}

/* =========================================================
   FOOTER — True Full-Width Edge-to-Edge
========================================================= */
.site-footer {
    width: 100%;
    background: #f8fafc;
    color: var(--text-muted);
    margin: 0;
    padding: 0;
    position: relative;
}

/* Bulletproof full-bleed background */
.site-footer::before {
    content: "";
    position: absolute;
    left: -100vw;
    right: -100vw;
    top: 0;
    bottom: 0;
    background: #f8fafc;
    z-index: -1;
}

/* Wide inner container — NOT boxed */
.footer-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 60px;
    box-sizing: border-box;
}

/* 4-column weighted grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer-brand img {
    max-height: 44px;
    width: auto;
    margin-bottom: 24px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.footer-widget h3,
.footer-widget h4 {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.footer-widget h3 {
    font-size: 24px;
    text-transform: none;
    letter-spacing: 0;
}

.footer-widget p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    max-width: 340px;
}

.footer-menu-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 14px;
}

.footer-menu-list a {
    color: #64748b;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-menu-list a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #64748b;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--color-accent);
}

.footer-contact-list a,
.footer-contact-list span {
    color: #64748b;
}

.footer-contact-list a:hover {
    color: var(--color-accent);
}

/* Footer Bottom Bar */
.footer-bottom {
    width: 100%;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-bottom .footer-container {
    padding: 24px 60px;
}

.footer-copyright {
    font-size: 14px;
    color: #94a3b8;
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-payment-icons svg {
    display: block;
    border-radius: 4px;
}

/* Activation contact page */
.contact-page-shell {
    padding: var(--space-lg) 24px;
}

.contact-page-grid {
    gap: 32px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .grid-cols-4, .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-proof { margin-left: auto; margin-right: auto; }
    .about-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    /* Header: show hamburger, hide inline nav */
    .menu-toggle { display: flex; }

    .header-grid {
        grid-template-columns: 1fr auto auto;
        gap: 16px;
    }

    .primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--color-border);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        padding: 16px 24px;
        z-index: var(--z-dropdown);
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .primary-navigation li {
        border-bottom: 1px solid var(--color-border);
    }

    .primary-navigation li:last-child {
        border-bottom: none;
    }

    .primary-navigation a {
        display: block;
        padding: 14px 0;
    }

    .primary-navigation a::after { display: none; }

    /* Footer: 2 columns on tablet */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-container { padding: 60px 40px; }
}

@media (max-width: 768px) {
    .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; gap: 24px; }
    .section:not(.hero-section):not(.cta-section) { padding: var(--space-md) 0; }
    .full-width { padding: 0 16px; }
    .hero-section { padding: 60px 0; }
    .hero-device-card { min-height: 360px; }
    .phone-showcase { min-height: 340px; transform: scale(0.86); }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
    }
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 34px; }
    .flex-between { flex-direction: column; gap: 16px; text-align: center; }
    .top-bar-inner { flex-direction: column; gap: 4px; text-align: center; }
    .top-bar-phone { justify-content: center; }
    .repair-board-header,
    .repair-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    /* Footer responsive */
    .footer-container { padding: 48px 20px; }
    .footer-bottom .footer-container { padding: 20px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .footer-widget p { margin-left: auto; margin-right: auto; }
    .footer-contact-list li { justify-content: center; }
    .footer-bottom .flex-between { flex-direction: column; gap: 12px; text-align: center; }
    
    .floating-action-buttons {
        bottom: 20px;
        left: 20px;
    }
}
