﻿/* ===================================
   CAMARY - Official Brand Manual 2025
   CSS Design System
   =================================== */

/* ===================================
   @FONT-FACE - Glancyr Typography
   =================================== */
@font-face {
    font-family: 'Glancyr';
    src: url('../assets/fonts/Glancyr-Medium.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glancyr';
    src: url('../assets/fonts/Glancyr-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ===================================
   CSS Variables - Official Brand Palette
   =================================== */
:root {
    /* Official Brand Colors */
    --color-navy-deep: #000130;
    /* Azul Marino Profundo - Primary backgrounds, footer */
    --color-blue-vibrant: #194BC8;
    /* Azul Vibrante - Buttons, accents, hover */
    --color-sky-bright: #5DA6FF;
    /* Celeste Brillante - Details, icons, interactive */
    --color-white: #FFFFFF;
    /* Blanco - Backgrounds, contrast */

    /* Semantic Colors */
    --color-success: #28a745;
    --color-whatsapp: #25D366;
    --color-gray-light: #F8F9FA;
    --color-gray-medium: #636e72;

    /* Typography */
    --font-headings: 'Glancyr', 'Montserrat', 'Inter', sans-serif;
    --font-body: 'Roboto', 'Open Sans', sans-serif;

    /* Spacing - Official Brand Manual */
    --spacing-section: 100px;
    --spacing-card: 30px;
    --spacing-gap: 40px;

    /* Border Radius */
    --radius-small: 10px;
    --radius-medium: 15px;
    --radius-large: 20px;
    --radius-pill: 25px;
    --radius-circle: 50%;

    /* Shadows */
    --shadow-soft: 0 5px 20px rgba(0, 1, 48, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 1, 48, 0.12);
    --shadow-strong: 0 15px 40px rgba(0, 1, 48, 0.15);
    --shadow-hover: 0 20px 50px rgba(0, 1, 48, 0.2);

    /* Transitions */
    --transition-standard: 0.3s ease;
    --transition-flip: 0.7s;
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-navy-deep);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   Container & Layout
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Typography System
   =================================== */

.section-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-navy-deep);
}

.section-subtitle {
    font-family: var(--font-headings);
    font-weight: 400;
    text-align: center;
    color: rgba(0, 1, 48, 0.7);
    margin-bottom: 40px;
    font-size: 1.15rem;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-headings);
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-standard);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-blue-vibrant);
    color: var(--color-white);
    box-shadow: 0 5px 20px rgba(25, 75, 200, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-navy-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 75, 200, 0.5);
}

.btn-hero {
    background-color: var(--color-blue-vibrant);
    color: var(--color-white);
    padding: 18px 45px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(25, 75, 200, 0.4);
}

.btn-hero:hover {
    background-color: var(--color-sky-bright);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 75, 200, 0.6);
}

.btn-submit {
    background-color: var(--color-blue-vibrant);
    color: var(--color-white);
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: var(--color-navy-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(25, 75, 200, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 20px 50px;
    font-size: 1.2rem;
}

.btn-outline:hover {
    background-color: var(--color-sky-bright);
    color: var(--color-white);
    border-color: var(--color-sky-bright);
    transform: translateY(-3px);
}

/* ===================================
   Top Contact Bar
   =================================== */

.top-bar {
    background: linear-gradient(90deg, var(--color-blue-vibrant) 0%, #000130 100%);
    padding: 10px 0;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.phone-link {
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    transition: var(--transition-standard);
}

.phone-link:hover {
    color: var(--color-sky-bright);
}

/* Reusable icon box — rounded square with blue bg */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(25, 75, 200, 0.1);
    border-radius: 6px;
    color: var(--color-blue-vibrant);
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 6px;
}

.icon-box svg {
    stroke: var(--color-blue-vibrant);
}

/* Top bar variant (dark bg → lighter icon box) */
.top-bar .icon-box {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.top-bar .icon-box svg {
    stroke: white;
}

/* Footer variant */
.footer .icon-box {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.footer .icon-box svg {
    stroke: rgba(255, 255, 255, 0.8);
}

/* ===================================
   Header / Navigation
   =================================== */

.header {
    background-color: rgba(7, 14, 54, 0.15);
    /* Slightly transparent */
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: filter 0.3s ease;
}

.header.scrolled {
    position: fixed;
    top: 0;
    background: linear-gradient(90deg, var(--color-blue-vibrant) 0%, #000130 100%);
    box-shadow: 0 4px 15px rgba(0, 1, 48, 0.4);
    padding: 12px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--color-blue-vibrant);
    font-weight: 700;
    min-width: 94.49px;
    /* Brand manual minimum */
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-standard);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: 400;
    color: var(--color-white);
    font-size: 16px;
    transition: all var(--transition-standard);
    position: relative;
}

.nav-link:hover {
    color: var(--color-blue-vibrant);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-blue-vibrant);
    transition: width var(--transition-standard);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition-standard);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    background-image: url('../assets/images/Hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 1, 48, 0.8) 0%, rgba(0, 1, 48, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

.hero-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 1, 48, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-headings);
    font-weight: 400;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
}

/* ===================================
   Why Us - Horizontal Bar
   =================================== */

.why-us-bar {
    background: linear-gradient(90deg, var(--color-navy-deep) 0%, #0a1a5e 100%);
    padding: 0;
    overflow: hidden;
}

.why-us-bar-content {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 18px 0;
}

.why-us-bar-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-white);
    white-space: nowrap;
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    flex-shrink: 0;
}

.why-us-bar-items {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: space-evenly;
}

.why-us-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    transition: all var(--transition-standard);
    border-radius: var(--radius-small);
}

