@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600&display=swap');

:root {
    --teal-600: #008080;
    --teal-500: #00a0a0;
    --dark: #222222;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
    --gray-100: #f5f7f8;
    --white: #ffffff;
    --shadow-soft: 0 14px 45px rgba(0, 0, 0, 0.08);
    --radius-xl: 18px;
    --radius-lg: 14px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --content-max: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.05), rgba(0, 160, 160, 0.06));
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

@media (max-width: 640px) {
    .navbar {
        padding: 12px 0;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.brand img {
    height: 46px;
    width: auto;
}

@media (max-width: 640px) {
    .brand img {
        height: 40px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 600;
    color: var(--gray-700);
}

.nav-links a {
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 640px) {
    .nav-actions {
        gap: 8px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(120deg, var(--teal-600), var(--teal-500));
    color: var(--white);
    box-shadow: 0 12px 30px rgba(0, 128, 128, 0.22);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 128, 128, 0.28);
}

.btn-ghost {
    background: var(--white);
    color: var(--dark);
    border-color: rgba(0, 0, 0, 0.08);
}

.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.burger:hover {
    border-color: var(--teal-600);
    background: rgba(0, 128, 128, 0.05);
}

@media (max-width: 640px) {
    .burger {
        width: 40px;
        height: 40px;
    }
}

.burger span,
.burger span::before,
.burger span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark);
    position: relative;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.hero {
    padding: 64px 0 40px;
}

.hero-image {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInFloat 8s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.45), rgba(0, 160, 160, 0.38));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 700px;
    animation: slideInUp 0.8s ease-out;
}

@keyframes zoomInFloat {
    0% {
        transform: scale(1.15) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: scale(1.05) translateY(-15px);
    }
    100% {
        transform: scale(1.02) translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-image h1,
.hero-image .lead,
.hero-image .kicker {
    color: var(--white);
}

.hero-image .hero-pills {
    margin-top: 24px;
}

.hero-image .pill {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-image .pill:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 160, 160, 0.09), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(0, 128, 128, 0.09), transparent 42%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(0, 128, 128, 0.08);
    color: var(--teal-600);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 3vw + 0.5rem, 3rem);
    line-height: 1.1;
    margin: 14px 0;
    letter-spacing: -0.6px;
}

.lead {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 18px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-card .stat {
    display: grid;
    gap: 6px;
    background: var(--gray-100);
    padding: 14px;
    border-radius: var(--radius-lg);
}

.section {
    padding: 56px 0;
}

.section header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.8rem;
    letter-spacing: -0.4px;
}

.section-sub {
    color: var(--gray-600);
    max-width: 620px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.cols-3 { 
    grid-template-columns: 1fr;
}

.grid.cols-2 { 
    grid-template-columns: 1fr;
}

/* Mobile first approach */
@media (min-width: 640px) {
    .grid.cols-2,
    .grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .card {
        padding: 16px;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
}

.card h3 {
    margin-bottom: 6px;
}

.card p {
    color: var(--gray-600);
    flex-grow: 1;
}

.card .hero-actions {
    margin-top: auto !important;
}

.card .tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal-600);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-thumb {
    height: 200px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.14), rgba(0, 160, 160, 0.16));
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .card-thumb {
        height: 160px;
    }
}

.card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.1), rgba(0, 160, 160, 0.08));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover .card-thumb {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(0, 128, 128, 0.2);
}

.card:hover .card-thumb::after {
    opacity: 1;
}

.list {
    display: grid;
    gap: 10px;
}

.list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--gray-600);
}

.list li .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 8px;
    background: linear-gradient(120deg, var(--teal-600), var(--teal-500));
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

@media (min-width: 768px) {
    .split {
        grid-template-columns: repeat(2, 1fr);
    }
}

.surface {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 640px) {
    .surface {
        padding: 18px;
        border-radius: var(--radius-lg);
    }
}

.steps {
    display: grid;
    gap: 10px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
}

@media (max-width: 640px) {
    .step {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .step .num {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .step strong {
        font-size: 0.95rem;
    }
}

.step .num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
    color: var(--white);
    font-weight: 800;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.03);
    font-weight: 600;
    font-size: 0.9rem;
}

.faq-section {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.03), rgba(0, 160, 160, 0.05));
}

.faq-wrapper {
    display: grid;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 128, 128, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: rgba(0, 128, 128, 0.2);
    box-shadow: 0 8px 24px rgba(0, 128, 128, 0.08);
}

.faq-item.open {
    box-shadow: 0 12px 32px rgba(0, 128, 128, 0.12);
    border-color: rgba(0, 128, 128, 0.3);
}

.faq-button {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
}

.faq-button:hover {
    color: var(--teal-600);
}

