/* ========================================
   Wireless World — Classic & Elegant
   Emerald Green + Cream Palette
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ece8dd;
    --cream-300: #e0d9c8;
    --warm-gray-50: #FAFAF9;
    --warm-gray-100: #F5F5F4;
    --warm-gray-200: #E7E5E4;
    --warm-gray-300: #D6D3D1;
    --warm-gray-400: #A8A29E;
    --warm-gray-500: #78716C;
    --warm-gray-600: #57534E;
    --warm-gray-700: #44403C;
    --warm-gray-800: #292524;
    --warm-gray-900: #1C1917;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 2px rgba(6, 78, 59, 0.05);
    --shadow-md: 0 4px 12px rgba(6, 78, 59, 0.08);
    --shadow-lg: 0 8px 30px rgba(6, 78, 59, 0.12);
    --shadow-xl: 0 16px 50px rgba(6, 78, 59, 0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--warm-gray-800);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.nav-logo-icon {
    color: var(--emerald-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--emerald-700);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--emerald-800);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--emerald-800);
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--emerald-700);
    color: white !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--warm-gray-700);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream-50);
    z-index: 999;
    padding: var(--space-2xl);
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    animation: fadeIn 0.3s ease;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--warm-gray-800);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--cream-200);
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--emerald-700);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--emerald-800);
    padding: var(--space-lg);
    background: var(--emerald-50, #f0fdf4);
    border-radius: var(--radius-lg);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 70% 30%, rgba(6, 78, 59, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 78, 59, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: rgba(6, 78, 59, 0.06);
    border: 1px solid rgba(6, 78, 59, 0.12);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--emerald-800);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-600);
    animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.01em;
}

.hero-accent {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-body {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--warm-gray-600);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-trust {
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-600);
}

.trust-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-800);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-800);
    color: white;
    box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(6, 78, 59, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-gray-700);
    border: 1.5px solid var(--warm-gray-300);
}

.btn-secondary:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-800);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--warm-gray-900);
    color: white;
}

.btn-dark:hover {
    background: var(--warm-gray-700);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--emerald-900);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.title-accent {
    font-style: italic;
    color: var(--emerald-700);
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--warm-gray-500);
}

/* --- Services Section --- */
.services {
    padding: var(--space-4xl) 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 78, 59, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-md);
    color: var(--emerald-800);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-sm);
}

.service-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--warm-gray-500);
}

/* --- About Section --- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-content {
    max-width: 480px;
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--warm-gray-600);
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.value-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    padding: 0.4rem 0.75rem;
    background: white;
    border: 1px solid var(--cream-200);
    border-radius: 100px;
}

.value-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cream-300);
}

/* --- Products Section --- */
.products {
    padding: var(--space-4xl) 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    padding: var(--space-lg);
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-xs);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--warm-gray-500);
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta {
    padding: var(--space-4xl) 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 78, 59, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta .section-label {
    color: var(--emerald-400, #34d399);
}

.cta .section-title {
    color: white;
}

.cta .title-accent {
    color: var(--emerald-400, #34d399);
}

.cta-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info {
    max-width: 440px;
}

.contact-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--warm-gray-500);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-md);
    color: var(--emerald-800);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray-400);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--warm-gray-800);
    line-height: 1.5;
}

.contact-item a {
    color: var(--emerald-700);
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--emerald-600);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrap {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--cream-200);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(6, 78, 59, 0.06);
    border: 1px solid rgba(6, 78, 59, 0.15);
    border-radius: var(--radius-md);
    color: var(--emerald-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: var(--space-md);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* --- Map Section --- */
.map-section {
    height: 380px;
    background: var(--cream-200);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Footer --- */
.footer {
    background: var(--warm-gray-900);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    color: var(--emerald-500);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--warm-gray-400);
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--warm-gray-400);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-phone,
.footer-email {
    font-size: 0.9rem;
    color: var(--warm-gray-400);
    transition: color 0.2s ease;
}

.footer-phone:hover,
.footer-email:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--warm-gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--warm-gray-500);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Scroll reveal — progressive enhancement, only below fold */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: var(--space-2xl);
    }
    
    .hero-image img {
        height: 560px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        padding: var(--space-2xl) var(--space-lg);
        gap: var(--space-2xl);
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-image img {
        height: 420px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .hero-trust {
        gap: var(--space-lg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image img {
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}
