/* ===== VARIABLES - Palette teal douce médicale ===== */
:root {
    --teal: #2a7f8b;
    --teal-light: #3a9daa;
    --teal-soft: #e8f4f6;
    --teal-muted: #b5d8dd;
    --teal-dark: #1e5f69;
    --teal-darker: #174a52;
    --sand: #c4a87a;
    --sand-light: #d4be9a;
    --white: #ffffff;
    --off-white: #f7fafb;
    --gray-light: #e8edef;
    --gray: #6b7d83;
    --gray-dark: #4a5c62;
    --text: #2c3e42;
    --text-light: #5a6f75;
    --shadow: 0 4px 24px rgba(42, 127, 139, 0.08);
    --shadow-hover: 0 12px 40px rgba(42, 127, 139, 0.14);
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.04);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.3;
}

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

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    background: var(--teal);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== SVG SPRITES ===== */
.svg-sprites {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
    outline: 3px solid var(--teal-light);
    outline-offset: 3px;
    border-radius: 2px;
}

.btn:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 3px rgba(42, 127, 139, 0.3);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition);
    padding: 16px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(42, 127, 139, 0.08);
    padding: 8px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 46px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo-img {
    filter: none;
}

.nav-logo-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo-text {
    color: var(--teal-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-light);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--teal);
}

.navbar.scrolled .nav-links a::after {
    background: var(--teal);
}

/* Nav CTA — higher specificity to avoid !important */
.nav-links a.nav-cta {
    background: var(--teal);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: all var(--transition);
    border: 2px solid var(--teal);
}

.nav-links a.nav-cta::after {
    display: none;
}

.nav-links a.nav-cta:hover {
    background: var(--teal-light);
    color: var(--white);
    border-color: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 127, 139, 0.3);
}

.navbar.scrolled .nav-links a.nav-cta {
    color: var(--white);
}

.navbar.scrolled .nav-links a.nav-cta::after {
    display: none;
}

.navbar.scrolled .nav-links a.nav-cta:hover {
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
    transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
    background: var(--teal-dark);
}

/* Hamburger open → close animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS & INTERACTIVE ===== */
a, button, .btn, .indicator, .nav-toggle {
    touch-action: manipulation;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 10px 28px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn-primary:hover {
    background: var(--teal-light);
    border-color: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 127, 139, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--teal);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 95, 105, 0.88) 0%,
        rgba(42, 127, 139, 0.78) 50%,
        rgba(23, 74, 82, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-logo-wrapper {
    margin-bottom: 24px;
}

.hero-logo-icon {
    width: 90px;
    height: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--teal-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-info {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-info-item svg {
    width: 18px;
    height: 18px;
    color: var(--teal-muted);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.35);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.indicator.active {
    background: var(--white);
    border-color: var(--white);
}

.carousel-pause {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.carousel-pause:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--white);
}

.carousel-pause svg {
    width: 12px;
    height: 12px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--off-white);
}

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

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--teal-dark);
    margin-bottom: 16px;
}

.section-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 16px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

.about-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--teal-dark);
    margin-bottom: 24px;
}

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

.about-diplomas {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diploma {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: var(--teal-soft);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--teal);
}

.diploma svg {
    width: 24px;
    height: 24px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.diploma strong {
    display: block;
    color: var(--teal-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.diploma span {
    font-size: 0.85rem;
    color: var(--gray);
}

.about-languages {
    margin-top: 24px;
    display: flex;
    gap: 10px;
}

.lang-tag {
    padding: 6px 16px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--gray-light);
}

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

.service-img {
    height: 220px;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 28px 24px;
}

.service-body h3 {
    font-size: 1.2rem;
    color: var(--teal-dark);
    margin-bottom: 12px;
}

.service-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
}

.services-extra {
    text-align: center;
    padding-top: 10px;
}

.services-extra h3 {
    font-size: 1.1rem;
    color: var(--teal-dark);
    margin-bottom: 20px;
}

.motifs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.motif-tag {
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
    transition: all var(--transition);
}

.motif-tag:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 750px;
    margin: 0 auto 40px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--teal-muted);
    box-shadow: var(--shadow);
}

.pricing-card-featured {
    border-color: var(--teal);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--teal);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.pricing-img {
    height: 140px;
    overflow: hidden;
}

.pricing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing-body {
    padding: 28px 24px;
    text-align: center;
}

.pricing-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-amount {
    font-family: 'Libre Baskerville', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 6px;
}

.pricing-amount span {
    font-size: 1.3rem;
    vertical-align: super;
}