.faq-question {
    text-align: left;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-icon {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--teal-600);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 128, 128, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(0, 128, 128, 0.2);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    color: var(--gray-600);
    transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), padding 0.4s ease;
    padding: 0 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.open .faq-content {
    max-height: 500px;
    padding: 0 20px 18px;
}

@media (max-width: 640px) {
    .faq-content {
        padding: 0 16px;
        font-size: 0.9rem;
    }
    
    .faq-item.open .faq-content {
        padding: 0 16px 16px;
    }
    
    .faq-button {
        padding: 16px;
    }
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.review-rating {
    color: #f5a524;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.testimonial .name {
    font-weight: 800;
    margin-top: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-card h4 { margin-bottom: 6px; }

/* Contact layout: info left, form right */
.contact-layout {
    display: grid;
    gap: 22px;
    align-items: start;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1.1fr 1fr;
    }
}

.contact-info .hero-actions { margin-top: 14px; }

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
}

@media (min-width: 640px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-form .form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .contact-form .form-grid { grid-template-columns: 1fr; }
}

.input-control {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
}

.contact-form textarea { min-height: 120px; grid-column: 1 / -1; }

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.map-frame {
    border: none;
    width: 100%;
    height: 260px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-tile {
    border-radius: var(--radius-md);
    height: 160px;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.16), rgba(0, 160, 160, 0.2));
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-tile {
        height: 180px;
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.lightbox-content {
    max-width: min(92vw, 1200px);
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.lightbox-caption {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
}

@media (max-width: 640px) {
    .gallery-tile { height: 140px; }
    .lightbox-content { max-width: 94vw; max-height: 76vh; }
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.blog-card .meta {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 26px;
    margin-top: 36px;
}

@media (max-width: 640px) {
    .footer {
        padding: 32px 0 20px;
        margin-top: 24px;
    }
    
    .footer-extras {
        padding: 20px 0;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
}

.footer .muted {
    color: rgba(255, 255, 255, 0.75);
}

.footer-extras {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
    margin-bottom: 24px;
}

.footer-extras-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 900px) {
    .footer-extras-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 32px;
    }
}

.footer .kicker {
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-size: 1.2rem;
    margin: 6px 0 12px;
}

.footer-reviews-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .footer-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-review-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 14px;
}

.footer-review-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.footer-review-card .name {
    font-weight: 700;
    margin-top: 8px;
}

.footer .review-rating {
    color: #f5a524;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.footer-map .map-frame {
    height: 220px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-address {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
}

@media (min-width: 640px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-top {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer h4 { margin-bottom: 10px; }

.footer a { color: rgba(255, 255, 255, 0.9); }

.footer ul { list-style: none; display: grid; gap: 6px; }

.footer .social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer .social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer .social a::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 55%);
}

.footer .social a:hover,
.footer .social a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer .social a:hover::after,
.footer .social a:focus-visible::after {
    opacity: 1;
}

.footer .social a svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.footer .social a .social-text {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.footer .social a.facebook { background: rgba(24, 119, 242, 0.2); }
.footer .social a.instagram { background: rgba(193, 53, 132, 0.2); }
.footer .social a.google { background: rgba(66, 133, 244, 0.2); }
.footer .social a.tiktok { background: rgba(255, 255, 255, 0.12); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Botones flotantes de redes */
.social-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.social-float a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-float a svg {
    width: 24px;
    height: 24px;
}

.social-float a:hover,
.social-float a:focus-visible {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.social-float a:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 3px;
}

.social-float .whatsapp {
    background: #25D366;
}

.social-float .facebook {
    background: #1877F2;
}

.social-float .instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-float .google {
    background: #4285F4;
}

/* Botón de accesibilidad */
.accessibility-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
}

.accessibility-float button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--teal-600);
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
    cursor: pointer;
}

.accessibility-float button svg {
    width: 28px;
    height: 28px;
}

.accessibility-float button:hover,
.accessibility-float button:focus-visible {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: var(--teal-500);
}

.accessibility-float button:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .social-float {
        right: 16px;
        gap: 10px;
    }
    
    .social-float a {
        width: 46px;
        height: 46px;
    }
    
    .social-float a svg {
        width: 20px;
        height: 20px;
    }
    
    .accessibility-float {
        bottom: 16px;
        left: 16px;
    }
    
    .accessibility-float button {
        width: 50px;
        height: 50px;
    }
    
    .accessibility-float button svg {
        width: 24px;
        height: 24px;
    }
}

.muted {
    color: var(--gray-600);
}

.highlight {
    color: var(--teal-600);
    font-weight: 800;
}

