/* ===== CSS Variables ===== */
:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    /* Darkened from #ff6f00, which scored 2.79:1 against white text and
       failed WCAG AA. Every use of this token is a background carrying
       white text (nav CTA, hero call button, sticky bar), so the fix has
       to live on the token. 4.56:1 clears AA with the smallest hue shift
       that gets there — even Material's Deep Orange 800 lands at 4.44:1. */
    --secondary: #c8500f;
    /* Hover for the filled orange buttons. Darker, not lighter — every
       orange pale enough to look like a highlight puts white text under
       4.5:1. Amber below is for text on the dark green hero only. */
    --secondary-hover: #a83f08;
    --secondary-light: #ffb74d;
    --accent: #fff8e1;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --bg-light: #f8faf8;
    --bg-grey: #f5f5f5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.highlight {
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

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

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

/* Contact CTAs. min-height 48px keeps these above the 44px tap-target floor. */
.btn-call,
.btn-whatsapp,
.btn-directions {
    min-height: 48px;
    justify-content: center;
}

.btn-call {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-call:hover {
    background: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 80, 15, 0.35);
}

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

.btn-whatsapp:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.btn-icon {
    font-size: 1.05rem;
    line-height: 1;
}

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

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

/* ===== Section Common ===== */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-label.light {
    color: var(--secondary-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition);
}

.logo-tagline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.navbar.scrolled .logo-name {
    color: var(--text);
}

.navbar.scrolled .logo-tagline {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

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

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-cta {
    background: var(--secondary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--secondary-hover) !important;
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    /* Full 44x44 tap target for the hamburger. */
    width: 44px;
    height: 44px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #388e3c 70%, #43a047 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .highlight {
    color: var(--secondary-light);
}

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

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

.hero-hours {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

/* Static "we are open daily" indicator. Not a live open/closed state -
   see the report note if real-time logic is added to js/main.js later. */
.hours-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.25);
    flex-shrink: 0;
}

.hero-hours .hours-dot {
    background: #8bc34a;
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.25);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: 4px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--bg-light), #e8f5e9);
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-illustration {
    text-align: center;
}

.store-front {
    position: relative;
}

.store-sign {
    background: var(--primary);
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    padding: 20px 50px;
    border-radius: 12px 12px 0 0;
    letter-spacing: 4px;
}

.store-windows {
    display: flex;
    gap: 10px;
    background: var(--primary-dark);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    justify-content: center;
}

.window {
    width: 50px;
    height: 60px;
    background: #81d4fa;
    border-radius: 6px 6px 0 0;
    border: 3px solid #e0e0e0;
}

.door {
    width: 40px;
    height: 60px;
    background: #8d6e63;
    border-radius: 6px 6px 0 0;
    border: 3px solid #6d4c41;
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.exp-text {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.exp-place {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 4px;
}

.about-content .section-label {
    display: block;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
}

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

.about-values {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== Categories ===== */
.categories {
    padding: 100px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    cursor: default;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.category-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== Why Us ===== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: #e8f5e9;
    line-height: 1;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Offers Banner ===== */
.offers-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), #43a047);
    position: relative;
    overflow: hidden;
}

.offers-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.offers-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.offers-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.offers-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 36px;
}

.offer-highlights {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.offer-tag {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-grey);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-stars {
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

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

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Whole card is the tap target for Call / WhatsApp, not just the number. */
.contact-card-action {
    color: inherit;
    cursor: pointer;
    min-height: 88px;
    align-items: center;
}

.contact-card-action:hover {
    background: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.contact-card-action:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.contact-value {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 1.05rem !important;
}

/* "Tap to call" only makes sense on touch devices; hidden on desktop. */
.contact-hint {
    display: none;
    font-size: 0.8rem !important;
    color: var(--text-light);
    opacity: 0.85;
}

@media (hover: none), (max-width: 768px) {
    .contact-hint {
        display: block;
    }
}

.hours-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text) !important;
}

.hours-line strong {
    font-weight: 600;
}

.hours-detail {
    margin-top: 2px;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 350px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-map iframe {
    flex: 1;
    min-height: 300px;
}

.btn-directions {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    align-self: stretch;
}

.btn-directions:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

/* ===== Footer ===== */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

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

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

.footer-logo .logo-name {
    color: var(--white);
}

.footer-logo .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-categories ul li {
    margin-bottom: 2px;
}

/* inline-flex + min-height gives these link rows a 44px tap target
   without changing how the footer reads. */
.footer-links a,
.footer-categories a {
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    /* Short labels ("Home", "Fruits") would otherwise be narrower than 44px. */
    min-width: 44px;
}

.footer-about a,
.footer-social p a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.footer-links a:hover,
.footer-categories a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-social p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Sticky Mobile Contact Bar =====
   Hidden on desktop (>768px) where the navbar CTA and contact section are
   already easy to reach. Shown as a fixed thumb-zone bar on mobile. */
.mobile-contact-bar {
    display: none;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 4px;
    }

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

    .nav-links a {
        color: var(--text) !important;
        display: block;
        padding: 12px 20px;
    }

    .nav-links a:hover {
        background: var(--bg-light) !important;
        color: var(--primary) !important;
    }

    .nav-cta {
        margin-top: 12px;
    }

    .hero {
        min-height: auto;
        padding: 60px 0 0;
    }

    .hero-content {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .about-experience {
        right: 20px;
        bottom: -15px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .offers-content h2 {
        font-size: 2rem;
    }

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

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

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

    /* Stop the card heading and its text competing for width on narrow
       screens - let the text block take the full remaining row. */
    .contact-card > div {
        flex: 1;
        min-width: 0;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* --- Sticky contact bar (mobile only) --- */
    .mobile-contact-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--white);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        /* Keep clear of the iOS home indicator / gesture bar. */
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .mcb-action {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        /* Comfortably above the 44px minimum tap target. */
        min-height: 60px;
        padding: 8px 4px;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.2px;
        transition: var(--transition);
        -webkit-tap-highlight-color: rgba(46, 125, 50, 0.15);
    }

    .mcb-action + .mcb-action {
        border-left: 1px solid rgba(0, 0, 0, 0.06);
    }

    .mcb-icon {
        font-size: 1.25rem;
        line-height: 1;
    }

    .mcb-call {
        background: var(--secondary);
        color: var(--white);
    }

    .mcb-call:active {
        background: #e65100;
    }

    .mcb-whatsapp {
        background: var(--primary);
        color: var(--white);
    }

    .mcb-whatsapp:active {
        background: var(--primary-dark);
    }

    .mcb-directions {
        background: var(--white);
        color: var(--primary-dark);
    }

    .mcb-directions:active {
        background: var(--bg-light);
    }

    .mcb-action:focus-visible {
        outline: 3px solid var(--secondary-light);
        outline-offset: -3px;
    }

    /* Matching body padding so the bar never covers the footer. */
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    /* Lift back-to-top clear of the contact bar. */
    .back-to-top {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

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

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .offer-highlights {
        flex-direction: column;
        align-items: center;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }
}

/* Skip link — offscreen until focused, then pinned top-left. Lets keyboard
   users bypass the nav instead of tabbing through every link on every load. */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--primary-dark);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 0 var(--radius) var(--radius);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--secondary-light);
    outline-offset: 2px;
}