.pricing-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-details {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.pricing-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-details svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
    flex-shrink: 0;
}

.pricing-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 750px;
    margin: 0 auto;
}

.info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: var(--teal-soft);
    border-radius: var(--radius-sm);
}

.info-card svg {
    width: 22px;
    height: 22px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-card strong {
    display: block;
    color: var(--teal-dark);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== SCHEDULE ===== */
.schedule-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--gray-light);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table tr {
    border-bottom: 1px solid var(--gray-light);
    transition: background var(--transition);
}

.schedule-table tr:last-child {
    border-bottom: none;
}

.schedule-table tr:hover {
    background: var(--teal-soft);
}

.schedule-table td {
    padding: 14px 24px;
}

.schedule-table .day {
    font-weight: 700;
    color: var(--teal-dark);
    width: 40%;
}

.schedule-table .hours {
    color: var(--text-light);
    text-align: right;
    font-size: 0.95rem;
}

.schedule-table tr.closed .day,
.schedule-table tr.closed .hours {
    color: #91a0a5;
}

/* Current day highlight */
.schedule-table tr.schedule-today {
    background: var(--teal-soft);
    border-left: 3px solid var(--teal);
}

.schedule-table tr.schedule-today .day::after {
    content: ' — Aujourd\'hui';
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--teal);
    font-family: 'Nunito', sans-serif;
}

.schedule-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--teal-soft);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--teal);
}

.schedule-note svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.schedule-note p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-light);
    transition: box-shadow var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: var(--sand);
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal-soft);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    color: var(--teal-dark);
    font-size: 0.9rem;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
}

.contact-item strong {
    display: block;
    color: var(--teal-dark);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.contact-item a {
    color: var(--teal);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--teal-light);
}

.contact-badges {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--teal-soft);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal-dark);
}

.badge svg {
    width: 15px;
    height: 15px;
    color: var(--teal);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 350px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-light);
    position: relative;
    aspect-ratio: 4/3;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--teal-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-logo-icon {
    width: 36px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.footer-brand .footer-address {
    font-size: 0.82rem;
    opacity: 0.6;
}

.footer-links h4,
.footer-legal h4 {
    font-family: 'Nunito', sans-serif;
    color: var(--white);
    font-size: 0.88rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--teal-muted);
}

.footer-legal p {
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.footer .footer-cta {
    margin-top: 16px;
    font-size: 0.82rem;
    padding: 8px 20px;
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    transform: none;
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    font-size: 0.78rem;
    opacity: 0.5;
}

/* ===== FLOATING CTA (mobile) ===== */
.floating-cta {
    display: none;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    html {
        scroll-behavior: auto;
    }

    .hero-slide {
        transition: none;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== RESPONSIVE ===== */

/* Tablet: reduce nav gap for 8 items */
@media (max-width: 1100px) {
    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .nav-links a.nav-cta {
        padding: 8px 18px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-image img {
        aspect-ratio: 16/9;
        max-height: 320px;
    }

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

    .contact-map {
        min-height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--teal-darker);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

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

    /* Override both normal and scrolled states for mobile drawer */
    .nav-links a,
    .navbar.scrolled .nav-links a {
        color: rgba(255, 255, 255, 0.8);
        padding: 12px 0;
        display: block;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links a:hover,
    .navbar.scrolled .nav-links a:hover {
        color: var(--teal-muted);
    }

    .nav-links a.nav-cta {
        margin-top: 16px;
        text-align: center;
        border-bottom: none;
    }

    .section {
        padding: 70px 0;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-info {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-indicators {
        bottom: 16px;
        right: 16px;
    }

    /* Footer padding to avoid floating CTA overlap */
    .footer-bottom {
        padding-bottom: 80px;
    }

    /* Floating CTA visible on mobile */
    .floating-cta {
        display: flex;
        position: fixed;
        bottom: 20px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
        background: var(--teal);
        color: var(--white);
        padding: 14px 28px;
        border-radius: 50px;
        gap: 10px;
        align-items: center;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 0 4px 20px rgba(42, 127, 139, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        text-decoration: none;
    }

    .floating-cta.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .floating-cta svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .hero-logo-icon {
        width: 60px;
        height: 60px;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .schedule-table td {
        padding: 12px 16px;
        font-size: 0.88rem;
    }

    .schedule-table .hours {
        font-size: 0.8rem;
    }

    .schedule-table .day {
        width: auto;
    }

    .contact-badges {
        flex-direction: column;
    }
}
