/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-family: 'Montserrat', sans-serif; font-weight: 600;
    font-size: 0.95rem; cursor: pointer; border: none;
    transition: all 0.3s ease; text-align: center;
}
.btn--primary { background: #e67e22; color: #fff; }
.btn--primary:hover { background: #c96d1c; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,126,34,0.4); }
.btn--secondary { background: transparent; color: #e67e22; border: 2px solid #e67e22; }
.btn--secondary:hover { background: #e67e22; color: #fff; }
.btn--white { background: #fff; color: #1a3a5c; }
.btn--white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(26,58,92,0.95); backdrop-filter: blur(10px);
    padding: 0 20px; transition: background 0.3s;
}
.header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 75px;
}
.header__logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: 1.5rem; color: #fff;
}
.header__logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: #e67e22;
    border-radius: 10px; font-size: 1.1rem;
}
.header__menu { display: flex; gap: 32px; }
.header__menu a {
    color: rgba(255,255,255,0.85); font-weight: 500;
    font-size: 0.95rem; position: relative; padding: 5px 0;
    transition: color 0.3s;
}
.header__menu a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: #e67e22;
    transition: width 0.3s;
}
.header__menu a:hover, .header__menu a.active { color: #fff; }
.header__menu a:hover::after, .header__menu a.active::after { width: 100%; }
.header__toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.header__toggle span {
    display: block; width: 28px; height: 3px;
    background: #fff; border-radius: 3px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,58,92,0.85) 0%, rgba(26,58,92,0.6) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 700px; color: #fff; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(230,126,34,0.2); border: 1px solid rgba(230,126,34,0.4);
    padding: 8px 20px; border-radius: 50px;
    font-size: 0.85rem; margin-bottom: 25px; color: #f5cba7;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 25px; color: #fff; }
.hero p { font-size: 1.2rem; margin-bottom: 35px; opacity: 0.9; line-height: 1.8; }
.hero__buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section__header {
    text-align: center; margin-bottom: 60px;
}
.section__tag {
    display: inline-block; background: rgba(230,126,34,0.1);
    color: #e67e22; padding: 6px 18px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 15px;
    text-transform: uppercase; letter-spacing: 1px;
}
.section__header h2 {
    font-size: 2.5rem; color: #1a3a5c; margin-bottom: 15px;
}
.section__header p { max-width: 600px; margin: 0 auto; color: #666; }
.section--dark { background: #1a3a5c; }
.section--dark .section__header h2 { color: #fff; }
.section--dark .section__header p { color: rgba(255,255,255,0.7); }
.section--gray { background: #f8f9fa; }

/* ===== SERVICES ===== */
.services__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff; border-radius: 20px; padding: 40px 30px;
    text-align: center; box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: #e67e22; transform: scaleX(0);
    transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(0,0,0,0.12); }
.service-card__icon {
    width: 80px; height: 80px; margin: 0 auto 25px;
    background: rgba(230,126,34,0.1); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #e67e22;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: #1a3a5c; }
.service-card p { color: #666; font-size: 0.95rem; line-height: 1.7; }

/* ===== REALISATIONS ===== */
.realisations__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}
.realisation-card {
    border-radius: 20px; overflow: hidden; box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.3s; position: relative;
}
.realisation-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.realisation-card__image {
    height: 280px; position: relative; overflow: hidden;
}
.realisation-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.realisation-card:hover .realisation-card__image img { transform: scale(1.1); }
.realisation-card__overlay {
    position: absolute; inset: 0; background: rgba(26,58,92,0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.realisation-card:hover .realisation-card__overlay { opacity: 1; }
.realisation-card__body {
    padding: 25px; background: #fff;
}
.realisation-card__body h3 { color: #1a3a5c; margin-bottom: 8px; }
.realisation-card__body p { color: #666; font-size: 0.9rem; }

/* ===== ABOUT / VALUES ===== */
.values__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.value-item {
    text-align: center; padding: 30px 20px;
}
.value-item__icon {
    font-size: 2.5rem; color: #e67e22; margin-bottom: 20px;
}
.value-item h3 { color: #fff; margin-bottom: 10px; font-size: 1.2rem; }
.value-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== TESTIMONIALS ===== */
.testimonials__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.testimonial-card {
    background: #fff; padding: 35px; border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.testimonial-card__stars { color: #f1c40f; margin-bottom: 15px; }
.testimonial-card p { color: #555; font-style: italic; margin-bottom: 20px; }
.testimonial-card__author { display: flex; align-items: center; gap: 15px; }
.testimonial-card__avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: #e67e22; display: flex; align-items: center;
    justify-content: center; color: #fff; font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
    padding: 80px 0; text-align: center;
}
.cta-section__content h2 {
    color: #fff; font-size: 2.3rem; margin-bottom: 15px;
}
.cta-section__content p {
    color: rgba(255,255,255,0.8); font-size: 1.1rem;
    margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f1e2f; color: rgba(255,255,255,0.8); padding: 80px 0 30px;
}
.footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px; margin-bottom: 50px;
}
.footer__col h4 {
    color: #fff; font-size: 1.1rem; margin-bottom: 20px;
    position: relative; padding-bottom: 10px;
}
.footer__col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 2px; background: #e67e22;
}
.footer__col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer__social { display: flex; gap: 15px; }
.footer__social a {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex;
    align-items: center; justify-content: center;
    transition: all 0.3s; font-size: 1.2rem;
}
.footer__social a:hover { background: #e67e22; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: 0.9rem; transition: color 0.3s; }
.footer__col ul li a:hover { color: #e67e22; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact i { color: #e67e22; width: 18px; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px; display: flex;
    justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 15px; font-size: 0.85rem;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { transition: color 0.3s; }
.footer__legal a:hover { color: #e67e22; }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed; bottom: 25px; right: 25px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex;
    align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s; animation: whatsappPulse 2s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
    100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
}

/* ===== PAGES ===== */
.page-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
    padding: 140px 0 60px; text-align: center; color: #fff;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }
.page-content { padding: 80px 0; }
.page-content h2 { color: #1a3a5c; margin: 40px 0 20px; font-size: 1.8rem; }
.page-content h3 { color: #1a3a5c; margin: 30px 0 15px; font-size: 1.3rem; }
.page-content p { margin-bottom: 20px; color: #555; line-height: 1.8; }
.page-content ul, .page-content ol { margin-bottom: 20px; padding-left: 25px; }
.page-content li { margin-bottom: 8px; color: #555; }
.page-content img { border-radius: 15px; margin: 30px 0; }

/* ===== BLOG ===== */
.blog__grid {
    display: grid; grid-template-columns: 3fr 1fr;
    gap: 50px;
}
.blog__posts { display: flex; flex-direction: column; gap: 35px; }
.blog-card {
    display: grid; grid-template-columns: 300px 1fr;
    gap: 30px; background: #fff; border-radius: 20px;
    overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.blog-card__image {
    height: 100%; min-height: 240px; overflow: hidden;
}
.blog-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.blog-card:hover .blog-card__image img { transform: scale(1.1); }
.blog-card__body { padding: 30px 30px 30px 0; display: flex; flex-direction: column; }
.blog-card__meta {
    display: flex; gap: 20px; margin-bottom: 15px;
    font-size: 0.85rem; color: #888;
}
.blog-card__meta i { margin-right: 5px; }
.blog-card__meta .category { color: #e67e22; }
.blog-card__body h3 { 
    font-size: 1.3rem; margin-bottom: 12px; 
    transition: color 0.3s;
}
.blog-card__body h3 a { color: #1a3a5c; }
.blog-card__body h3 a:hover { color: #e67e22; }
.blog-card__body p { color: #666; margin-bottom: 20px; font-size: 0.95rem; }

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 100px; }
.sidebar__widget {
    background: #fff; border-radius: 15px; padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 25px;
}
.sidebar__widget h3 {
    color: #1a3a5c; font-size: 1.1rem; margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 2px solid #e67e22;
}
.sidebar__categories li { 
    padding: 10px 0; border-bottom: 1px solid #f0f0f0;
    display: flex; justify-content: space-between;
}
.sidebar__categories li:last-child { border-bottom: none; }
.sidebar__categories a { transition: color 0.3s; }
.sidebar__categories a:hover { color: #e67e22; }
.sidebar__categories .count { color: #999; font-size: 0.85rem; }

/* ===== CONTACT ===== */
.contact__grid {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}
.contact__info { display: flex; flex-direction: column; gap: 25px; }
.contact__card {
    background: #f8f9fa; border-radius: 15px; padding: 25px;
    display: flex; align-items: flex-start; gap: 15px;
}
.contact__card-icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(230,126,34,0.1); display: flex;
    align-items: center; justify-content: center;
    font-size: 1.3rem; color: #e67e22; flex-shrink: 0;
}
.contact__card h3 { color: #1a3a5c; font-size: 1rem; margin-bottom: 3px; }
.contact__card p { color: #666; font-size: 0.9rem; }
.form__group { margin-bottom: 20px; }
.form__group label { display: block; margin-bottom: 6px; font-weight: 600; color: #1a3a5c; font-size: 0.9rem; }
.form__group input, .form__group textarea, .form__group select {
    width: 100%; padding: 14px 18px; border: 2px solid #e0e0e0;
    border-radius: 12px; font-family: inherit; font-size: 1rem;
    transition: border-color 0.3s; background: #fff;
}
.form__group input:focus, .form__group textarea:focus {
    outline: none; border-color: #e67e22;
}
.form__group textarea { min-height: 150px; resize: vertical; }

/* ===== PWA POPUP ===== */
.pwa-popup {
    position: fixed; bottom: 100px; right: 25px; z-index: 998;
    max-width: 320px; background: #fff; border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.15); animation: slideUp 0.3s;
}
.pwa-popup__content {
    padding: 30px; text-align: center;
}
.pwa-popup__content i {
    font-size: 3rem; color: #1a3a5c; margin-bottom: 15px;
}
.pwa-popup__content h3 { color: #1a3a5c; margin-bottom: 8px; }
.pwa-popup__content p { color: #666; font-size: 0.9rem; margin-bottom: 20px; }
.pwa-popup__close {
    position: absolute; top: 10px; right: 15px;
    background: none; border: none; font-size: 1.3rem;
    cursor: pointer; color: #999;
}
.pwa-popup__content .btn { width: 100%; margin-bottom: 8px; justify-content: center; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .blog__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
    .blog-card__image { min-height: 200px; }
}

@media (max-width: 768px) {
    .header__toggle { display: flex; }
    .header__nav {
        position: fixed; top: 75px; left: 0; right: 0;
        background: #1a3a5c; padding: 20px;
        transform: translateY(-100%); opacity: 0;
        transition: all 0.3s; pointer-events: none;
    }
    .header__nav.active {
        transform: translateY(0); opacity: 1; pointer-events: auto;
    }
    .header__menu { flex-direction: column; gap: 15px; }
    .header__menu a { font-size: 1.1rem; }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero { min-height: auto; padding: 100px 0 60px; }

    .section { padding: 60px 0; }
    .section__header h2 { font-size: 1.8rem; }
    .page-hero h1 { font-size: 1.8rem; }

    .services__grid { grid-template-columns: 1fr; }
    .realisations__grid { grid-template-columns: 1fr; }

    .blog-card { grid-template-columns: 1fr; }
    .blog-card__body { padding: 20px; }
    .blog-card__image { min-height: 220px; }

    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .footer__legal { justify-content: center; }

    .cta-section__content h2 { font-size: 1.6rem; }

    .whatsapp-btn { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; right: 20px; }
    .pwa-popup { right: 15px; left: 15px; max-width: none; bottom: 80px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero__buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .section__header h2 { font-size: 1.5rem; }
    .page-hero h1 { font-size: 1.5rem; }
}
