/* index.css */
* {
    box-sizing: border-box;
}

:root {
    --bg: #f0fdfa;
    --surface: #ffffff;
    --surface-2: #ccfbf1;
    --text: #134e4a;
    --muted: rgba(19, 78, 74, 0.65);
    --brand: #0d9488;
    --brand-2: #14b8a6;
    --brand-3: #f97316;
    --border: rgba(13, 148, 136, 0.2);
    --shadow: 0 20px 60px rgba(13, 148, 136, 0.15);
}

html, body {
    height: 100%;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(13, 148, 136, 0.12), transparent 55%),
        radial-gradient(900px 500px at 80% 20%, rgba(20, 184, 166, 0.08), transparent 50%),
        radial-gradient(700px 450px at 60% 80%, rgba(249, 115, 22, 0.06), transparent 55%),
        var(--bg);
    color: var(--text);
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.55);
    outline-offset: 3px;
    border-radius: 10px;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: 20px;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    transition: transform 200ms ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.logo-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-call-now {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--brand-3), #ea580c);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-call-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-call-now svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

nav h1 {
    font-size: 18px;
    margin: 0;
    letter-spacing: 0.2px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

nav ul li a:hover {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.2);
    transform: translateY(-1px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 28px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(800px 360px at 20% 0%, rgba(13, 148, 136, 0.18), transparent 55%),
        radial-gradient(600px 300px at 80% 10%, rgba(20, 184, 166, 0.12), transparent 55%),
        radial-gradient(700px 420px at 60% 90%, rgba(249, 115, 22, 0.1), transparent 55%);
    opacity: 0.9;
    transform: translate3d(0, 0, 0);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 22px;
    align-items: start;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
    object-fit: cover;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.section-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
}

.card-image-small {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.25);
    color: var(--text);
    margin: 0 0 14px;
    font-size: 13px;
}

.hero-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.4px;
}

.subhead {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #ffffff;
    box-shadow: 0 14px 36px rgba(13, 148, 136, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 18px 44px rgba(13, 148, 136, 0.35);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 45%, transparent 60%);
    transform: translateX(-30%) rotate(10deg);
    transition: transform 650ms ease;
}

.btn-primary:hover::after {
    transform: translateX(30%) rotate(10deg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(13, 148, 136, 0.25);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(13, 148, 136, 0.4);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.metric {
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(13, 148, 136, 0.15);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

.metric-value {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 12px;
    color: var(--muted);
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform 220ms ease, border-color 220ms ease;
}

.hero-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.35);
}

.hero-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.checklist {
    margin: 0 0 12px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.link {
    color: var(--brand-2);
    text-decoration: none;
    font-weight: 700;
}

.link:hover {
    text-decoration: underline;
}

.section {
    padding: 26px 0;
}

.section.alt {
    background: rgba(204, 251, 241, 0.4);
    border-top: 1px solid rgba(13, 148, 136, 0.1);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

.section-head {
    margin-bottom: 16px;
}

.section-head h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.card {
    border: 1px solid rgba(13, 148, 136, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    box-shadow: 0 10px 26px rgba(13, 148, 136, 0.08);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.3);
    background: rgba(255, 255, 255, 1);
}

.card h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.6;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(13, 148, 136, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 13px;
    transition: transform 200ms ease, border-color 200ms ease;
}

.pill:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 148, 136, 0.45);
}

.section.cta {
    padding-bottom: 46px;
}

.cta-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(13, 148, 136, 0.25);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(204, 251, 241, 0.6));
    border-radius: 18px;
    padding: 18px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cta-phone {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.muted {
    color: var(--muted);
    margin: 0;
}

footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
}

footer p {
    margin: 0;
    color: rgba(19, 78, 74, 0.65);
    font-size: 13px;
    padding: 12px 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 200ms ease, box-shadow 200ms ease;
    z-index: 100;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* Enhanced Footer Styles */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 40px 0 30px;
}

.footer-col h4 {
    color: var(--brand);
    font-size: 18px;
    margin: 0 0 16px;
    font-weight: 700;
}

.footer-tagline {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 10px;
}

.footer-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 200ms ease;
}

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

.footer-contact {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.footer-contact a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.footer-credit {
    margin-top: 6px !important;
    font-size: 12px !important;
    opacity: 0.8;
}

/* Small section images for profile page */
.section-image-small {
    width: 48%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    display: inline-block;
    margin-right: 2%;
}

@media (max-width: 600px) {
    .section-image-small {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 0 20px;
    }
}

.clients-showcase {
    text-align: center;
}

.clients-showcase .section-image {
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15);
}

.clients-text {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    /* Header responsiveness */
    nav .container {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .logo {
        order: 1;
    }
    
    .btn-call-now {
        order: 2;
        margin-left: auto;
    }
    
    nav ul {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    nav ul li a {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .btn-call-now {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .btn-call-now svg {
        width: 16px;
        height: 16px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .cards-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .cta-box {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    /* Show hamburger menu on mobile */
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    .btn-call-now {
        order: 3;
        margin-left: 0;
    }
    
    /* Hide nav by default on mobile */
    nav ul {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    nav ul li a:hover {
        background: rgba(13, 148, 136, 0.1);
    }
    
    /* Header mobile optimization */
    nav .container {
        gap: 10px;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 11px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .btn-call-now {
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px;
    }
    
    .btn-call-now span {
        display: none;
    }
}
