:root {
    --primary: #334155;
    --secondary: #475569;
    --accent: #059669;
    --background: #F8FAFC;
    --foreground: #0F172A;
    --muted: #F2F3F4;
    --border: #E6E8EA;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.18);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2.4s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #334155, #475569);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

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

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    gap: 36px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.25s var(--ease);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-cta {
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--whatsapp);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s var(--ease);
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #060a12 0%, #0f1f3a 50%, #0a1628 100%);
}

.hero-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(6,10,18,0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay--vertical {
    background: linear-gradient(to bottom, rgba(10, 15, 26, 0.98) 0%, rgba(10, 15, 26, 0.6) 35%, rgba(10, 15, 26, 0.15) 100%);
}

.hero-overlay--horizontal {
    background: linear-gradient(to right, rgba(51, 65, 85, 0.3) 0%, transparent 45%, rgba(71, 85, 105, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 22px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    margin-bottom: 20px;
    animation: hero-badge-in 0.8s var(--ease) both;
}

.badge-line {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.badge-line--main {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: none;
    color: #fff;
    letter-spacing: 0;
}

.badge-line--year {
    color: var(--accent);
    font-weight: 600;
}

@keyframes hero-badge-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Title */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 16px;
}

.hero-title span {
    display: block;
    animation: hero-title-in 1s var(--ease) both;
}

.hero-title span:nth-child(1) { animation-delay: 0.1s; }
.hero-title span:nth-child(2) { animation-delay: 0.2s; }
.hero-title span:nth-child(3) {
    animation-delay: 0.3s;
    background: linear-gradient(90deg, #fff, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes hero-title-in {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Description */
.hero-description {
    max-width: 600px;
    margin: 0 auto 32px;
    animation: hero-description-in 0.9s var(--ease) 0.5s both;
}

.hero-desc-primary {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.hero-desc-secondary {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
}

@keyframes hero-description-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: hero-actions-in 0.9s var(--ease) 0.65s both;
}

@keyframes hero-actions-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn--primary {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.35);
}

.btn--primary:hover {
    background: #22c55e;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}

.btn--outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    background: #22c55e;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}

.btn--cta {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 14px 32px rgba(255, 255, 255, 0.18);
}

.btn--cta:hover {
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.28);
}

/* ===== Services ===== */
.services-section {
    padding: 100px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--primary);
}

.section-title span { display: block; }

.section-title--accent {
    color: var(--accent);
    margin-top: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(230, 232, 234, 0.8);
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.service-icon--primary { background: rgba(51, 65, 85, 0.08); color: var(--primary); }
.service-icon--secondary { background: rgba(71, 85, 105, 0.08); color: var(--secondary); }
.service-icon--accent { background: rgba(5, 150, 105, 0.1); color: var(--accent); }

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-description {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.65);
    margin-bottom: 22px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    transition: gap 0.25s var(--ease);
}

.service-link:hover { gap: 12px; }

/* ===== About ===== */
.about-section {
    padding: 100px 0;
    background: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.about-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(230, 232, 234, 0.8);
    box-shadow: var(--shadow);
}

.about-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.about-card-text {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.68);
    line-height: 1.7;
}

.about-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.meta-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(51, 65, 85, 0.1);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.05rem;
}

.meta-label {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.55);
}

.about-list {
    list-style: none;
}

.about-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.68);
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

/* ===== Contact ===== */
.contact-section {
    padding: 100px 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(230, 232, 234, 0.8);
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--ease);
}

.contact-item:hover { transform: translateX(4px); }

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon--primary { background: rgba(51, 65, 85, 0.1); color: var(--primary); }
.contact-icon--secondary { background: rgba(71, 85, 105, 0.1); color: var(--secondary); }
.contact-icon--tertiary { background: rgba(5, 150, 105, 0.1); color: var(--accent); }

.contact-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}

.contact-item-link,
.contact-item-text {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.65);
}

.contact-item-link {
    font-weight: 600;
    color: var(--primary);
}

.contact-item-link:hover,
.contact-item-text:hover { color: var(--accent); }

.contact-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-card {
    width: 100%;
    max-width: 460px;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(230, 232, 234, 0.8);
    box-shadow: var(--shadow);
    text-align: center;
}

.whatsapp-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--whatsapp);
}

.whatsapp-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.whatsapp-card-text {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.68);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--muted);
    padding: 48px 0;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-mark span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.footer-logo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-logo-subtitle {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.55);
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.6);
    transition: color 0.25s var(--ease);
}

.footer-nav a:hover { color: var(--primary); }

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.45);
}

.footer-copyright a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .main-nav { display: none; }
}

@media (max-width: 768px) {
    .header-inner { height: 64px; }
    .logo-subtitle { display: none; }
    .header-cta { padding: 10px 14px; font-size: 0.82rem; }
    .hero-content { padding-top: 60px; padding-bottom: 20px; }
    .hero-badge { margin-bottom: 16px; padding: 8px 18px; }
    .hero-title { font-size: clamp(2.2rem, 12vw, 4rem); margin-bottom: 12px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .services-section, .about-section, .contact-section, .cta-section { padding: 70px 0; }
    .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .whatsapp-card { padding: 28px 22px; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

@media (max-width: 480px) {
    .logo-text { display: none; }
    .logo-mark { width: 40px; height: 40px; }
    .hero-title { font-size: clamp(1.8rem, 14vw, 3rem); }
    .badge-line { font-size: 0.62rem; }
    .badge-line--main { font-size: 0.75rem; }
    .service-card { padding: 24px; }
    .about-card { padding: 24px; }
    .contact-item { padding: 18px; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
