/*
Theme Name: ConnectiveTech
Theme URI: https://connectivetech.co.za
Author: ConnectiveTech
Description: Dark, fast, single-header theme for ConnectiveTech — iPhone resale & repairs, Durban. WooCommerce ready.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: connectivetech
*/

/* ===== TOKENS ===== */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f0f0f0;
  --muted: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.4);
  --blue: #1B9ED4;
  --blue-d: #1480b0;
  --wa: #25D366;
  --nav-h: 68px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font); margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.ct-main { display: block; min-height: 60vh; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ===== NAV ===== */
.ct-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; height: var(--nav-h); padding: 0 48px; display: flex; align-items: center; justify-content: space-between; background: rgba(10,10,10,.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); }
body.admin-bar .ct-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ct-nav { top: 46px; } }
.ct-nav-logo { display: flex; flex-direction: column; text-decoration: none; }
.ct-nav-logo-text { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.ct-nav-logo-text span { color: var(--blue); }
.ct-nav-logo-tag { font-size: 10px; font-weight: 300; color: var(--faint); letter-spacing: 1.5px; text-transform: uppercase; margin-top: -2px; }
.ct-nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.ct-nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.ct-nav-links a:hover { color: #fff; }
.ct-nav-links a.active { color: var(--blue); font-weight: 600; }
.ct-dropdown { position: relative; }
.ct-dropdown-btn { font: 500 14px var(--font); color: var(--muted); background: none; border: none; cursor: pointer; padding: 0; transition: color .2s; }
.ct-dropdown-btn:hover, .ct-dropdown:focus-within .ct-dropdown-btn { color: #fff; }
.ct-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; padding-top: 12px; z-index: 100; min-width: 200px; }
.ct-dropdown-inner { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ct-dropdown:hover .ct-dropdown-menu, .ct-dropdown:focus-within .ct-dropdown-menu { display: block; }
.ct-dropdown-inner a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; transition: background .2s, color .2s; }
.ct-dropdown-inner a:hover { background: rgba(27,158,212,.1); color: var(--blue); }
.ct-nav-right { display: flex; align-items: center; gap: 14px; }
.ct-nav-wa { display: flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.ct-nav-wa:hover { background: var(--blue-d); }
.ct-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.ct-cart:hover { color: #fff; }
.ct-cart-count { background: var(--blue); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.ct-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.ct-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.ct-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ct-hamburger.open span:nth-child(2) { opacity: 0; }
.ct-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.ct-mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: rgba(10,10,10,.98); z-index: 9998; flex-direction: column; padding: 24px; gap: 4px; overflow-y: auto; }
body.admin-bar .ct-mobile-menu { top: calc(var(--nav-h) + 46px); }
.ct-mobile-menu.open { display: flex; }
.ct-mobile-menu a { font-size: 18px; font-weight: 600; color: rgba(255,255,255,.7); text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); letter-spacing: -.3px; }
.ct-mobile-menu a.sub { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.5); padding-left: 16px; }
.ct-mobile-menu a:hover, .ct-mobile-menu a.active { color: var(--blue); }
.ct-mobile-toggle { display: flex; align-items: center; justify-content: space-between; font: 600 11px var(--font); color: var(--blue); letter-spacing: 2px; text-transform: uppercase; padding: 16px 0 8px; cursor: pointer; border: none; background: none; width: 100%; }
.ct-mobile-toggle-arrow { font-size: 12px; transition: transform .3s; }
.ct-mobile-toggle.open .ct-mobile-toggle-arrow { transform: rotate(180deg); }
.ct-mobile-submenu { display: none; flex-direction: column; }
.ct-mobile-submenu.open { display: flex; }
.ct-mobile-wa { margin-top: 24px; display: flex !important; align-items: center; gap: 10px; background: var(--blue); color: #fff !important; padding: 14px 24px !important; border-radius: 100px; font-size: 16px; font-weight: 600; justify-content: center; border-bottom: none !important; }

@media (max-width: 900px) {
  .ct-nav { padding: 0 20px; }
  .ct-nav-links, .ct-nav-wa { display: none; }
  .ct-hamburger { display: flex; }
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline, .btn-wa, .btn-email, .btn-submit { font-family: var(--font); font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 100px; padding: 15px 32px; transition: background .2s, transform .2s, border-color .2s, opacity .2s; cursor: pointer; }
.btn-primary { background: var(--blue); color: #fff; font-weight: 600; border: none; }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-2px); }
.btn-outline, .btn-email { background: transparent; color: var(--text); font-weight: 500; border: 1px solid var(--line-2); }
.btn-outline:hover, .btn-email:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; font-weight: 600; border: none; white-space: nowrap; }
.btn-wa:hover { opacity: .9; transform: translateY(-2px); }

/* ===== SECTIONS (home) ===== */
.ct-section { padding: 100px 48px; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; display: block; }
.section-title { font-size: clamp(42px, 5vw, 70px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 16px; color: #fff; }
.section-sub { font-size: 19px; font-weight: 400; color: var(--muted); max-width: 540px; margin-bottom: 56px; line-height: 1.7; }

.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 100px 48px 40px; text-align: center; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(27,158,212,.08) 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 100%); }
.hero-content { position: relative; max-width: 820px; margin: 0 auto; animation: ct-fadeUp .9s ease both; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(27,158,212,.1); border: 1px solid rgba(27,158,212,.25); color: var(--blue); font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 7px 16px; border-radius: 100px; margin-bottom: 32px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: ct-pulse 2s infinite; }
.hero h1 { font-size: clamp(56px, 9vw, 110px); font-weight: 900; line-height: .95; letter-spacing: -4px; margin-bottom: 28px; color: #fff; }
.hero h1 .blue { color: var(--blue); }
.hero p { font-size: 21px; font-weight: 400; color: var(--muted); max-width: 560px; margin: 0 auto 52px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.trust-pills { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding-bottom: 20px; }
.trust-pill { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px 24px; border-radius: 100px; font-size: 16px; color: rgba(255,255,255,.5); }
.trust-pill strong { color: var(--text); font-weight: 600; }

.services-inner, .why-inner, .repairs-inner, .how-inner { max-width: 1100px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.service-card { background: var(--bg-2); padding: 44px 36px; transition: background .3s; }
.service-card:hover { background: var(--bg-3); }
.service-icon { width: 52px; height: 52px; background: rgba(27,158,212,.1); border: 1px solid rgba(27,158,212,.2); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.service-card h3 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 10px; color: #fff; }
.service-card p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; transition: gap .2s; }
.service-link:hover { gap: 10px; }
.service-link::after { content: '→'; }

.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-inner, .repairs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-visual, .repairs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-stat { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; text-align: center; }
.why-stat-num { font-size: 48px; font-weight: 900; color: var(--blue); letter-spacing: -1px; display: block; margin-bottom: 4px; line-height: 1.05; }
.why-stat-label { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.4; }
.why-points { display: flex; flex-direction: column; gap: 20px; }
.why-point { display: flex; align-items: flex-start; gap: 16px; }
.why-point-icon { width: 36px; height: 36px; background: rgba(27,158,212,.1); border: 1px solid rgba(27,158,212,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.why-point-text h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.why-point-text p { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.6; margin: 0; }

.repair-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; text-align: center; transition: border-color .3s, transform .3s; }
.repair-card:hover { border-color: rgba(27,158,212,.3); transform: translateY(-3px); }
.repair-card > span { font-size: 32px; display: block; margin-bottom: 10px; }
.repair-name { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.repair-price { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.repairs-checks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.repair-check { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--muted); }
.repair-check::before { content: '✓'; width: 22px; height: 22px; background: rgba(27,158,212,.1); border: 1px solid rgba(27,158,212,.3); color: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

.how { background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; }
.how-inner { max-width: 900px; }
.how .section-sub { margin-left: auto; margin-right: auto; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.how-steps::before { content: ''; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line); }
.how-step { padding: 0 20px; }
.step-circle { width: 54px; height: 54px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--faint); margin: 0 auto 20px; position: relative; z-index: 1; transition: background .3s, border-color .3s, color .3s; }
.how-step:hover .step-circle { background: var(--blue); border-color: var(--blue); color: #fff; }
.how-step h4 { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.how-step p { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0; }

.cta { border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(27,158,212,.1) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.cta-inner { position: relative; max-width: 600px; margin: 0 auto; }
.cta h2 { font-size: clamp(48px, 6vw, 72px); font-weight: 900; letter-spacing: -2px; color: #fff; margin-bottom: 16px; line-height: 1.05; position: relative; }
.cta h2 span { color: var(--blue); }
.cta p { font-size: 19px; font-weight: 400; color: var(--muted); margin-bottom: 40px; line-height: 1.7; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-card { padding: 48px; border: 1px solid var(--line); border-radius: 20px; }
.cta-card h2 { font-size: 36px; letter-spacing: -1.5px; margin-bottom: 12px; }
.cta-card p { font-size: 16px; margin-bottom: 32px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes ct-fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes ct-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-content { animation: none; } }

/* ===== FOOTER ===== */
.ct-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-logo-text { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-logo-text span { color: var(--blue); }
.footer-tagline { font-size: 11px; color: var(--faint); letter-spacing: 1px; text-transform: uppercase; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--faint); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-right { text-align: right; }
.footer-contact { font-size: 13px; color: var(--faint); line-height: 1.8; }
.footer-contact a { color: var(--faint); text-decoration: none; }
.footer-contact a:hover { color: var(--blue); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.2); margin-top: 8px; }

/* ===== INNER PAGES ===== */
.ct-page { padding: calc(var(--nav-h) + 48px) 48px 100px; max-width: 800px; margin: 0 auto; }
.ct-page-mid { max-width: 900px; }
.ct-page-wide { max-width: 1100px; }
.ct-page-narrow { max-width: 760px; }
.page-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(27,158,212,.1); border: 1px solid rgba(27,158,212,.25); color: var(--blue); font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 7px 16px; border-radius: 100px; margin-bottom: 24px; }
.page-title { font-size: clamp(42px, 6vw, 72px); font-weight: 900; letter-spacing: -2.5px; line-height: .95; color: #fff; margin-bottom: 20px; }
.page-title span { color: var(--blue); }
.page-sub { font-size: 18px; font-weight: 400; color: rgba(255,255,255,.5); margin-bottom: 56px; line-height: 1.7; max-width: 600px; }

/* generic editor content */
.ct-content { font-size: 16px; color: var(--muted); line-height: 1.8; font-weight: 400; }
.ct-content h2, .ct-content h3 { color: #fff; font-weight: 800; letter-spacing: -.5px; margin: 1.6em 0 .6em; }
.ct-content h2 { font-size: 28px; } .ct-content h3 { font-size: 20px; }
.ct-content strong { color: #fff; }
.ct-content ul, .ct-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.ct-hero-img { border-radius: 16px; margin-bottom: 32px; width: 100%; }

/* repairs */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 64px; }
.price-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px 16px; text-align: center; }
.price-card > span { font-size: 28px; display: block; margin-bottom: 8px; }
.price-name { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.price-amt { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.form-title { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.5px; margin-bottom: 8px; }
.form-sub { font-size: 15px; color: var(--faint); margin-bottom: 32px; }
.ct-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.ct-form label, .ct-woo label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.ct-form input, .ct-form select, .ct-form textarea,
.ct-woo input[type=text], .ct-woo input[type=email], .ct-woo input[type=tel], .ct-woo input[type=password], .ct-woo input[type=number], .ct-woo select, .ct-woo textarea, .ct-woo .select2-selection {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 18px; font: 400 15px var(--font); color: var(--text); outline: none; transition: border-color .2s; width: 100%; }
.ct-form input::placeholder, .ct-form textarea::placeholder, .ct-woo input::placeholder { color: rgba(255,255,255,.25); }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus, .ct-woo input:focus, .ct-woo select:focus, .ct-woo textarea:focus { border-color: var(--blue); }
.ct-form select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.ct-form select option { background: var(--bg-3); color: var(--text); }
.ct-form textarea { resize: vertical; min-height: 120px; }
.ct-form-note { font-size: 13px; color: rgba(255,255,255,.3); margin-bottom: 20px; }
.btn-submit { width: 100%; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; border: none; margin-top: 8px; }
.btn-submit:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success .tick { font-size: 56px; margin-bottom: 16px; }
.form-success h3 { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 8px; }
.form-success p { font-size: 16px; color: rgba(255,255,255,.5); }

/* about */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; align-items: start; }
.story-text h2 { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 16px; }
.story-text p { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.8; }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 900; color: var(--blue); letter-spacing: -1px; display: block; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--faint); line-height: 1.4; }
.values { margin-bottom: 64px; }
.values h2 { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 24px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
.value-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.value-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0; }
.contact { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 48px; margin-bottom: 64px; }
.contact h2 { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 8px; }
.contact-sub { font-size: 16px; color: rgba(255,255,255,.5); margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 44px; height: 44px; background: rgba(27,158,212,.1); border: 1px solid rgba(27,158,212,.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-details h4 { font-size: 13px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-details a, .contact-details p { font-size: 15px; color: #fff; text-decoration: none; font-weight: 500; line-height: 1.5; margin: 0; }
.contact-details a:hover { color: var(--blue); }

/* iPhones landing */
.categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.cat-card { border-radius: 20px; overflow: hidden; text-decoration: none; display: block; background: var(--bg-2); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.cat-card:hover { transform: translateY(-6px); border-color: rgba(27,158,212,.4); }
.cat-card-img { width: 100%; height: 260px; object-fit: contain; background: var(--bg-2); padding: 24px; display: block; }
.cat-card-placeholder { display: flex; align-items: center; justify-content: center; font-size: 72px; opacity: .35; }
.cat-card-content { padding: 24px; }
.cat-badge { display: inline-flex; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; }
.cat-card-content h2 { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -.5px; margin-bottom: 8px; line-height: 1.2; }
.cat-card-content p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.cat-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; padding: 12px 24px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: background .2s; }
.cat-btn::after { content: '→'; }
.cat-card:hover .cat-btn { background: var(--blue-d); }

/* blog */
.coming-soon { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 80px 48px; text-align: center; margin-bottom: 48px; position: relative; overflow: hidden; }
.coming-soon-glow { position: absolute; width: 400px; height: 300px; background: radial-gradient(ellipse, rgba(27,158,212,.06) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.coming-soon-icon { font-size: 56px; margin-bottom: 24px; display: block; position: relative; }
.coming-soon h2 { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 12px; position: relative; }
.coming-soon p { font-size: 16px; color: rgba(255,255,255,.5); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; position: relative; }
.coming-soon .btn-wa { position: relative; }
.topics h2 { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.5px; margin-bottom: 20px; }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 64px; }
.topic-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; transition: border-color .3s; }
.topic-card:hover { border-color: rgba(27,158,212,.3); }
.topic-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.topic-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.topic-card p { font-size: 13px; color: var(--faint); line-height: 1.5; margin: 0; }
.notify { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.notify-text h2 { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; margin-bottom: 6px; }
.notify-text p { font-size: 15px; color: rgba(255,255,255,.5); margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 48px; }
.post-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: border-color .3s, transform .3s; display: block; }
.post-card:hover { border-color: rgba(27,158,212,.3); transform: translateY(-3px); }
.post-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.post-card-body { padding: 24px; }
.post-card-date { font-size: 12px; color: var(--blue); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.post-card h2 { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.5px; margin-bottom: 8px; line-height: 1.25; }
.post-card p { font-size: 14px; color: var(--faint); margin: 0; }
.ct-pagination { text-align: center; margin-bottom: 48px; }
.ct-pagination a, .ct-pagination .current { color: var(--muted); padding: 8px 14px; border-radius: 100px; text-decoration: none; }
.ct-pagination .current { background: var(--blue); color: #fff; }

/* ===== WOOCOMMERCE (dark) ===== */
.ct-woo, .ct-woo p, .ct-woo li, .ct-woo td, .ct-woo th { color: var(--muted); font-family: var(--font); font-weight: 400; }
.ct-woo h1, .ct-woo h2, .ct-woo h3, .ct-woo .woocommerce-loop-product__title, .ct-woo .product_title { color: #fff; font-weight: 800; letter-spacing: -.5px; }
.ct-woo h1.page-title, .ct-woo .woocommerce-products-header__title { font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 32px; }
.ct-woo a { color: var(--blue); }
.ct-woo .woocommerce-breadcrumb { display: none; }
.ct-woo .woocommerce-result-count { color: var(--faint); font-size: 13px; }
.ct-woo .woocommerce-ordering select { width: auto; padding: 10px 40px 10px 16px; border-radius: 100px; }

/* product grid */
.ct-woo ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0 0 40px; padding: 0; }
.ct-woo ul.products::before, .ct-woo ul.products::after { display: none; }
.ct-woo ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; padding: 0 0 20px; transition: border-color .3s, transform .3s; position: relative; text-align: left; }
.ct-woo ul.products li.product:hover { border-color: rgba(27,158,212,.3); transform: translateY(-3px); }
.ct-woo ul.products li.product a { text-decoration: none; }
.ct-woo ul.products li.product img { margin: 0 0 12px !important; width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg-2); padding: 16px; border-radius: 0; }
.ct-woo ul.products li.product .woocommerce-loop-product__title { font-size: 16px; padding: 0 20px; margin-bottom: 6px; }
.ct-woo ul.products li.product .price { display: block; padding: 0 20px; color: #fff !important; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.ct-woo ul.products li.product .price del { color: var(--faint); font-weight: 400; font-size: 14px; }
.ct-woo ul.products li.product .price ins { text-decoration: none; }
.ct-woo ul.products li.product .button { margin: 0 20px; }
.ct-woo span.onsale { background: var(--blue); color: #fff; border-radius: 100px; min-height: 0; min-width: 0; line-height: 1; padding: 7px 12px; font-size: 11px; font-weight: 700; top: 12px; left: 12px; right: auto; }

/* buttons: Add to cart = square black, white text, white border (as per brief) */
.ct-woo a.button, .ct-woo button.button, .ct-woo input.button, .ct-woo #respond input#submit, .ct-woo .button.alt,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  background: #000 !important; color: #fff !important; border: 1px solid #fff !important; border-radius: 0 !important; font: 600 14px var(--font) !important; padding: 14px 24px !important; text-transform: none; letter-spacing: 0; transition: background .2s, color .2s; }
.ct-woo a.button:hover, .ct-woo button.button:hover, .ct-woo input.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: #fff !important; color: #000 !important; }
.ct-woo .checkout-button, .ct-woo #place_order { background: var(--blue) !important; border-color: var(--blue) !important; border-radius: 100px !important; }
.ct-woo .checkout-button:hover, .ct-woo #place_order:hover { background: var(--blue-d) !important; color: #fff !important; }

/* single product */
.ct-woo div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ct-woo div.product div.images, .ct-woo div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.ct-woo div.product div.images img { border-radius: 16px; background: var(--bg-2); }
.ct-woo div.product .woocommerce-product-gallery__wrapper { border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.ct-woo .product_title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; }
.ct-woo div.product p.price, .ct-woo div.product span.price { color: #fff !important; font-size: 28px; font-weight: 800; margin-bottom: 20px; display: block; }
.ct-woo .woocommerce-product-details__short-description { margin-bottom: 24px; }
.ct-woo .quantity .qty { width: 80px; text-align: center; border-radius: 0; }
.ct-woo form.cart { display: flex; gap: 12px; align-items: stretch; margin-bottom: 24px; flex-wrap: wrap; }
.ct-woo .product_meta { font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.ct-woo div.product .woocommerce-tabs, .ct-woo div.product .related, .ct-woo div.product .upsells { grid-column: 1 / -1; }
.ct-woo .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; list-style: none; display: flex; gap: 8px; border: none; }
.ct-woo .woocommerce-tabs ul.tabs::before, .ct-woo .woocommerce-tabs ul.tabs::after { display: none; }
.ct-woo .woocommerce-tabs ul.tabs li { background: transparent !important; border: 1px solid var(--line-2) !important; border-radius: 100px !important; margin: 0 !important; padding: 0 !important; }
.ct-woo .woocommerce-tabs ul.tabs li::before, .ct-woo .woocommerce-tabs ul.tabs li::after { display: none !important; }
.ct-woo .woocommerce-tabs ul.tabs li a { color: var(--muted); padding: 10px 20px; display: block; font-weight: 600; font-size: 14px; }
.ct-woo .woocommerce-tabs ul.tabs li.active { background: var(--blue) !important; border-color: var(--blue) !important; }
.ct-woo .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.ct-woo .related > h2, .ct-woo .upsells > h2 { font-size: 28px; margin-bottom: 20px; }

/* cart, checkout, notices */
.ct-woo table.shop_table, .ct-woo table.shop_table td, .ct-woo table.shop_table th { background: transparent; border-color: var(--line) !important; color: var(--muted); }
.ct-woo table.shop_table { border: 1px solid var(--line); border-radius: 16px; border-collapse: separate; overflow: hidden; }
.ct-woo .cart_totals, .ct-woo .woocommerce-checkout-review-order, .ct-woo #customer_details, .ct-woo .woocommerce-form-login, .ct-woo .woocommerce-form-coupon { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.ct-woo .woocommerce-message, .ct-woo .woocommerce-info, .ct-woo .woocommerce-error { background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-top: 3px solid var(--blue); border-radius: 12px; }
.ct-woo .woocommerce-message::before, .ct-woo .woocommerce-info::before { color: var(--blue); }
.ct-woo .woocommerce-error { border-top-color: #e5484d; }
.ct-woo .woocommerce-message a.button { float: right; }
.ct-woo #payment { background: transparent; border-radius: 12px; }
.ct-woo #payment ul.payment_methods { border-bottom: 1px solid var(--line); }
.ct-woo #payment div.payment_box { background: var(--bg-3); color: var(--muted); }
.ct-woo #payment div.payment_box::before { border-bottom-color: var(--bg-3); }
.ct-woo .woocommerce-pagination ul { border: none; display: flex; gap: 6px; justify-content: center; }
.ct-woo .woocommerce-pagination ul li { border: none; }
.ct-woo .woocommerce-pagination ul li a, .ct-woo .woocommerce-pagination ul li span { background: var(--bg-2); color: var(--muted); border-radius: 100px; padding: 8px 14px; }
.ct-woo .woocommerce-pagination ul li span.current { background: var(--blue); color: #fff; }
.ct-woo .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.ct-woo .woocommerce-MyAccount-navigation a { display: block; padding: 10px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.ct-woo .woocommerce-MyAccount-navigation .is-active a { color: var(--blue); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .ct-section { padding: 72px 24px; }
  .hero { padding: 100px 24px 40px; }
  .services-grid, .categories, .values-grid, .topics-grid { grid-template-columns: 1fr; }
  .why-inner, .repairs-inner, .story, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { gap: 24px; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .how-steps::before { display: none; }
  .ct-footer { grid-template-columns: 1fr; padding: 32px 24px; }
  .footer-right { text-align: left; }
  .footer-links { flex-wrap: wrap; gap: 18px; }
  .ct-page { padding: calc(var(--nav-h) + 28px) 24px 80px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .ct-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact, .coming-soon, .notify, .cta-card { padding: 28px 24px; }
  .post-grid { grid-template-columns: 1fr; }
  .ct-woo ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ct-woo div.product { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .hero h1 { letter-spacing: -2px; }
  .hero p { font-size: 18px; }
  .trust-pill { font-size: 14px; padding: 12px 18px; }
  .ct-woo ul.products { grid-template-columns: 1fr; }
}