.why-us-bar-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.why-us-bar-item svg {
    color: var(--color-sky-bright);
    stroke: var(--color-sky-bright);
    flex-shrink: 0;
}

.why-us-bar-item span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

@media (max-width: 968px) {
    .why-us-bar-content {
        flex-direction: column;
        gap: 12px;
    }

    .why-us-bar-title {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 12px;
    }

    .why-us-bar-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
}

@media (max-width: 576px) {
    .why-us-bar-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .why-us-bar-content {
        align-items: flex-start;
    }
}

/* ===================================
   About / Quiénes Somos Section
   =================================== */

.about-section {
    padding: var(--spacing-section) 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left: Content column (appears first in the new layout) */
.about-content-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: -1;
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-blue-vibrant);
}

.about-eyebrow-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-blue-vibrant);
}

.about-title {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-navy-deep);
    line-height: 1.15;
    margin: 0;
}

.about-accent {
    color: var(--color-blue-vibrant);
}

.about-desc {
    font-family: var(--font-body);
    color: rgba(0, 1, 48, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 1, 48, 0.06);
    transition: all var(--transition-standard);
}

.about-feature:last-child {
    border-bottom: none;
}

.about-feature:hover {
    transform: translateX(4px);
}

.about-feature svg {
    color: var(--color-blue-vibrant);
    stroke: var(--color-blue-vibrant);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    padding: 9px;
    background: rgba(25, 75, 200, 0.1);
    border-radius: 8px;
    box-sizing: content-box;
}

.about-feature span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy-deep);
}

/* Right: Image column */
.about-image-col {
    position: relative;
    order: 1;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-large);
    object-fit: cover;
    box-shadow: var(--shadow-medium);
}

.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: linear-gradient(135deg, var(--color-navy-deep), #1a2a6e);
    color: var(--color-white);
    padding: 22px 26px;
    border-radius: var(--radius-medium);
    text-align: center;
    box-shadow: var(--shadow-strong);
    z-index: 2;
}

.about-badge-number {
    display: block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.1;
}

.about-badge-text {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 4px;
}

/* About responsive */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content-col {
        order: 1;
    }

    .about-image-col {
        order: -1;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .about-badge {
        bottom: -15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 1.8rem;
    }

    .about-badge {
        padding: 16px 20px;
    }

    .about-badge-number {
        font-size: 1.4rem;
    }
}

/* ===================================
   Services Section
   =================================== */

.services {
    padding: 50px 0;
    background-color: var(--color-white);
}

/* Services Header */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
}

.services-header-left {
    flex: 1;
}

.services-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-blue-vibrant);
    margin-bottom: 16px;
}

.services-eyebrow-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-blue-vibrant);
}

.services-main-title {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-navy-deep);
    line-height: 1.15;
    margin: 0;
}

.services-accent {
    color: var(--color-blue-vibrant);
}

.services-header-right {
    flex-shrink: 0;
}

.btn-services-outline {
    display: inline-block;
    padding: 14px 30px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--color-blue-vibrant);
    border: 2px solid var(--color-blue-vibrant);
    border-radius: var(--radius-pill);
    transition: all var(--transition-standard);
    text-decoration: none;
}

