/* Reset and Base Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f97316;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    --ink: #1f2937;
    --muted: #5f6b7a;
    --line: #e5e7eb;
    --surface: #ffffff;
    --soft: #f8fafc;
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

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

html {
    scroll-padding-top: 92px;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--soft);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -0.16em;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0f766e);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.logo-mark .icon {
    width: 28px;
    height: 28px;
}

.logo h1 {
    margin: 0;
    font-size: 23px;
    color: var(--ink);
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--primary);
    background-color: #eff6ff;
}

.nav-menu .icon {
    width: 18px;
    height: 18px;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 999px;
    margin: 3px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at 18% 20%, rgba(249, 115, 22, 0.28), transparent 30%),
        linear-gradient(135deg, #1e40af 0%, #0f766e 100%);
    color: #fff;
    padding: 155px 0 105px;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 820px;
    margin: 0 auto 40px;
    font-size: 23px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #ea580c;
}

.btn-secondary {
    background-color: var(--whatsapp);
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: var(--whatsapp-dark);
}

/* Sections */
section {
    padding: 80px 0;
}

.about,
.services,
.location,
.contact {
    background-color: var(--surface);
}

.services,
.contact {
    background-color: var(--soft);
}

.about h2,
.services h2,
.location h2,
.contact h2 {
    text-align: center;
    color: var(--ink);
    margin-bottom: 42px;
}

/* About */
.about-content {
    display: flex;
    align-items: center;
    gap: 44px;
}

.about-text,
.about-image {
    flex: 1;
}

.about-text p {
    color: var(--muted);
    font-size: 17px;
}

.about-panel {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: var(--shadow);
}

.about-panel > div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 2px 14px;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    background-color: #fff;
}

.about-panel .icon {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    color: var(--primary);
}

.about-panel strong {
    color: var(--ink);
}

.about-panel span {
    color: var(--muted);
    font-size: 14px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 8px;
    color: var(--primary);
    background-color: #eff6ff;
}

.service-icon .icon {
    width: 34px;
    height: 34px;
}

.service-card h3 {
    margin-bottom: 14px;
    color: var(--ink);
}

.service-card p {
    color: var(--muted);
}

/* Location */
.location-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.location-info,
.location-map {
    flex: 1;
}

.info-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
}

.info-line .icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: var(--primary);
}

.info-line span {
    min-width: 0;
}

.location-map iframe {
    width: 100%;
    min-height: 320px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Contact */
.contact-content {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-info {
    width: 100%;
    max-width: 620px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.contact-info h3 {
    margin-bottom: 20px;
}

.social-block {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.social-block h4 {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 18px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background-color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.social-link .icon {
    width: 20px;
    height: 20px;
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.social-instagram:hover,
.social-instagram:focus-visible {
    color: #c13584;
    border-color: #f0abfc;
}

.social-tiktok:hover,
.social-tiktok:focus-visible {
    color: #111827;
    border-color: #9ca3af;
}

.social-facebook:hover,
.social-facebook:focus-visible {
    color: #1877f2;
    border-color: #93c5fd;
}

/* Footer */
footer {
    background-color: #172033;
    color: #fff;
    padding: 44px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section p {
    color: #d1d5db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus-visible {
    color: #93c5fd;
}

.footer-social-links {
    align-items: flex-start;
}

.footer-social-links .social-link {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-social-links .social-link:hover,
.footer-social-links .social-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.14);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #fff;
    background-color: var(--whatsapp);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
    transform: scale(1.08);
    background-color: var(--whatsapp-dark);
}

.whatsapp-link .icon {
    width: 34px;
    height: 34px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 78px;
    }

    header .container {
        padding: 12px 16px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .logo-mark .icon {
        width: 25px;
        height: 25px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        width: min(320px, calc(100vw - 32px));
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background-color: #fff;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        justify-content: flex-start;
        width: 100%;
        min-height: 46px;
        padding: 11px 12px;
    }

    .hero {
        padding: 120px 0 72px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin: 0 auto;
    }

    .about-content,
    .location-content,
    .contact-content {
        flex-direction: column;
    }

    .about-panel,
    .contact-info {
        width: 100%;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 16px;
    }

    .logo h1 {
        max-width: 190px;
        white-space: normal;
        font-size: 17px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .btn {
        width: 100%;
        padding: 14px 16px;
    }
}
