/*
Theme Name: JD Criações
Theme URI: https://jdcriacoes.com.br
Author: JD Criações
Author URI: https://jdcriacoes.com.br
Description: Tema profissional para JD Criações - Comunicação Visual em Aparecida de Goiânia, GO. Landing page focada em conversão para Google Ads.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jdcriacoes
Tags: one-column, custom-colors, custom-menu, featured-images, full-width-template, theme-options, translation-ready

JD Criações - Comunicação Visual em Aparecida de Goiânia, GO.
*/

/* ===== CSS Variables – JD Criações: Azul #3b647c, Vermelho #f7413e, Branco ===== */
:root {
    --background: 0 0% 100%;
    --foreground: 204 36% 25%;

    --card: 0 0% 100%;
    --card-foreground: 204 36% 25%;

    --popover: 0 0% 100%;
    --popover-foreground: 204 36% 25%;

    /* Primary: Azul #3b647c */
    --primary: 204 36% 36%;
    --primary-foreground: 0 0% 100%;

    /* Secondary: Vermelho #f7413e */
    --secondary: 1 92% 61%;
    --secondary-foreground: 0 0% 100%;

    --muted: 204 20% 95%;
    --muted-foreground: 204 20% 40%;

    --accent: 1 92% 61%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 204 20% 85%;
    --input: 204 20% 85%;
    --ring: 1 92% 61%;

    --radius: 0.75rem;
    --radius-lg: 1.25rem;
    --font-heading: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    --whatsapp: #25D366;

    --gradient-primary: linear-gradient(135deg, hsl(204 36% 36%) 0%, hsl(204 36% 28%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(1 92% 61%) 0%, hsl(1 92% 52%) 100%);
    --gradient-hero: linear-gradient(180deg, hsla(204, 36%, 36%, 0.85) 0%, hsla(204, 36%, 28%, 0.95) 100%);

    --shadow-soft: 0 4px 20px -4px hsla(204, 36%, 36%, 0.15);
    --shadow-medium: 0 8px 30px -8px hsla(204, 36%, 36%, 0.25);
    --shadow-accent: 0 8px 25px -5px hsla(1, 92%, 61%, 0.4);
}

/* ===== Base Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
}

/* Títulos com personalidade */
h1, h2, h3, .site-logo, .section-title, .hero-slogan, .stat-value, .service-content h3,
.footer-brand h2, .about-text h3, .section-badge {
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== Utility Classes ===== */
.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
    }
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--primary)) 100%);
}

/* ===== Button Styles ===== */
.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px -3px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #20BD5A;
    transform: scale(1.05);
}

.btn-phone {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.btn-phone:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-soft {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); 
    }
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-soft { animation: pulse-soft 2s ease-in-out infinite; }
.animate-bounce-subtle { animation: bounce-subtle 2s ease-in-out infinite; }
.animate-fade-in { animation: fade-in 0.6s ease-out forwards; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }

/* Reveal on scroll: elementos entram suavemente ao rolar */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
}

.site-header.scrolled {
    background-color: hsla(var(--background), 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px -4px hsla(204, 36%, 36%, 0.15);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    transition: color 0.3s ease;
}

.site-header.scrolled .site-logo {
    color: hsl(var(--primary));
}

.site-logo span {
    color: hsl(var(--secondary));
}

/* Navigation */
.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }
}

.main-nav a {
    font-weight: 500;
    color: hsl(var(--primary-foreground));
    transition: color 0.3s ease;
}

.site-header.scrolled .main-nav a {
    color: hsl(var(--foreground));
}

.main-nav a:hover {
    color: hsl(var(--secondary));
}

.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .header-cta {
        display: flex;
    }
}

.header-cta .phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: hsl(var(--primary-foreground));
    transition: color 0.3s ease;
}

.site-header.scrolled .header-cta .phone-link {
    color: hsl(var(--primary));
}