.btn-services-outline:hover {
    background-color: var(--color-blue-vibrant);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(25, 75, 200, 0.3);
}

/* Services Cards Grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Individual Service Card */
.svc-card {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.svc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.svc-card:hover .svc-card-img {
    transform: scale(1.08);
}

.svc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 1, 48, 0.85) 0%,
            rgba(0, 1, 48, 0.4) 40%,
            rgba(0, 1, 48, 0.05) 100%);
    transition: background 0.4s ease;
}

.svc-card:hover .svc-card-overlay {
    background: linear-gradient(to top,
            rgba(0, 1, 48, 0.9) 0%,
            rgba(0, 1, 48, 0.5) 50%,
            rgba(0, 1, 48, 0.1) 100%);
}

.svc-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.svc-card:hover .svc-card-body {
    transform: translateY(0);
}

.svc-card-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-white);
    margin: 0 0 8px;
    line-height: 1.3;
}

.svc-card-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0 0 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.svc-card:hover .svc-card-desc {
    opacity: 1;
    transform: translateY(0);
}

.svc-card-cta {
    display: inline-block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--color-sky-bright);
    text-decoration: none;
    transition: all var(--transition-standard);
    opacity: 0;
    transform: translateY(10px);
}

.svc-card:hover .svc-card-cta {
    opacity: 1;
    transform: translateY(0);
}

.svc-card-cta:hover {
    color: var(--color-white);
    letter-spacing: 0.12em;
}

/* Services responsive */
@media (max-width: 968px) {
    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-main-title {
        font-size: 2.2rem;
    }

    .svc-card {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .services-main-title {
        font-size: 1.8rem;
    }

    .svc-card {
        height: 300px;
    }

    .svc-card-body {
        padding: 22px;
    }

    .svc-card-title {
        font-size: 1.3rem;
    }

    .svc-card-desc {
        opacity: 1;
        transform: translateY(0);
    }

    .svc-card-cta {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Service Cards */
.service-card {
    background-color: var(--color-white);
    border: none;
    position: relative;
    overflow: visible;
}

/* Service Badge */
.service-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.service-badge--parents {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.service-badge--institutional {
    background: linear-gradient(135deg, var(--color-blue-vibrant), var(--color-sky-bright));
    color: white;
}

/* Institutional card accent */
.service-card--institutional {
    border-top: 3px solid var(--color-blue-vibrant);
}

.service-cta--institutional {
    background: linear-gradient(135deg, var(--color-blue-vibrant), var(--color-sky-bright));
}

.service-cta--institutional:hover {
    background: var(--color-navy-deep);
}

/* 5-card grid: last odd card spans full row and centers itself */
.services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.service-card {
    border-left: 5px solid var(--color-navy-deep);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 1, 48, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 1, 48, 0.15);
    border-left-color: var(--color-blue-vibrant);
}

.service-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.service-content h3 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-navy-deep);
    line-height: 1.3;
}

.service-description {
    font-family: var(--font-body);
    color: rgba(0, 1, 48, 0.7);
    line-height: 1.6;
    font-size: 0.92rem;
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.service-features li {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.service-cta {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--color-blue-vibrant);
    border: 2px solid var(--color-blue-vibrant);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.service-cta:hover {
    background-color: var(--color-blue-vibrant);
    color: var(--color-white);
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-content {
        padding: 22px;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-content {
        padding: 20px;
        gap: 10px;
    }

    .service-content h3 {
        font-size: 1.35rem;
    }

    .service-description {
        font-size: 0.88rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    .service-cta {
        padding: 9px 18px;
        font-size: 0.85rem;
    }
}

/* ===================================
   Why Choose Us - Flip Cards
   =================================== */

.why-us {
    padding: var(--spacing-section) 0;
    background: linear-gradient(90deg, var(--color-blue-vibrant) 0%, #000130 100%);
}

.why-us .section-title {
    color: var(--color-white);
}

.why-us .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.instruction-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: var(--radius-large);
    text-align: center;
    margin: 0 auto 40px auto;
    max-width: fit-content;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.flip-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.flip-card {
    height: 340px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-flip);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-large);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 35px;
    box-shadow: 0 10px 40px rgba(0, 1, 48, 0.2);
}

.flip-card-front {
    background-color: var(--color-white);
    text-align: center;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--color-navy-deep), var(--color-blue-vibrant));
    color: var(--color-white);
    transform: rotateY(180deg);
    text-align: center;
}

.flip-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    background-color: var(--color-blue-vibrant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 4px 16px rgba(25, 75, 200, 0.3);
    animation: float 3s ease-in-out infinite;
}

.flip-icon svg {
    color: white;
    stroke: white;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.flip-card-front h3 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--color-navy-deep);
    margin-bottom: 15px;
}

.flip-card-front .hint {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-sky-bright);
    margin-top: 15px;
}

