/* --- 1. GLOBAL SETTINGS & COLORS --- */
:root {
    --primary-color: #e07038; /* Lesella Orange */
    --primary-light: #299696; /* Lesella Teal */
    --primary-dark: #1d2c34;  /* Lesella Navy/Slate */
    --dark-grey: #2c2c2c;     
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --black: #1a1a1a;
    --font-header: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --text-wrap: pretty;
    --text-wrap: balance;
    --scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: var(--font-body); color: var(--dark-grey); 
    line-height: 1.6; overflow-x: hidden; width: 100%;
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); font-weight: 800; color: var(--primary-dark); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.bg-light { background-color: var(--light-grey); }
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
::selection{ background: rgb(229,235,194); }

/* --- 2. MODERN HEADER (Transparent to Solid on Scroll) --- */
header { 
    background-color: transparent; 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: none;
}
/* --- PERMANENT SOLID HEADER FOR SUB-PAGES --- */
header.solid-header {
    background-color: var(--white) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    border-bottom: none !important;
}
header.solid-header .logo h1 { color: var(--primary-dark) !important; }
header.solid-header .sub-logo { color: #777 !important; }
header.solid-header .nav-item { color: var(--black) !important; }
header.solid-header .nav-item:hover { color: var(--primary-color) !important; }
header.solid-header .hamburger { color: var(--primary-dark) !important; }

.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo img { height: 60px !important; width: auto !important; transition: filter 0.3s ease; }

.logo h1 { font-size: 1.4rem; line-height: 1.1; color: var(--white); text-transform: capitalize; transition: color 0.3s;}
.sub-logo { font-size: 1.1rem; letter-spacing: 1px; color: rgba(255,255,255,0.7); }

header.scrolled .logo h1 { color: var(--primary-dark); }
header.scrolled .sub-logo { color: #777; }

.nav-links { display: flex; gap: 25px; align-items: center; list-style: none; }
.nav-item { position: relative; font-weight: 700; color: var(--white); padding: 5px 0; cursor: pointer; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px;}
header.scrolled .nav-item { color: var(--black); }
.nav-item:hover, header.scrolled .nav-item:hover { color: var(--primary-color); }

.hamburger { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
header.scrolled .hamburger { color: var(--primary-dark); }

/* Buttons */
.btn-modern {
    background: var(--primary-color); color: var(--white) !important;
    padding: 12px 28px; border-radius: 4px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer;
}
.btn-modern:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.header-cta { background: var(--primary-light) !important; margin-left: 15px; }
.header-cta:hover { background: var(--primary-color) !important; }

/* --- 3. MODERN HERO SECTION --- */
.hero-section { position: relative; height: 100vh; overflow: hidden; background: var(--primary-dark); }
.slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; }
.slide.active { opacity: 1; }

.hero-text-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; 
    background: rgba(29, 44, 52, 0.75); /* Dark overlay */
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-content { color: white; max-width: 900px; padding: 0 20px; }
.hero-content h2 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; color: var(--white); text-transform: capitalize;}
.hero-content p { font-size: 1.25rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; font-weight: 400; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-secondary-btn {
    background: transparent; border: 2px solid var(--white); color: var(--white) !important;
    padding: 12px 28px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; margin-left: 20px; display: inline-block;
}
.hero-secondary-btn:hover { background: rgba(255,255,255,0.1); }
.hero-btn-wrap { display: flex; justify-content: center; align-items: center; }

.prev-btn, .next-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); color: white;
    border: none; width: 50px; height: 50px; border-radius: 4px; cursor: pointer; z-index: 20; 
    display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.prev-btn { left: 20px; } .next-btn { right: 20px; }
.prev-btn:hover, .next-btn:hover { background: rgba(255, 255, 255, 0.2); }

.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 20; }
.dot { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,0.5); border-radius: 50%; transition: 0.3s ease; cursor: pointer; }
.dot.active { background: var(--primary-color); border-color: var(--primary-color); transform: scale(1.2); }

/* --- 4. MODERN SECTIONS (About, Services, Grid) --- */
.section-padding { padding: 100px 0; }
.section-tag { color: var(--primary-color); letter-spacing: 2px; margin-bottom: 10px; display: inline-block; font-weight: 800; text-transform: uppercase; }
.section-title { font-size: 3rem; line-height: 1.2; margin-bottom: 40px; text-transform: none; }
.about-text { max-width: 800px; margin: 0 auto; text-align: center; }
.about-text p { font-size: 1.1rem; color: #555; }

/* Operating Hours */
.curriculum-card {
    background: var(--white); border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    max-width: 500px; margin: 0 auto; border-radius: 10px; padding: 40px;
}
.curriculum-card ul { list-style: none; }
.curriculum-card ul li { font-size: 1.1rem; color: #555; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between;}
.curriculum-card ul li strong { color: var(--primary-dark); font-weight: 700; }

/* Service Grids */
.service-list-grid, .catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }

.service-card, .catalog-card {
    background: var(--white); padding: 40px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02); transition: all 0.3s ease; display: flex; flex-direction: column;
}
.catalog-card { padding: 0; overflow: hidden; } /* Overrides for image cards */
.catalog-info { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }

.service-card:hover, .catalog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

.service-icon-wrap {
    width: 70px; height: 70px; background-color: rgba(41, 150, 150, 0.05); color: var(--primary-light);
    border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 25px; transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrap { background-color: var(--primary-light); color: var(--white); }

.service-card h3, .catalog-card h3 { color: var(--primary-dark); margin-bottom: 15px; font-size: 1.3rem; font-weight: 800; text-transform: uppercase;}
.service-card p, .catalog-card p { color: #555; font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1;}

.service-learn-more { color: var(--primary-light); font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 0.9rem;}
.service-learn-more:hover { color: var(--primary-color); }

.catalog-img { width: 100%; height: 250px; object-fit: cover; object-position: center 25%; border-bottom: 3px solid var(--primary-color); }

/* --- 5. CTA BANNERS & WHATSAPP --- */
.cta-banner { padding: 80px 0; color: var(--white); background-size: cover; background-position: center; background-blend-mode: overlay; }
.emergency-banner { background-color: #3d4a52; background-image: url('images/hero1.jpg'); }
.emergency-banner .section-title { color: var(--white); }
.emergency-btn { background: var(--primary-dark); }

.btn-whatsapp-catalog {
    background: #25d366; color: #ffffff !important; padding: 12px 15px; border-radius: 4px;
    text-align: center; font-weight: 800; display: flex; justify-content: center; align-items: center; gap: 8px;
    transition: all 0.3s ease; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; border: none; cursor: pointer;
}
.btn-whatsapp-catalog:hover { background: #128c7e; }

.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; background-color: #25d366; color: #ffffff;
    width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 26px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); z-index: 9999; opacity: 1; visibility: visible; transition: all 0.3s ease;
}
.whatsapp-float.show { bottom: 85px; }
.whatsapp-float:hover { background-color: var(--primary-dark); transform: translateY(-5px); }

/* --- 6. MODERN FOOTER --- */
#contact { background-color: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 80px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
#contact h3 { color: var(--white); text-transform: uppercase; font-weight: 800; margin-bottom: 20px; font-size: 1.2rem;}
#contact p, #contact ul li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px;}
#contact ul { list-style: none; }
#contact ul li a:hover { color: var(--primary-color); }

.map-placeholder { background-color: #111; height: 150px; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 20px; text-align: center; font-size: 0.9rem;}

/* --- 7. MODAL & SCROLL PROGRESS --- */
.modal {
    display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
}
.modal.open { display: flex; opacity: 1; }
.modal-content {
    background-color: var(--white); padding: 40px; border-radius: 10px; width: 90%; max-width: 650px;
    position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.4); transform: scale(0.9); transition: transform 0.3s ease;
}
.modal.open .modal-content { transform: scale(1); }
.close-modal { position: absolute; top: 15px; right: 25px; font-size: 30px; font-weight: bold; color: #aaa; cursor: pointer; transition: 0.2s; }
.close-modal:hover { color: var(--primary-color); }

.modal-carousel-container { position: relative; width: 100%; height: min(72vh, 600px); overflow: hidden; border-radius: 8px; background: #0d0d0d; margin-bottom: 20px;}
.modal-slides { display: flex; width: 100%; height: 100%; transition: transform 0.4s ease-in-out; }
.modal-slides img { width: 100%; height: 100%; object-fit: contain; flex-shrink: 0; }
.modal-nav {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: white;
    border: none; width: 40px; height: 40px; border-radius: 4px; cursor: pointer; font-size: 1.2rem; transition: 0.2s;
}
.modal-nav:hover { background: var(--primary-color); }
.modal-nav.prev { left: 10px; } .modal-nav.next { right: 10px; }

.progress-wrap {
    position: fixed; right: 20px; bottom: 20px; height: 50px; width: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; z-index: 999; background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease;
}
.progress-wrap.show { opacity: 1; visibility: visible; transform: translateY(0); }
.progress-wrap svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-wrap svg circle.track { fill: none; stroke: rgba(0,0,0,0.05); stroke-width: 4; }
.progress-wrap svg circle.progress { fill: none; stroke: var(--primary-color); stroke-width: 4; transition: stroke-dashoffset 0.1s linear; }
.progress-wrap i { color: var(--primary-dark); font-size: 1.2rem; z-index: 1; }
.progress-wrap:hover { transform: translateY(-5px); }

/* --- 8. RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .hero-content h2 { font-size: 2.8rem; }
    .hero-content p { font-size: 1rem; }
    .hamburger { display: block; }
    .nav-links { 
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; 
        background: var(--white); padding: 20px; box-shadow: 0 10px 15px rgba(0,0,0,0.1); text-align: center; gap: 15px; border-top: 1px solid #eee;
    }
    .nav-links.active { display: flex; }
    .nav-item { color: var(--primary-dark); }
    .header-cta { margin: 10px 0 0 0; width: 100%; }
    .hero-btn-wrap { flex-direction: column; gap: 15px; }
    .hero-secondary-btn { margin-left: 0; width: 100%; text-align: center; }
}

/* --- 9. DARK MODE OVERRIDES --- */
[data-theme="dark"] body { background-color: #121212; color: #e0e0e0; }
[data-theme="dark"] header.scrolled, [data-theme="dark"] .nav-links { background-color: #1a1a1a; }
[data-theme="dark"] .bg-light, [data-theme="dark"] .curriculum-card, [data-theme="dark"] .service-card, [data-theme="dark"] .catalog-card, [data-theme="dark"] .modal-content { background-color: #1a1a1a; border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6, [data-theme="dark"] .curriculum-card ul li strong { color: var(--white); }
[data-theme="dark"] p, [data-theme="dark"] .curriculum-card ul li { color: #aaa; border-color: rgba(255,255,255,0.05);}



/* --- LIQUID CODE STUDIOS BADGE --- */
.lcs-badge {
    position: static;              /* no longer floats over the footer/copyright */
    margin: 18px auto 26px;        /* centered credit strip below the copyright */
    width: max-content;
    max-width: 92%;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--dark-grey);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lcs-logo {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border-radius: 4px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.lcs-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Dark Mode Support for the Badge */
[data-theme="dark"] .lcs-badge {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html { scroll-behavior: smooth; }

/* =====================================================================
   V2 ENHANCEMENTS — THEME TOKENS, THEME TOGGLE, SEARCH, COPYRIGHT, LCS
   Standard nav restored (no mega-menu / sliding indicator / hamburger morph)
   ===================================================================== */

/* ---- Theme tokens (LIGHT = shade of grey) ---- */
:root {
    --bg: #eceff1;
    --surface: #ffffff;
    --surface-2: #f4f6f8;
    --text-main: #2c2c2c;
    --text-soft: #555555;
    --border-soft: rgba(0,0,0,0.07);
    --header-bg: #ffffff;
}
/* ---- Theme tokens (DARK = shade of blue) ---- */
[data-theme="dark"] {
    --bg: #0e1b2b;
    --surface: #15263a;
    --surface-2: #122033;
    --text-main: #e6edf5;
    --text-soft: #aab6c6;
    --border-soft: rgba(255,255,255,0.09);
    --header-bg: #0f2036;
}

body { background-color: var(--bg); color: var(--text-main); }

/* ---- Dark (blue) authoritative overrides ---- */
[data-theme="dark"] header.scrolled,
[data-theme="dark"] header.solid-header,
[data-theme="dark"] .nav-links { background-color: var(--header-bg) !important; }
[data-theme="dark"] header.scrolled .brand-name,
[data-theme="dark"] header.solid-header .brand-name,
[data-theme="dark"] header.scrolled .nav-item,
[data-theme="dark"] header.solid-header .nav-item { color: var(--text-main) !important; }
/* Dark-mode mobile dropdown links must stay light on the dark panel (even at top of page) */
[data-theme="dark"] .nav-links .nav-item { color: var(--text-main) !important; }
[data-theme="dark"] header.scrolled .hamburger,
[data-theme="dark"] header.solid-header .hamburger { color: var(--text-main) !important; }
[data-theme="dark"] .bg-light,
[data-theme="dark"] .curriculum-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .catalog-card,
[data-theme="dark"] .modal-content { background-color: var(--surface) !important; border-color: var(--border-soft) !important; }
[data-theme="dark"] #catalog.bg-light { background-color: var(--surface-2) !important; }
[data-theme="dark"] .section-title,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .catalog-card h3,
[data-theme="dark"] .curriculum-card ul li strong { color: var(--text-main) !important; }
[data-theme="dark"] .about-text p,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .catalog-card p,
[data-theme="dark"] p,
[data-theme="dark"] .curriculum-card ul li { color: var(--text-soft) !important; }
[data-theme="dark"] .about-text > div > div { background: var(--surface) !important; border-color: var(--border-soft) !important; }
/* Override hard-coded INLINE colors that go invisible on the dark (blue) surfaces.
   A stylesheet !important beats a non-important inline style, so these win. */
[data-theme="dark"] [style*="color: var(--primary-dark)"] { color: var(--text-main) !important; }
[data-theme="dark"] [style*="color: var(--dark-grey)"] { color: var(--text-soft) !important; }
[data-theme="dark"] [style*="color: #555"] { color: var(--text-soft) !important; }
[data-theme="dark"] .catalog-info button,
[data-theme="dark"] .service-card button { color: var(--text-main) !important; }
[data-theme="dark"] #modal-description { color: var(--text-soft) !important; }

/* ---- Brand name in navbar: large (near logo height) on desktop, scales to fit on phones ---- */
.logo { min-width: 0; }
.logo h1.brand-name {
    white-space: nowrap;
    text-transform: uppercase;
    font-size: clamp(0.72rem, 2.0vw, 1.3rem);
    line-height: 1.15;
}
/* Hero philosophy line in sentence case (overrides the uppercase .section-tag default) */
.hero-content .section-tag { text-transform: none; letter-spacing: 0.5px; }
/* tighten the nav so the bigger name + links coexist on desktop */
.nav-links { gap: 16px; }
.header-cta { margin-left: 8px; }

/* ---- Theme toggle (lives inside the standard nav list) ---- */
.theme-toggle-li { display: flex; align-items: center; }
.theme-toggle {
    background: transparent; border: 1px solid rgba(255,255,255,0.5);
    color: var(--white); width: 38px; height: 38px; min-width: 38px; border-radius: 50%;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: all 0.3s ease; padding: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,0.15); }
header.scrolled .theme-toggle,
header.solid-header .theme-toggle { color: var(--primary-dark); border-color: rgba(0,0,0,0.22); }
[data-theme="dark"] header.scrolled .theme-toggle,
[data-theme="dark"] header.solid-header .theme-toggle,
[data-theme="dark"] .theme-toggle { color: var(--text-main); border-color: rgba(255,255,255,0.3); }
.theme-toggle svg { width: 20px; height: 20px; display: block; }
/* Keep the toggle visible inside the mobile dropdown menu (white in light / blue in dark) */
@media screen and (max-width: 992px) {
    .nav-links .theme-toggle { color: var(--primary-dark); border-color: rgba(0,0,0,0.25); }
    [data-theme="dark"] .nav-links .theme-toggle { color: var(--text-main); border-color: rgba(255,255,255,0.3); }
}

/* ---- Services search bar ---- */
.services-search-wrap { max-width: 560px; margin: 0 auto 45px; position: relative; }
.services-search {
    width: 100%; padding: 14px 44px; border-radius: 10px; border: 1px solid var(--border-soft);
    background: var(--surface); color: var(--text-main); font-size: 1rem; font-family: inherit; outline: none; transition: 0.2s;
}
.services-search:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(224,112,56,0.15); }
.search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-soft); pointer-events: none; }
.search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: transparent; border: none; font-size: 1.5rem; line-height: 1; color: var(--text-soft); cursor: pointer; display: none; padding: 0 8px; }
.search-clear.show { display: block; }
.catalog-card.hidden { display: none; }
.no-results { display: none; text-align: center; padding: 30px; color: var(--text-soft); grid-column: 1 / -1; font-size: 1.05rem; }
.no-results.show { display: block; }

/* ---- Centered copyright at the very bottom (all pages) ---- */
.footer-bottom { text-align: center; }
.footer-bottom p { margin: 0 auto; }

/* ---- LCS badge as a link ---- */
.lcs-badge { text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.lcs-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }

/* ---- Narrow phones: fit the brand name on one line across 320–390px ---- */
@media screen and (max-width: 430px) {
    .container { padding: 0 16px; }
    .logo { gap: 8px; }
    .logo img { height: 46px !important; }
    /* All-caps is wider, so scale the font to keep it on one line */
    .logo h1.brand-name { font-size: clamp(0.56rem, 2.3vw, 0.78rem); }
    .hero-content h2 { font-size: 2.2rem; }
    .hero-content p { font-size: 0.95rem; }
    .theme-toggle { width: 34px; height: 34px; min-width: 34px; font-size: 0.9rem; }
    .services-search-wrap { margin-bottom: 30px; }
    .section-title { font-size: 2rem; }
}
/* Extra squeeze for the smallest phones (≤360px) so it stays on one line */
@media screen and (max-width: 360px) {
    .logo img { height: 40px !important; }
    .logo h1.brand-name { font-size: clamp(0.5rem, 2.1vw, 0.62rem); }
}