.header-cta .whatsapp-btn {
    background-color: var(--whatsapp);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.header-cta .whatsapp-btn:hover {
    background-color: rgba(37, 211, 102, 0.9);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: hsl(var(--primary-foreground));
}

.site-header.scrolled .mobile-menu-btn {
    color: hsl(var(--foreground));
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: hsl(var(--background));
    box-shadow: 0 10px 40px -10px hsla(204, 36%, 36%, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
}

.mobile-menu a {
    color: hsl(var(--foreground));
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: hsl(var(--secondary));
}

.mobile-menu hr {
    border: none;
    border-top: 1px solid hsl(var(--border));
    margin: 0.5rem 0;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        hsla(204, 36%, 36%, 0.78) 0%, 
        hsla(204, 36%, 36%, 0.88) 50%, 
        hsla(204, 36%, 28%, 0.96) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: hsl(var(--primary-foreground));
    padding: 1rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: hsla(0, 0%, 100%, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(0, 0%, 100%, 0.25);
    border-radius: 9999px;
    color: hsl(0, 0%, 100%);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-logo-symbol img,
.hero-logo-symbol .custom-logo {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

@media (min-width: 768px) {
    .hero-logo-symbol img,
    .hero-logo-symbol .custom-logo {
        width: 6rem;
        height: 6rem;
    }
}

@media (min-width: 1024px) {
    .hero-logo-symbol img,
    .hero-logo-symbol .custom-logo {
        width: 7rem;
        height: 7rem;
    }
}

.hero-title-text span {
    display: block;
}

.hero-title .highlight {
    color: hsl(var(--secondary));
}

.hero-slogan {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-slogan {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-slogan {
        font-size: 1.875rem;
    }
}

.hero-slogan .highlight {
    color: hsl(var(--secondary));
    font-weight: 600;
}

.hero-subtext {
    font-size: 1rem;
    color: hsla(var(--primary-foreground), 0.8);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtext {
        font-size: 1.125rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-cta .btn-whatsapp,
.hero-cta .btn-phone {
    font-size: 1.125rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator-inner {
    width: 1.25rem;
    height: 2rem;
    border: 2px solid hsla(var(--primary-foreground), 0.4);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.35rem;
}

.scroll-indicator-dot {
    width: 0.3rem;
    height: 0.5rem;
    background-color: hsla(var(--primary-foreground), 0.9);
    border-radius: 9999px;
    animation: bounce 1.2s ease-in-out infinite;
}

/* ===== About Section ===== */
.about-section {
    background: linear-gradient(180deg, hsl(var(--muted)) 0%, hsl(var(--background)) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: hsla(var(--secondary), 0.15);
    border-radius: 9999px;
    color: hsl(var(--primary));
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title .highlight {
    color: hsl(var(--secondary));
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.stat-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 1024px) {
    .stat-card {
        padding: 2rem;
    }
}

.stat-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: hsla(var(--secondary), 0.2);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.stat-card:hover .stat-icon {
    background-color: hsla(var(--secondary), 0.3);
}

.stat-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .stat-value {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

@media (min-width: 1024px) {
    .stat-label {
        font-size: 1rem;
    }
}

/* About Content Grid */
.about-content {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-text h3 {
        font-size: 1.875rem;
    }
}

.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checklist-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: hsl(var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checklist-icon svg {
    width: 1rem;
    height: 1rem;
    color: hsl(var(--primary));
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image::before {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background-color: hsla(var(--secondary), 0.3);
    border-radius: 1.5rem;
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 6rem;
    height: 6rem;
    background-color: hsla(var(--primary), 0.2);
    border-radius: 1.5rem;
    z-index: -1;
}

/* ===== Services Section ===== */
.services-section {
    background-color: hsl(var(--background));
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-8px);
}

.service-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(var(--primary), 0.6) 0%, transparent 100%);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: hsl(var(--secondary));
}

.service-content p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.service-buttons {
    display: flex;
    gap: 0.75rem;
}

.service-buttons a {
    flex: 1;
    text-align: center;
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-buttons .whatsapp-btn {
    background-color: var(--whatsapp);
    color: white;
}

.service-buttons .whatsapp-btn:hover {
    background-color: rgba(37, 211, 102, 0.9);
}

.service-buttons .phone-btn {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.service-buttons .phone-btn:hover {
    background-color: hsla(var(--primary), 0.9);
}

/* Services CTA */
.services-cta {
    margin-top: 4rem;
    text-align: center;
}

.services-cta p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.services-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .services-cta-buttons {
        flex-direction: row;
    }
}

.services-cta-buttons .btn-whatsapp,
.services-cta-buttons .btn-phone {
    font-size: 1.125rem;
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    background-color: hsl(var(--primary));
}

.portfolio-section .section-badge {
    background-color: hsla(var(--secondary), 0.2);
    color: hsl(var(--secondary));
}

.portfolio-section .section-title {
    color: hsl(var(--primary-foreground));
}

.portfolio-section .section-title .highlight {
    color: hsl(var(--secondary));
}

.portfolio-section .section-description {
    color: hsla(var(--primary-foreground), 0.8);
}

.portfolio-carousel {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
}

.portfolio-main {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.portfolio-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.7s ease-in-out;
}

.portfolio-slide.active {
    opacity: 1;
    transform: scale(1);
}

.portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(var(--primary), 0.8) 0%, transparent 50%, transparent 100%);
}

.portfolio-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .portfolio-slide-info {
        padding: 2rem;
    }
}

.portfolio-slide-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .portfolio-slide-info h3 {
        font-size: 1.875rem;
    }
}

.portfolio-slide-info p {
    color: hsla(var(--primary-foreground), 0.9);
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-instagram-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--secondary));
    font-size: 0.875rem;
    font-weight: 600;
}

.instagram-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: hsl(var(--secondary));
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.instagram-profile-link:hover {
    opacity: 0.8;
}

.portfolio-slide {
    cursor: pointer;
    text-decoration: none;
    display: block;
}

/* Portfolio Navigation Arrows */
.portfolio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background-color: hsla(var(--background), 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary-foreground));
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.portfolio-nav:hover {
    background-color: hsla(var(--background), 0.4);
}

.portfolio-nav.prev {
    left: 1rem;
}

.portfolio-nav.next {
    right: 1rem;
}

.portfolio-nav svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Portfolio Dots */
.portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.portfolio-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: hsla(var(--primary-foreground), 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-dot:hover {
    background-color: hsla(var(--primary-foreground), 0.6);
}

.portfolio-dot.active {
    background-color: hsl(var(--secondary));
    width: 2rem;
}

/* Portfolio Thumbnails */
.portfolio-thumbnails {
    display: none;
    gap: 1rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .portfolio-thumbnails {
        display: flex;
    }
}

.portfolio-thumbnail {
    flex-shrink: 0;
    width: 8rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.6;
    cursor: pointer;
}

.portfolio-thumbnail:hover {
    opacity: 1;
}

.portfolio-thumbnail.active {
    box-shadow: 0 0 0 4px hsl(var(--secondary));
    transform: scale(1.05);
    opacity: 1;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Location Section ===== */
.location-section {
    background-color: hsl(var(--muted));
}

.location-grid {
    display: grid;
    gap: 3rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.location-map {
    order: 2;
}

@media (min-width: 1024px) {
    .location-map {
        order: 1;
    }
}

.location-map-container {
    background-color: hsl(var(--card));
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px hsla(204, 36%, 36%, 0.25);
}

.location-map-container iframe {
    width: 100%;
    min-height: 350px;
    border: none;
}

.location-map-note {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
    text-align: center;
}

.location-info {
    order: 1;
}

@media (min-width: 1024px) {
    .location-info {
        order: 2;
    }
}

/* Info Card */
.info-card {
    background-color: hsl(var(--card));
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: hsla(var(--secondary), 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
}

.info-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.info-content p {
    color: hsl(var(--muted-foreground));
}

.info-content .phone-number {
    font-size: 1.125rem;
    font-weight: 600;
}

/* CTA Card */
.cta-card {
    background-color: hsl(var(--primary));
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    margin-bottom: 1rem;
}

.cta-card p {
    color: hsla(var(--primary-foreground), 0.8);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-buttons .btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-accent);
}

.cta-buttons .btn-secondary:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* ===== Footer ===== */
.site-footer {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, hsl(var(--secondary)) 50%, transparent 100%);
    opacity: 0.5;
}

.footer-main {
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand h2 span {
    color: hsl(var(--secondary));
}

.footer-brand p {
    color: hsla(var(--primary-foreground), 0.8);
    max-width: 28rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: hsla(var(--secondary), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: hsla(var(--secondary), 0.4);
}

.social-link.whatsapp {
    background-color: var(--whatsapp);
}

.social-link.whatsapp:hover {
    opacity: 0.9;
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--secondary));
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsla(var(--primary-foreground), 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: hsl(var(--secondary));
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--secondary));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact li a,
.footer-contact li span {
    color: hsla(var(--primary-foreground), 0.8);
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: hsl(var(--secondary));
}

.footer-bottom {
    border-top: 1px solid hsla(var(--primary-foreground), 0.12);
    padding: 1.25rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
    font-size: 0.8125rem;
    color: hsla(var(--primary-foreground), 0.7);
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.whatsapp-float-ring {
    position: absolute;
    inset: 0;
    background-color: var(--whatsapp);
    border-radius: 50%;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.3;
}

.whatsapp-float-ring-2 {
    position: absolute;
    inset: 0;
    background-color: var(--whatsapp);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0.5s;
    opacity: 0.4;
}

.whatsapp-float-btn {
    position: relative;
    width: 4rem;
    height: 4rem;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px -3px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: pulse-soft 2s ease-in-out infinite;
}

.whatsapp-float:hover .whatsapp-float-btn {
    transform: scale(1.1);
    box-shadow: 0 6px 20px -3px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: hsl(var(--foreground));
}

/* ===== SVG Icons Inline ===== */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* ===== Screen Reader Only ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Exit Intent Popup ===== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@media (min-width: 640px) {
    .exit-popup-overlay {
        align-items: center;
    }
}

/* Hero logo centered */
.hero-logo-centered {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img-centered {
    max-width: 100px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .hero-logo-img-centered {
        max-width: 140px;
        max-height: 90px;
    }
}

@media (min-width: 1024px) {
    .hero-logo-img-centered {
        max-width: 180px;
        max-height: 115px;
    }
}

.exit-popup-card {
    position: relative;
    background: #fff;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 22rem;
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

@media (min-width: 640px) {
    .exit-popup-card {
        border-radius: 1rem;
        width: 90vw;
    }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.exit-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
}

.exit-popup-close:hover {
    color: #fff;
}

.exit-popup-header {
    background: hsl(var(--primary));
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exit-popup-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.2);
}

.exit-popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exit-popup-info {
    color: #fff;
}

.exit-popup-name {
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.2;
    margin: 0;
}

.exit-popup-status {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
}

.status-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #4ade80;
}

.exit-popup-body {
    padding: 1.25rem 1rem;
    background: #f9fafb;
}

.exit-popup-bubble {
    background: #fff;
    border-radius: 0.75rem;
    border-top-left-radius: 0;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
    max-width: 85%;
}

.exit-popup-bubble p {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

.exit-popup-time {
    font-size: 0.625rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    margin-left: 0.25rem;
    display: block;
}

.exit-popup-cta {
    padding: 0 1rem 1.25rem;
}

.exit-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--whatsapp);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(37,211,102,0.3);
}

.exit-popup-btn:hover {
    background: #20BD5A;
    transform: scale(1.02);
}