.flip-card-back .check-icon {
    font-size: 2.5rem;
    color: var(--color-sky-bright);
    margin-bottom: 20px;
}

.flip-card-back p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
}

.why-us-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===================================
   How We Work Section
   =================================== */

.how-we-work {
    padding: var(--spacing-section) 0;
    background: #f4f7fe;
}

.how-we-work .section-title {
    color: var(--color-navy-deep);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.how-we-work .section-title em,
.how-we-work .section-title i {
    font-style: italic;
}

.how-we-work .section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-blue-vibrant);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.how-we-work .section-subtitle::before {
    content: '';
    display: inline-block;
    width: 35px;
    height: 2px;
    background: var(--color-blue-vibrant);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 50px;
    position: relative;
}

/* Horizontal connecting line behind the circles */
.process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue-vibrant), var(--color-sky-bright));
    border-radius: 2px;
    z-index: 0;
}

.process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 25px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: all var(--transition-standard);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: transparent;
}

.process-number {
    width: 64px;
    height: 64px;
    background: var(--color-blue-vibrant);
    color: var(--color-white);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 28px auto;
    box-shadow: 0 6px 24px rgba(25, 75, 200, 0.35);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    border: 4px solid #f4f7fe;
}

.process-card:hover .process-number {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(25, 75, 200, 0.45);
    background: linear-gradient(135deg, var(--color-blue-vibrant), var(--color-sky-bright));
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.process-icon svg {
    color: var(--color-blue-vibrant);
    stroke: var(--color-blue-vibrant);
}

.process-card h3 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-navy-deep);
    margin-bottom: 12px;
    line-height: 1.3;
}

.process-card p {
    font-family: var(--font-body);
    color: rgba(0, 1, 48, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-grid::before {
        display: none;
    }

    .process-card {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .how-we-work .section-title {
        font-size: 2rem;
    }
}

/* ===================================
   Quote Form Section
   =================================== */

.quote-section {
    padding: var(--spacing-section) 0;
    background-color: var(--color-white);
}

.quote-section .section-title {
    color: var(--color-navy-deep);
}

.quote-section .section-subtitle {
    color: rgba(0, 1, 48, 0.7);
}

.quote-form-container {
    max-width: 800px;
    margin: 60px auto 0;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-medium);
    box-shadow: 0 6px 20px rgba(0, 1, 48, 0.1);
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-navy-deep);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 20px;
    border: 2px solid rgba(93, 166, 255, 0.3);
    border-radius: var(--radius-small);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-standard);
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue-vibrant);
    box-shadow: 0 0 0 3px rgba(25, 75, 200, 0.15),
        0 0 12px rgba(25, 75, 200, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Options Styles */
.submit-options {
    margin-top: 30px;
    text-align: center;
}

.submit-label {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--color-navy-deep);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.submit-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp,
.btn-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-standard);
    border: none;
    min-width: 220px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-email {
    background: linear-gradient(135deg, var(--color-blue-vibrant), var(--color-sky-bright));
    color: white;
    box-shadow: 0 4px 15px rgba(25, 75, 200, 0.4);
}

.btn-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 75, 200, 0.5);
}

.btn-whatsapp svg,
.btn-email svg {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .submit-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-whatsapp,
    .btn-email {
        width: 100%;
        max-width: 300px;
    }
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials {
    padding: var(--spacing-section) 0;
    background: #f4f7fe;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-blue-vibrant);
    margin-bottom: 20px;
}

.testimonials-eyebrow-line {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-blue-vibrant);
}

.testimonials-title {
    font-family: var(--font-headings);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-navy-deep);
    line-height: 1.1;
    margin: 0;
}

.testimonials-accent {
    color: var(--color-blue-vibrant);
}

