/* ===== VARIABLES ===== */
:root {
    --bg: #172940;
    --bg-light: #1e3551;
    --accent: #f19f05;
    --text: #f2f2f2;
    --text-muted: #a8b8cc;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius: 14px;
    --transition: 0.3s ease;
    --shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 2rem; border-radius: 50px;
    font-family: var(--font-title); font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all var(--transition); border: 2px solid transparent;
}
.btn--primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--primary:hover { background: transparent; color: var(--accent); }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--bg); }
.btn--whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn--whatsapp:hover { background: transparent; color: #25D366; }

/* ===== SECTION TITLES ===== */
.section__title {
    font-family: var(--font-title); font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800; color: var(--text); margin-bottom: 0.75rem; text-align: center;
}
.section__title span { color: var(--accent); }
.section__subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1rem; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(23, 41, 64, 0.96); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241,159,5,0.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo-img { height: 50px; width: auto; }
.nav__menu { display: flex; gap: 2rem; }
.nav__link {
    font-family: var(--font-title); font-weight: 600; font-size: 0.85rem;
    color: var(--text); letter-spacing: 0.06em; text-transform: uppercase;
    position: relative; transition: color var(--transition);
}
.nav__link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent); transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--accent); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 8rem 1.5rem 5rem;
    background: radial-gradient(ellipse at 50% 40%, rgba(241,159,5,0.07) 0%, transparent 65%);
    position: relative;
}
.hero__logo {
    width: 170px; height: 170px; object-fit: contain; margin: 0 auto 2rem;
    filter: drop-shadow(0 0 35px rgba(241,159,5,0.35));
    border-radius: 50%;
    border: 3px solid var(--accent);
}
.hero__title {
    font-family: var(--font-title); font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; max-width: 700px;
}
.hero__title span { color: var(--accent); }
.hero__subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.5rem; }
.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: var(--accent); font-size: 1.4rem; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(9px); }
}

/* ===== SERVICES ===== */
.services { padding: 6rem 0; background: var(--bg-light); }
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.service__card {
    background: var(--bg); border: 1px solid rgba(241,159,5,0.15);
    border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column; align-items: center;
}
.service__card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: var(--shadow); }
.service__card--featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--bg) 55%, rgba(241,159,5,0.07));
    transform: scale(1.04);
}
.service__card--featured:hover { transform: scale(1.04) translateY(-8px); }
.service__icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(241,159,5,0.12); display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; font-size: 1.8rem; color: var(--accent);
    transition: background var(--transition);
}
.service__card:hover .service__icon { background: rgba(241,159,5,0.22); }
.service__card h3 { font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.service__card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2rem; flex: 1; }

/* ===== ABOUT ===== */
.about { padding: 6rem 0; }
.about__content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__text .section__title { text-align: left; }
.about__text p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.85; }
.about__text strong { color: var(--accent); font-weight: 600; }
.about__text .btn { margin-top: 0.5rem; }
.about__logo img {
    width: 340px; max-width: 100%;
    filter: drop-shadow(0 0 50px rgba(241,159,5,0.25));
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid var(--accent);
}

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 0; background: var(--bg); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.testimonial__card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex; flex-direction: column; gap: 1rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.testimonial__card:hover { transform: translateY(-6px); }
.testimonial__stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial__text {
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.8;
    flex: 1;
    font-style: italic;
}
.testimonial__author {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--text); font-weight: 600; font-size: 0.9rem;
}
.testimonial__author i { font-size: 1.6rem; color: var(--accent); }
.testimonial__source {
    font-size: 0.8rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 0.4rem;
}
.testimonial__source i { color: #4285F4; }

/* ===== CONTACT ===== */
.contact { padding: 6rem 0; background: var(--bg-light); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 2rem; }
.contact__item { display: flex; align-items: flex-start; gap: 1rem; }
.contact__item i { font-size: 1.5rem; color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.contact__item h4 { font-family: var(--font-title); font-weight: 600; margin-bottom: 0.3rem; }
.contact__item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.contact__map iframe { border-radius: var(--radius); width: 100%; height: 380px; border: 0; }

/* ===== FOOTER ===== */
.footer { padding: 3rem 0; border-top: 1px solid rgba(241,159,5,0.15); }
.footer__content { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.footer__logo { height: 70px; width: auto; }
.footer__slogan { color: var(--accent); font-family: var(--font-title); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; }
.footer__copy { color: var(--text-muted); font-size: 0.82rem; }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    width: 62px; height: 62px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 30px rgba(37,211,102,0.65); }
.whatsapp-float .pulse {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    background: rgba(37,211,102,0.35); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ===== TEAM PAGE ===== */
.team-hero {
    padding: 8rem 1.5rem 4rem; text-align: center;
    background: radial-gradient(ellipse at center, rgba(241,159,5,0.06) 0%, transparent 65%);
}
.team-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.team-section { padding: 5rem 0; }
.team-section:nth-child(even) { background: var(--bg-light); }
.team-section__label {
    text-align: center; font-family: var(--font-title); font-size: 0.8rem;
    font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.5rem;
}
.team__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.team__grid--founders { grid-template-columns: repeat(3,1fr); }
.team__card {
    background: var(--bg); border: 1px solid rgba(241,159,5,0.12);
    border-radius: var(--radius); overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    text-align: center;
}
.team__card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.team__card--founder { border-color: rgba(241,159,5,0.3); }
.team__avatar {
    width: 100%; height: 220px; background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: rgba(241,159,5,0.3);
    overflow: hidden;
}
.team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team__info { padding: 1.75rem 1.5rem; }
.team__name { font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.team__title { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; font-family: var(--font-title); }
.team__bio { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.team__badge {
    display: inline-block; background: rgba(241,159,5,0.12); color: var(--accent);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 0.75rem;
    border: 1px solid rgba(241,159,5,0.3);
}

/* ===== BACK LINK ===== */
.back-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-muted); font-family: var(--font-title); font-size: 0.85rem;
    font-weight: 600; transition: color var(--transition);
    margin-bottom: 2.5rem;
}
.back-link:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .services__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .service__card--featured { transform: scale(1); }
    .service__card--featured:hover { transform: translateY(-8px); }
    .about__content { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .about__text .section__title { text-align: center; }
    .about__logo { display: none; }
    .contact__grid { grid-template-columns: 1fr; }
    .team__grid { grid-template-columns: 1fr 1fr; }
    .team__grid--founders { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav__menu {
        display: none; flex-direction: column;
        position: absolute; top: 72px; left: 0; width: 100%;
        background: rgba(23,41,64,0.98); padding: 1rem 0;
        border-bottom: 1px solid rgba(241,159,5,0.15);
    }
    .nav__menu.open { display: flex; }
    .nav__menu li { padding: 0.75rem 2rem; }
    .nav__toggle { display: block; }
    .team__grid { grid-template-columns: 1fr; max-width: 360px; margin: 3rem auto 0; }
    .team__grid--founders { grid-template-columns: 1fr; }
}
