/* ==========================================================================
   Villa de las Flores - Master Stylesheet
   Florería Boutique & Tarjeta de Presentación Digital (Mobile-Perfected)
   ========================================================================== */

/* --- CSS Variables & Theme Setup --- */
:root {
    --primary-color: #cb5372;
    --primary-hover: #b23b59;
    --primary-light: #fbeef1;
    --secondary-color: #c49651;
    --secondary-hover: #ad803b;
    --bg-light: #faf7f5;
    --card-bg: #ffffff;
    --text-color: #2b2527;
    --text-muted: #6e6568;
    --border-color: #f0e4e6;
    
    /* Social Brand Colors */
    --wa-color: #25D366;
    --fb-color: #1877F2;
    --ig-color: #E4405F;
    --tt-color: #000000;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(203, 83, 114, 0.08);
    --shadow-lg: 0 16px 40px rgba(203, 83, 114, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    max-width: 100%;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    overflow-wrap: break-word;
    word-break: break-word;
}

p, span, li, label {
    overflow-wrap: break-word;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* --- Layout Utility Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section {
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.section-subtitle.light {
    color: #e5c38c;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 14px;
    color: var(--text-color);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-sizing: border-box;
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.88rem;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.02rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(203, 83, 114, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(203, 83, 114, 0.35);
}

.btn-whatsapp {
    background-color: var(--wa-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240, 228, 230, 0.8);
    transition: all var(--transition-fast);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 20px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
}

.nav-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.nav-list {
    display: flex;
    gap: 26px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    flex-shrink: 0;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 70px;
    background: linear-gradient(135deg, #fffbf9 0%, #f7eef1 100%);
    overflow: hidden;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(203, 83, 114, 0.12) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(196, 150, 81, 0.12) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.hero-logo-wrapper {
    margin-bottom: 16px;
    position: relative;
}

.hero-main-logo {
    width: 125px;
    height: 125px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    border: 3px solid #ffffff;
    transition: transform var(--transition-normal);
}

.hero-title {
    font-size: 3.2rem;
    color: var(--text-color);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 20px;
}

.hero-owner-tag {
    font-size: 0.9rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed rgba(203, 83, 114, 0.3);
    text-align: center;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
}

.hero-features {
    display: flex;
    gap: 26px;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(203, 83, 114, 0.15);
    padding-top: 24px;
    width: 100%;
    max-width: 800px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-paragraph {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}

.highlight-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background-color: var(--bg-light);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.highlight-card h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    margin-bottom: 2px;
}

.highlight-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(203, 83, 114, 0.3);
}

.service-card.highlight {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, #ffffff 0%, #fff7f9 100%);
}

.service-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.service-title {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-list {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.86rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-list li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin-top: 3px;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(43, 37, 39, 0.88) 0%, rgba(43, 37, 39, 0.1) 70%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    transition: opacity var(--transition-fast);
    color: #ffffff;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    font-weight: 700;
}

.gallery-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.gallery-zoom {
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 92%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 14px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   Delivery Section
   ========================================================================== */
.delivery-section {
    background-color: var(--bg-light);
}

.delivery-card {
    background: linear-gradient(135deg, #2b2527 0%, #47383c 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 46px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.delivery-title {
    color: #ffffff;
    font-size: 2.1rem;
    margin-bottom: 12px;
}

.delivery-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    max-width: 700px;
    margin-bottom: 32px;
}

.delivery-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 22px;
    margin-bottom: 32px;
}

.d-feat {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.d-feat i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.d-feat h5 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.d-feat p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
}

.contact-info-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.info-block h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 2px;
}

.info-block p {
    font-size: 0.9rem;
    color: var(--text-color);
}

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

.contact-link:hover {
    text-decoration: underline;
}

.address-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.address-link:hover .address-text {
    color: var(--primary-color);
    text-decoration: underline;
}

.maps-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(203, 83, 114, 0.2);
    transition: all var(--transition-fast);
}

.address-link:hover .maps-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Social Media Custom Buttons */
.social-wrapper {
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    margin-top: 4px;
}

.social-title {
    font-family: var(--font-body);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.social-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-btn.facebook:hover { border-color: var(--fb-color); color: var(--fb-color); }
.social-btn.instagram:hover { border-color: var(--ig-color); color: var(--ig-color); }
.social-btn.tiktok:hover { border-color: #000000; color: #000000; }
.social-btn.whatsapp-social:hover { border-color: var(--wa-color); color: var(--wa-color); }

/* Quick Form Card */
.contact-form-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.contact-form-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    outline: none;
    transition: border-color var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(203, 83, 114, 0.15);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.float-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
    animation: floatPulse 3s infinite;
}

.float-wa-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.float-tooltip {
    position: absolute;
    right: 62px;
    background-color: #2b2527;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.float-whatsapp:hover {
    transform: scale(1.08);
}

.float-whatsapp:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes floatPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #231e20;
    color: #ffffff;
    padding: 44px 0 20px 0;
    text-align: center;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-logo {
    height: 34px;
    width: auto;
    border-radius: 6px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-owner {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    width: 100%;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}


/* ==========================================================================
   Mobile & Responsive Adjustments (Fix Overflow & Perfect Fit)
   ========================================================================== */

/* Mobile Breakpoints (< 992px) */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
        padding: 90px 24px 40px 24px;
        transition: right var(--transition-normal);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 18px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Mobile Breakpoints (< 768px) */
@media (max-width: 768px) {
    .section {
        padding: 46px 0;
    }
    
    .container {
        padding: 0 14px;
    }

    .header-container {
        height: 62px;
        padding: 0 12px;
    }

    .brand-logo {
        gap: 6px;
    }

    .brand-name {
        font-size: 1.05rem;
        max-width: 155px;
    }

    .nav-logo-img {
        height: 34px;
    }

    .header-actions {
        gap: 8px;
    }

    /* Transform WhatsApp button in header into a clean circular icon on mobile */
    .header-actions .btn-whatsapp {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
        flex-shrink: 0;
    }

    .header-actions .btn-whatsapp span {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
        width: 24px;
        height: 18px;
        flex-shrink: 0;
    }

    /* Hero Section mobile refinements */
    .hero-section {
        padding-top: 86px;
        padding-bottom: 40px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 5px 14px;
        margin-bottom: 12px;
    }

    .hero-main-logo {
        width: 95px;
        height: 95px;
        padding: 6px;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.12;
        margin-bottom: 4px;
    }

    .hero-slogan {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero-owner-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 22px;
        max-width: 90%;
        text-align: center;
        justify-content: center;
        line-height: 1.35;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        gap: 10px;
        margin-bottom: 30px;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.9rem;
        white-space: normal;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-top: 16px;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    /* Section Headers */
    .section-title {
        font-size: 1.85rem;
    }

    .section-description {
        font-size: 0.92rem;
        margin-bottom: 30px;
    }

    /* About Section */
    .about-img {
        height: 260px;
    }

    .about-badge {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .badge-number {
        font-size: 1.3rem;
    }

    .badge-text {
        font-size: 0.68rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 22px 16px;
    }

    .service-title {
        font-size: 1.3rem;
    }

    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        height: 170px;
    }

    .gallery-overlay {
        padding: 10px;
    }

    .gallery-title {
        font-size: 0.9rem;
    }

    .gallery-category {
        font-size: 0.65rem;
    }

    .gallery-zoom {
        font-size: 0.72rem;
    }

    /* Delivery Card */
    .delivery-card {
        padding: 26px 16px;
        border-radius: var(--radius-md);
    }

    .delivery-title {
        font-size: 1.55rem;
    }

    .delivery-text {
        font-size: 0.88rem;
        margin-bottom: 24px;
    }

    .delivery-features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 24px;
    }

    .delivery-cta .btn {
        width: 100%;
        white-space: normal;
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    /* Contact Cards */
    .contact-info-card, .contact-form-card {
        padding: 22px 16px;
        border-radius: var(--radius-md);
    }

    .contact-form-card h3 {
        font-size: 1.4rem;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .social-btn {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .social-btn img {
        width: 18px;
        height: 18px;
    }

    /* Form input iOS Safari zoom prevention */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
    }

    /* Float WhatsApp Button */
    .float-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .float-wa-icon {
        width: 28px;
        height: 28px;
    }

    .float-tooltip {
        display: none;
    }
}

/* Extra Small Mobile Devices (< 380px) */
@media (max-width: 380px) {
    .brand-name {
        font-size: 0.95rem;
        max-width: 130px;
    }

    .nav-logo-img {
        height: 30px;
    }

    .header-container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-slogan {
        font-size: 1.05rem;
    }
}