/* Carousel container — static grid on desktop */
.testimonials-carousel {
    position: relative;
}

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 1, 48, 0.05);
    border: 1px solid rgba(0, 1, 48, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hide arrows and dots on desktop */
.carousel-arrow,
.carousel-dots {
    display: none;
}

/* ---- MOBILE: activate carousel ---- */
@media (max-width: 768px) {
    .testimonials-carousel {
        overflow: hidden;
        margin: 0 -15px;
        padding: 0 15px;
    }

    .testimonials-track {
        display: flex;
        grid-template-columns: none;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 20px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 0;
    }

    /* Show arrows */
    .carousel-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid rgba(0, 1, 48, 0.12);
        background: white;
        color: var(--color-navy-deep);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .carousel-arrow:hover {
        background: var(--color-blue-vibrant);
        color: white;
        border-color: var(--color-blue-vibrant);
    }

    .carousel-arrow svg {
        stroke: currentColor;
    }

    .carousel-prev {
        left: 2px;
    }

    .carousel-next {
        right: 2px;
    }

    /* Show dots */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 25px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: rgba(0, 1, 48, 0.15);
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
    }

    .carousel-dot.active {
        background: var(--color-blue-vibrant);
        transform: scale(1.3);
    }

    .carousel-dot:hover:not(.active) {
        background: rgba(0, 1, 48, 0.3);
    }
}


.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: rgba(0, 1, 48, 0.6);
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-blue-vibrant);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author-info h4 {
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy-deep);
    margin: 0 0 2px 0;
}

.testimonial-author-info p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(0, 1, 48, 0.5);
    margin: 0;
}



/* ===================================
   Quote Form Section
   =================================== */
.quote-section {
    padding: var(--spacing-section) 0;
    background-color: var(--color-white);
}

.quote-section .section-title {
    color: var(--color-navy-deep);
}

.quote-section .section-subtitle {
    color: rgba(0, 1, 48, 0.7);
}

.quote-form-container {
    max-width: 800px;
    margin: 60px auto 0;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-medium);
    box-shadow: 0 6px 20px rgba(0, 1, 48, 0.1);
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-navy-deep);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 20px;
    border: 2px solid rgba(93, 166, 255, 0.3);
    border-radius: var(--radius-small);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-standard);
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue-vibrant);
    box-shadow: 0 0 0 3px rgba(25, 75, 200, 0.15),
        0 0 12px rgba(25, 75, 200, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Options Styles */
.submit-options {
    margin-top: 30px;
    text-align: center;
}

.submit-label {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--color-navy-deep);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.submit-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp,
.btn-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-standard);
    border: none;
    min-width: 220px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-email {
    background: linear-gradient(135deg, var(--color-blue-vibrant), var(--color-sky-bright));
    color: white;
    box-shadow: 0 4px 15px rgba(25, 75, 200, 0.4);
}

.btn-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 75, 200, 0.5);
}

.btn-whatsapp svg,
.btn-email svg {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .submit-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-whatsapp,
    .btn-email {
        width: 100%;
        max-width: 300px;
    }
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(90deg, var(--color-blue-vibrant) 0%, #000130 100%);
    color: var(--color-white);
    padding: 60px 40px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    margin-bottom: 20px;
    transition: opacity var(--transition-standard);
}

.footer-logo-img:hover {
    opacity: 0.8;
}

.footer-tagline {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-circle);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all var(--transition-standard);
}

.social-icon:hover {
    background-color: var(--color-sky-bright);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-standard);
}

.footer-column a:hover {
    color: var(--color-sky-bright);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-standard);
}

.footer-links a:hover {
    color: var(--color-white);
}

/* ===================================
   WhatsApp Container & Popup
   =================================== */

.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

/* Welcome Popup */
.whatsapp-popup {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.popup-close:hover {
    opacity: 1;
}

.popup-content {
    display: flex;
    flex-direction: column;
}

.popup-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.popup-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid white;
}

.popup-info {
    display: flex;
    flex-direction: column;
}

.popup-name {
    color: white;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.1rem;
}

.popup-status {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.popup-message {
    padding: 20px;
    background: #f0f2f5;
}

.popup-message p {
    background: white;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.popup-message p:last-child {
    margin-bottom: 0;
}

.popup-cta {
    display: block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-align: center;
    padding: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popup-cta:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Float Wrapper */
.whatsapp-float-wrapper {
    position: relative;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--color-navy-deep);
    padding: 10px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: white;
    border-right: none;
}

.whatsapp-float-wrapper:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* Floating Button */
.whatsapp-float {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Pulse Effect */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulseRing 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Notification Badge */
.whatsapp-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.5);
    animation: notificationShake 3s ease-in-out infinite;
    border: 3px solid white;
    z-index: 10;
}

@keyframes notificationShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    5%,
    15% {
        transform: rotate(-15deg);
    }

    10%,
    20% {
        transform: rotate(15deg);
    }

    25%,
    75% {
        transform: rotate(0deg);
    }

    80%,
    90% {
        transform: scale(1.2);
    }

    85% {
        transform: scale(0.9);
    }
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet (577px - 968px) */
@media (max-width: 968px) {
    :root {
        --spacing-section: 80px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flip-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-content .btn-primary {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-navy-deep);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-standard);
        padding: 80px 30px 30px;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 1, 48, 0.1);
    }
}

