/* ===== Emap Solar - Unique Styles ===== */
/* Font pairing: Plus Jakarta Sans + Outfit */
/* Palette: Solar Yellow, Orange, Sky Blue */

:root {
    --primary: #eab308;
    --primary-dark: #ca8a04;
    --primary-light: #facc15;
    --primary-bg: #fefce8;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --sky: #38bdf8;
    --sky-dark: #0284c7;
    --sky-bg: #f0f9ff;
    --white: #ffffff;
    --off-white: #fffbeb;
    --light-gray: #fafaf9;
    --medium-gray: #e7e5e4;
    --dark: #1c1917;
    --text: #44403c;
    --text-light: #78716c;
    --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --font-body: 'Outfit', 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(234,179,8,0.06);
    --shadow-md: 0 4px 14px rgba(234,179,8,0.1);
    --shadow-lg: 0 8px 32px rgba(234,179,8,0.12);
    --shadow-orange: 0 4px 20px rgba(249,115,22,0.2);
    --radius: 10px;
    --radius-lg: 18px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--primary-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}

.logo-sun {
    font-size: 28px;
    filter: drop-shadow(0 2px 6px rgba(234,179,8,0.4));
}

.logo-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
}

.logo-text small {
    font-size: 0.68rem;
    color: var(--orange);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.main-nav {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color var(--transition);
}

.nav-list a:hover {
    color: var(--orange);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active .hamburger:nth-child(2) { opacity: 0; }
.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(165deg, var(--off-white) 0%, var(--primary-bg) 25%, #fef3c7 50%, #fff7ed 75%, var(--sky-bg) 100%);
    padding: 60px 0 75px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234,179,8,0.12) 0%, transparent 60%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.06rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 820px;
}

.hero-body h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--orange-dark);
    margin: 34px 0 14px;
}

.hero-body p {
    margin-bottom: 16px;
    font-size: 0.97rem;
}

.hero-body a {
    color: var(--sky-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-color: var(--orange);
}

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

.btn-outline {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
    padding: 70px 0;
}

.section-alt {
    background: var(--light-gray);
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 40px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    gap: 22px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 4px solid var(--primary);
}

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

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* ===== ADVANTAGES ===== */
.advantages-grid {
    display: grid;
    gap: 22px;
}

.advantage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-bottom: 4px solid var(--sky);
    transition: transform var(--transition);
}

.advantage-card:hover {
    transform: translateY(-4px);
}

.advantage-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 8px;
}

.advantage-card h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== STEPS ===== */
.steps-grid {
    display: grid;
    gap: 22px;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--sky));
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-left: 10px;
}

.step-card h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* ===== CONTACT ===== */
.contact-info-grid {
    display: grid;
    gap: 20px;
    max-width: 700px;
    margin: 30px auto 0;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card p {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 45px 0 35px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-about p {
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.footer-about a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-links h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 999;
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeInUp 0.7s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .main-nav { display: block; }

    .hero h1 { font-size: 2.4rem; }
    .hero { padding: 80px 0 90px; }

    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .advantages-grid { grid-template-columns: repeat(4, 1fr); }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-about { max-width: 50%; }
}

@media (min-width: 1024px) {
    .hero h1 { font-size: 2.7rem; }
}