/* Tablet landscape - 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.4rem);
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        display: none;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open { display: flex; }
    .burger { display: inline-flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .section header { flex-direction: column; align-items: flex-start; }
    
    .split {
        grid-template-columns: 1fr;
    }
    
    .nav-actions .btn-ghost {
        display: none;
    }

    .nav-actions .btn-primary {
        display: none;
    }
}

/* Mobile - 640px */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 40px 0 24px;
    }
    
    .hero-image {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-card {
        padding: 24px;
    }
    
    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        width: auto;
    }
    
    .hero h1 {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin: 10px 0;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .kicker {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-pills {
        justify-content: flex-start;
    }
    
    .pill {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* Modo de alto contraste para accesibilidad */
body.high-contrast {
    --teal-600: #004d4d;
    --teal-500: #006666;
    --dark: #000000;
    --gray-700: #1a1a1a;
    --gray-600: #333333;
    --gray-500: #4d4d4d;
    --white: #ffffff;
}

body.high-contrast .btn-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
}

body.high-contrast .btn-primary:hover {
    background: #333333;
    border-color: #ffffff;
}

body.high-contrast .card,
body.high-contrast .surface,
body.high-contrast .hero-card {
    border: 2px solid #000000;
    background: #ffffff;
}

body.high-contrast a {
    text-decoration: underline;
}

body.high-contrast .nav-links a {
    font-weight: 800;
}

/* Panel de accesibilidad */
.accessibility-panel {
    position: fixed;
    bottom: 84px;
    left: 20px;
    z-index: 100;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
    min-width: 260px;
    padding: 12px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.accessibility-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.accessibility-panel h4 { margin: 4px 0 10px; font-size: 1rem; }
.accessibility-panel .opt { display: flex; align-items: center; gap: 10px; padding: 8px 6px; }
.accessibility-panel .opt input { width: 18px; height: 18px; }
.accessibility-panel .opt label { font-weight: 600; }
.accessibility-panel .desc { font-size: .9rem; color: var(--gray-600); }

/* Opciones de accesibilidad */
body.large-text { font-size: 18px; }
body.reduce-motion * { transition: none !important; animation: none !important; }

/* Extra small devices - 375px */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .nav-actions .btn-primary {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .hero-card,
    .surface {
        padding: 16px;
    }
    
    .card {
        padding: 14px;
    }
    
    .hero-actions {
        gap: 8px;
    }
    
    .btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .accessibility-panel {
        left: 10px;
        right: 10px;
        min-width: auto;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
    margin-left: 0;
    order: -1;
}

.language-switcher .lang-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    opacity: 0.6;
    transition: all 0.2s ease;
    user-select: none;
    cursor: pointer;
}

.language-switcher .lang-label.active {
    color: var(--teal-600);
    opacity: 1;
}

.language-switcher .lang-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    display: inline-block;
}

.language-switcher .lang-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.language-switcher .lang-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(0, 128, 128, 0.1);
    border: 2px solid var(--teal-600);
    border-radius: 999px;
    transition: all 0.25s ease;
}

.language-switcher .lang-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    top: 2px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.language-switcher .lang-toggle input:checked + .lang-slider {
    background-color: rgba(0, 128, 128, 0.2);
    border-color: var(--teal-600);
}

.language-switcher .lang-toggle input:checked + .lang-slider::before {
    transform: translateX(20px);
    background-color: var(--teal-600);
}

.language-switcher .lang-toggle input:focus-visible + .lang-slider {
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.2);
}

/* Tablet - Reducir tamaño */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 6px;
        margin-left: 0;
    }

    .language-switcher .lang-label {
        font-size: 0.8rem;
    }

    .language-switcher .lang-toggle {
        width: 40px;
        height: 22px;
    }

    .language-switcher .lang-slider::before {
        height: 16px;
        width: 16px;
        top: 2px;
        left: 2px;
    }

    .language-switcher .lang-toggle input:checked + .lang-slider::before {
        transform: translateX(18px);
    }
}

/* Mobile - Versión compacta */
@media (max-width: 640px) {
    .language-switcher {
        margin-right: 4px;
        margin-left: 0;
    }

    .language-switcher .lang-label {
        font-size: 0.78rem;
    }

    .language-switcher .lang-toggle {
        width: 36px;
        height: 20px;
    }

    .language-switcher .lang-slider {
        border-width: 1.5px;
    }

    .language-switcher .lang-slider::before {
        height: 14px;
        width: 14px;
        top: 2px;
        left: 2px;
    }

    .language-switcher .lang-toggle input:checked + .lang-slider::before {
        transform: translateX(16px);
    }
}

/* Ultra móvil */
@media (max-width: 480px) {
    .language-switcher {
        margin-right: 2px;
    }

    .language-switcher .lang-label {
        font-size: 0.72rem;
    }

    .language-switcher .lang-toggle {
        width: 34px;
        height: 18px;
    }

    .language-switcher .lang-slider {
        border-width: 1px;
    }

    .language-switcher .lang-slider::before {
        height: 12px;
        width: 12px;
        top: 2px;
        left: 2px;
    }

    .language-switcher .lang-toggle input:checked + .lang-slider::before {
        transform: translateX(14px);
    }
}