/* Mobile (< 576px) */
@media (max-width: 576px) {
    :root {
        --spacing-section: 60px;
        --spacing-gap: 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .flip-cards-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .quote-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .flip-card {
        height: 300px;
    }
}

/* Touch devices - flip cards */
@media (hover: none) and (pointer: coarse) {
    .flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* ===================================
   WhatsApp CTA Banner (Cotizar Section)
   =================================== */

.whatsapp-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 0;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    animation: bannerPulse 3s ease-in-out infinite;
}

@keyframes bannerPulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    }

    50% {
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
    }
}

.whatsapp-cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.whatsapp-cta-title {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.whatsapp-cta-sub {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 4px 0 0;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #128C7E;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.whatsapp-cta-btn:hover {
    background: var(--color-navy-deep);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Divider "o llena el formulario" */
.quote-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0 10px;
    color: rgba(0, 1, 48, 0.45);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.quote-divider::before,
.quote-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 1, 48, 0.15);
}

.quote-divider span {
    padding: 0 16px;
}

/* Larger WhatsApp submit button */
.btn-whatsapp-main {
    padding: 16px 36px;
    font-size: 1.05rem;
    flex: 1.5;
}

/* Full width single submit button */
.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
    padding: 18px;
    font-size: 1.1rem;
}

/* ===================================
   Contact / Quote Section (Redesign)
   =================================== */
.contact-section {
    padding: var(--spacing-section) 0;
    background: var(--color-white);
}

.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-blue-vibrant);
    margin-bottom: 20px;
}

.contact-eyebrow-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-blue-vibrant);
}

.contact-main-title {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-navy-deep);
    line-height: 1.15;
    margin-bottom: 12px;
    text-align: center;
}

.contact-accent {
    color: var(--color-blue-vibrant);
}

.contact-main-subtitle {
    text-align: center;
    font-family: var(--font-body);
    color: rgba(0, 1, 48, 0.6);
    font-size: 1rem;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}


/* Two-column grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

/* Left column */
.contact-info-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy-deep);
    margin-bottom: 8px;
}

.contact-info-desc {
    font-family: var(--font-body);
    color: rgba(0, 1, 48, 0.65);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: #f5f7fb;
    border-radius: 10px;
    padding: 14px 16px;
    transition: background 0.2s;
}

.contact-item:hover {
    background: #eef1f9;
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(25, 75, 200, 0.1);
    border-radius: 8px;
    color: var(--color-blue-vibrant);
    flex-shrink: 0;
    margin-right: 14px;
}

.contact-item-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-navy-deep);
    text-decoration: none;
    line-height: 1.5;
    padding-top: 8px;
}

a.contact-item-text:hover {
    color: var(--color-blue-vibrant);
}

/* Right column — form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--color-white);
    padding: 40px 35px;
    border-radius: var(--radius-large);
    box-shadow: 0 10px 40px rgba(0, 1, 48, 0.08);
    border: 1px solid rgba(0, 1, 48, 0.06);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form .form-group--full {
    grid-column: 1 / -1;
}

.contact-form label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(0, 1, 48, 0.55);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #dde2ee;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-navy-deep);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-blue-vibrant);
    box-shadow: 0 0 0 3px rgba(25, 75, 200, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 90px;
}

/* Submit button */
.btn-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--color-blue-vibrant);
    color: white;
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.btn-contact-submit:hover {
    background: var(--color-navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(25, 75, 200, 0.35);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-main-title {
        font-size: 2.4rem;
        text-align: center;
    }

    .contact-eyebrow {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-main-title {
        font-size: 2rem;
    }
}

/* Responsive banner */
@media (max-width: 768px) {
    .whatsapp-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
    }

    .whatsapp-cta-left {
        flex-direction: column;
        gap: 10px;
    }

    .whatsapp-cta-btn {
        width: 100%;
        justify-content: center;
    }
}