/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f8f8;
    color: #304f4f;
    line-height: 1.6;
}

body {
    min-width: 320px;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================
   HEADER
========================= */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #9dc9c9;
}

.site-header h2 {
    margin: 0;
    font-size: 1.3rem;
    color: #173636;
}

/* =========================
   LOGO
========================= */
.site-header .logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header .logo-area img {
    width: 82px !important;
    height: auto !important;
    max-width: 82px !important;
    min-width: 82px !important;
    display: block !important;
    flex: 0 0 82px !important;
}

/* =========================
   NAV
========================= */
.main-nav {
    display: none;
    flex-direction: column;
    background: #304f4f;
}

.main-nav.is-open {
    display: flex;
}

.main-nav a {
    color: #fff;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.main-nav a:hover {
    background: #426969;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: #304f4f;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex: 0 0 44px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 86px 16px;
    text-align: center;
    background: linear-gradient(rgba(12, 24, 33, 0.76), rgba(12, 24, 33, 0.82)),
                url('../img/hero.webp') center/cover no-repeat;
    color: #fff;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 16px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
}

.hero p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.08rem;
}

/* =========================
   SECTION
========================= */
.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 16px;
}

.section h2 {
    margin: 0 0 24px;
    color: #173636;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
}

.section > p {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =========================
   GRID / CARDS
========================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card {
    display: block;
    min-height: 130px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(48, 79, 79, 0.12);
    color: #304f4f;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(23, 54, 54, 0.07);
}

.service-card h3 {
    margin: 0 0 8px;
    color: #173636;
    font-size: 1.12rem;
    line-height: 1.25;
}

.service-card p {
    margin: 0;
}

a.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(23, 54, 54, 0.12);
    text-decoration: none;
}

/* =========================
   CTA BUTTON
========================= */
.cta-btn {
    display: inline-block;
    margin-top: 22px;
    background: #25d366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
}

.cta-btn:hover {
    background: #1fbd5a;
    text-decoration: none;
}

.cta-btn.big {
    font-size: 1.12rem;
    padding: 16px 32px;
}

/* =========================
   CTA SECTION
========================= */
.cta-section {
    max-width: none;
    text-align: center;
    background: #e8f4f4;
}

.cta-section h2,
.cta-section p {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   LINKS
========================= */
.section a {
    color: #2c6d6d;
    font-weight: 700;
}

.section a:hover {
    text-decoration: underline;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background: #304f4f;
    color: #fff;
    padding: 50px 16px 20px;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.footer-box h3 {
    margin-top: 0;
    color: #9dc9c9;
}

.footer-box ul {
    margin: 0;
    padding-left: 18px;
}

.footer-box a {
    color: #fff;
    text-decoration: none;
}

.footer-box a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 24px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85rem;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.wa-float svg {
    width: 32px;
    height: 32px;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {

    .site-header {
        justify-content: center;
        gap: 16px;
        padding: 14px;
    }

    .site-header .logo-area img {
        width: 100px !important;
        max-width: 100px !important;
        min-width: 100px !important;
        flex: 0 0 100px !important;
    }

    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1024px) {

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {

    .site-header h2 {
        display: none !important;
    }
}

/* =========================
   REFERENCES
========================= */
.references-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.reference-item {
    min-height: 56px;
    display: flex;
    align-items: center;
    background: #fff;
    border-left: 4px solid #9dc9c9;
    border-radius: 8px;
    padding: 14px 16px;
    color: #304f4f;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(23, 54, 54, 0.06);
}

.reference-item:hover {
    border-left-color: #304f4f;
    box-shadow: 0 10px 24px rgba(23, 54, 54, 0.1);
}

@media (min-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
