/* Regent Gardens — regentgardens.ca
   Garden-appropriate palette: deep forest green primary + warm amber accent */

:root {
 --c-primary: #166534;          /* deep forest green */
 --c-primary-dark: #14532d;     /* darker forest */
 --c-accent: #d97706;           /* warm amber/copper */
 --c-accent-dark: #b45309;
 --c-text: #1f2937;
 --c-muted: #6b7280;
 --c-bg: #ffffff;
 --c-bg-alt: #f4f7f1;           /* warmer off-white with green tint */
 --c-border: #e5e7eb;
 --c-danger: #b91c1c;
 --radius: 8px;
 --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
 --shadow-md: 0 6px 18px rgba(0,0,0,.08);
 --container: 1140px;
 --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: #0f172a; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--c-primary-dark); color: #fff; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px; }
.topbar a { color: #fff; }
.topbar-phone-wrap { position: relative; }
.topbar-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 6px 4px; cursor: pointer; }
.topbar-phone .caret { font-size: 0.7em; opacity: 0.9; }
.topbar-dropdown {
 display: none; position: absolute; right: 0; top: 100%;
 background: #fff; min-width: 220px; border: 1px solid var(--c-border);
 border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
 z-index: 200; overflow: hidden;
}
.topbar-dropdown a { display: block; padding: 10px 16px; color: var(--c-text); font-weight: 500; font-size: .95rem; border-bottom: 1px solid var(--c-bg-alt); }
.topbar-dropdown a:last-child { border-bottom: 0; }
.topbar-dropdown a:hover { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }
.topbar-phone-wrap:hover .topbar-dropdown,
.topbar-phone-wrap:focus-within .topbar-dropdown { display: block; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo a { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.5rem; color: var(--c-primary); text-decoration: none; letter-spacing: -0.01em; }
.logo a:hover { text-decoration: none; }
.logo .logo-mark { width: 42px; height: 42px; background: var(--c-primary); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.logo .logo-text { display: inline-block; }
.logo .logo-tag { display: block; font-size: 0.7rem; color: var(--c-muted); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 2px; }
@media (max-width: 640px) {
 .logo a { font-size: 1.2rem; }
 .logo .logo-mark { width: 34px; height: 34px; font-size: 0.95rem; }
 .logo .logo-tag { display: none; }
}

/* Nav */
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 14px; color: var(--c-text); font-weight: 600; border-radius: 6px; }
.main-nav > ul > li > a:hover { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }
.main-nav li.has-sub > a::after { content: " \25BE"; font-size: .75em; color: var(--c-muted); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px 0; z-index: 200; }
.main-nav li.has-sub:hover .dropdown,
.main-nav li.has-sub:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 16px; color: var(--c-text); font-weight: 500; }
.dropdown a:hover { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }

.btn { display: inline-block; padding: 10px 18px; border-radius: 6px; font-weight: 700; cursor: pointer; border: 0; font-size: 1rem; }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; text-decoration: none; }
.btn-lg { padding: 14px 26px; font-size: 1.1rem; }

/* Mobile nav */
.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.6rem; color: var(--c-primary); padding: 6px 10px; cursor: pointer; }
@media (max-width: 960px) {
 .nav-toggle { display: inline-block; }
 .main-nav { display: none; width: 100%; }
 .main-nav.open { display: block; }
 .site-header .container { flex-wrap: wrap; }
 .main-nav ul { flex-direction: column; width: 100%; gap: 0; }
 .main-nav > ul > li > a { padding: 12px 8px; border-bottom: 1px solid var(--c-border); border-radius: 0; }
 .dropdown { position: static; box-shadow: none; border: 0; padding-left: 16px; }
 .main-nav li.has-sub .dropdown { display: none; }
 .main-nav li.has-sub.open .dropdown { display: block; }
 .header-cta { display: none; }
}

/* Hero with background image */
.hero-img { position: relative; min-height: 520px; background-size: cover; background-position: center; display: flex; align-items: flex-end; color: #fff; margin-bottom: 0; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%); }
.hero-img .container { position: relative; z-index: 2; padding: 80px 20px 60px; }
.hero-img .breadcrumb { color: rgba(255,255,255,0.92); font-size: .92rem; margin-bottom: 14px; }
.hero-img .breadcrumb a { color: rgba(255,255,255,0.92); }
.hero-img h1 { color: #ffffff; font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 8px; line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero-img .hero-tag { color: rgba(255,255,255,0.95); font-size: 1.15rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
@media (max-width: 768px) { .hero-img { min-height: 380px; } .hero-img .container { padding: 50px 20px 36px; } }
@media (max-width: 600px) { .hero-img { min-height: 280px; } }

/* Home hero — fancier with center text */
.hero-home { min-height: 600px; align-items: center; text-align: center; }
.hero-home .container { padding: 60px 20px; }
.hero-home h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.hero-home .hero-actions { margin-top: 24px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section.section { padding: 60px 0; }
section.section.alt { background: var(--c-bg-alt); }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 { font-size: 2rem; }
.section-title p { color: var(--c-muted); max-width: 720px; margin: 0 auto; }

/* Grids + cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0; }
.card a.more { font-weight: 600; }

/* Two-col page (main + sidebar) */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; padding: 50px 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.sidebar { background: var(--c-bg-alt); padding: 24px; border-radius: var(--radius); }
.sidebar h3 { margin-top: 0; }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 1em; }
.sidebar li { border-bottom: 1px solid var(--c-border); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { display: block; padding: 8px 0; color: var(--c-text); }
.sidebar li a:hover { color: var(--c-primary); text-decoration: none; }

/* Form section */
.form-section { background: var(--c-bg-alt); padding: 60px 0 70px; border-top: 1px solid var(--c-border); }
.form-section .container { max-width: 720px; }
.form-section h2 { text-align: center; font-size: 2rem; margin: 0 0 8px; color: var(--c-primary); }
.form-section > .container > p { text-align: center; color: var(--c-muted); margin: 0 0 28px; font-size: 1.05rem; }
.form-mount { background: #fff; padding: 32px; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,0.06); border: 1px solid var(--c-border); }
.contact-form label { display: block; font-weight: 600; margin: 14px 0 6px; color: var(--c-text); font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 6px; font-family: inherit; font-size: 1rem; background: #fff; box-sizing: border-box; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(22,101,52,0.15); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .contact-form .field-row { grid-template-columns: 1fr; gap: 0; } }
.contact-form button[type="submit"] { margin-top: 22px; display: block; width: 100%; background: var(--c-accent); color: #fff; font-weight: 700; font-size: 1.05rem; padding: 14px 28px; border: 0; border-radius: 6px; cursor: pointer; transition: background .15s ease; }
.contact-form button[type="submit"]:hover { background: var(--c-accent-dark); }

/* FAQ */
details.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
details.faq-item summary { cursor: pointer; font-weight: 600; outline: none; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { color: var(--c-primary); }
details.faq-item p { margin-top: 10px; }

/* Footer */
footer.site-footer { background: #0f172a; color: #cbd5e1; padding: 50px 0 0; margin-top: 60px; }
footer.site-footer h4 { color: #fff; font-size: 1rem; margin-top: 0; }
footer.site-footer a { color: #cbd5e1; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { footer.site-footer .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer ul { list-style: none; padding: 0; margin: 0 0 14px 0; }
footer.site-footer li { margin-bottom: 6px; font-size: .92rem; }
footer.site-footer .bottom { border-top: 1px solid #1e293b; margin-top: 30px; padding: 18px 0; text-align: center; font-size: .85rem; color: #94a3b8; }

/* Helpers */
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--c-muted); }
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 26px; position: relative; margin: 6px 0; }
ul.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--c-primary); font-weight: 800; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
@media (max-width: 700px) { .areas { grid-template-columns: 1fr 1fr; } }
.areas a { display: block; padding: 12px 14px; background: #fff; border: 1px solid var(--c-border); border-radius: 6px; color: var(--c-text); text-align: center; font-weight: 500; }
.areas a:hover { border-color: var(--c-primary); color: var(--c-primary); text-decoration: none; }

figure.inline-img { margin: 28px 0 32px; }
figure.inline-img img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
figure.inline-img figcaption { margin-top: 8px; font-size: .88rem; color: var(--c-muted); text-align: center; }

.img-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 32px; }
.img-strip img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
@media (max-width: 700px) { .img-strip { grid-template-columns: 1fr 1fr; } .img-strip img { height: 140px; } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 40px; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: 1fr 1fr; } .gallery-grid img { height: 180px; } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-grid img { height: 220px; } }

.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .96rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-border); }
.data-table th { background: var(--c-bg-alt); color: var(--c-primary); font-weight: 700; }
.data-table tr:last-child td { border-bottom: 0; }

/* ========== HOME REDESIGN (Costa Verde style) ========== */
.cv-hero { position: relative; background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%); color: #fff; min-height: 600px; display: flex; align-items: center; padding: 60px 0 50px; overflow: hidden; }
.cv-hero::before { content: ""; position: absolute; inset: 0; background-image: url('/img/hero.jpg'); background-size: cover; background-position: center; opacity: 0.35; }
.cv-hero .container { position: relative; z-index: 2; text-align: center; max-width: 920px; }
.cv-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05; margin: 0 0 16px; text-shadow: 0 2px 16px rgba(0,0,0,0.4); letter-spacing: -0.02em; }
.cv-hero .lead { font-size: 1.25rem; opacity: 0.95; max-width: 720px; margin: 0 auto 28px; line-height: 1.5; }
.cv-hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cv-hero .btn { padding: 16px 32px; font-size: 1.1rem; }
.cv-hero .btn-primary { background: var(--c-accent); border: 2px solid var(--c-accent); }
.cv-hero .btn-primary:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }
.cv-hero .btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.cv-hero .btn-ghost:hover { background: rgba(255,255,255,0.22); text-decoration: none; }
.cv-hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 40px auto 0; }
.cv-hero-strip img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; border: 3px solid rgba(255,255,255,0.85); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
@media (max-width: 700px) { .cv-hero-strip { grid-template-columns: 1fr 1fr; } .cv-hero-strip img { height: 140px; } .cv-hero-strip img:nth-child(3) { display: none; } }
.cv-values { background: var(--c-bg-alt); padding: 80px 0; }
.cv-values .section-intro { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.cv-values .section-intro h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 0 0 14px; color: var(--c-primary); }
.cv-values .section-intro p { font-size: 1.15rem; color: var(--c-muted); }
.cv-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1024px) { .cv-values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cv-values-grid { grid-template-columns: 1fr; } }
.cv-card { background: #fff; padding: 32px 26px; border-radius: 12px; border: 1px solid var(--c-border); box-shadow: 0 4px 14px rgba(0,0,0,0.04); transition: transform .2s, box-shadow .2s; }
.cv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.cv-card .num { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--c-accent); letter-spacing: 0.1em; margin-bottom: 10px; }
.cv-card h3 { font-size: 1.2rem; margin: 0 0 14px; color: var(--c-primary); }
.cv-card ul { list-style: none; padding: 0; margin: 0; }
.cv-card li { padding-left: 22px; position: relative; margin: 8px 0; font-size: 0.95rem; line-height: 1.5; }
.cv-card li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--c-accent); font-weight: 800; }
.cv-reviews { background: #fff; padding: 80px 0; }
.cv-reviews .section-intro { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.cv-reviews .section-intro h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); margin: 0 0 12px; color: var(--c-primary); }
.cv-reviews .star-row { font-size: 1.1rem; color: var(--c-muted); margin: 0; }
.cv-reviews .star-row .stars { color: #fbbf24; font-size: 1.4rem; letter-spacing: 2px; vertical-align: middle; }
.cv-review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cv-review { background: var(--c-bg-alt); padding: 28px 24px; border-radius: 12px; border: 1px solid var(--c-border); position: relative; }
.cv-review .source { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--c-muted); margin-bottom: 12px; }
.cv-review .source::before { content: "G"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #4285f4; color: #fff; font-size: 0.8rem; font-weight: 800; }
.cv-review .stars { color: #fbbf24; margin-bottom: 10px; font-size: 1rem; letter-spacing: 2px; }
.cv-review p { font-size: 0.96rem; line-height: 1.6; color: var(--c-text); margin: 0 0 14px; font-style: italic; }
.cv-review .author { font-weight: 600; color: var(--c-primary); font-size: 0.92rem; }
@media (max-width: 900px) { .cv-review-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 20px; gap: 16px; padding: 4px 20px 24px; margin: 0 -20px; scrollbar-width: thin; } .cv-review { scroll-snap-align: start; } }
@media (max-width: 540px) { .cv-review-cards { grid-auto-columns: 88%; } }
.cv-reviews .see-all { text-align: center; margin-top: 36px; }
.cv-reviews .see-all a { color: var(--c-primary); font-weight: 600; text-decoration: underline; }
.cv-how { background: var(--c-bg-alt); padding: 80px 0; }
.cv-how .section-intro { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.cv-how .section-intro h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); margin: 0 0 12px; color: var(--c-primary); }
.cv-how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 760px) { .cv-how-steps { grid-template-columns: 1fr; } }
.cv-step { background: #fff; padding: 30px 26px; border-radius: 12px; border: 1px solid var(--c-border); position: relative; }
.cv-step .num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.cv-step h3 { margin: 0 0 12px; color: var(--c-primary); font-size: 1.15rem; }
.cv-step p { margin: 0; font-size: 0.96rem; line-height: 1.55; color: var(--c-text); }
.cv-gallery { background: #fff; padding: 70px 0 40px; }
.cv-gallery .section-intro { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.cv-gallery .section-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 10px; color: var(--c-primary); }
.cv-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cv-gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; transition: transform .2s, box-shadow .2s; }
.cv-gallery-grid img:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
@media (max-width: 900px) { .cv-gallery-grid { grid-template-columns: 1fr 1fr; } .cv-gallery-grid img { height: 170px; } }
@media (max-width: 500px) { .cv-gallery-grid img { height: 140px; } }
.cv-final-cta { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); color: #fff; padding: 80px 0; text-align: center; }
.cv-final-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; }
.cv-final-cta p { font-size: 1.15rem; opacity: 0.95; margin: 0 0 28px; }
.cv-final-cta .btn { background: var(--c-accent); border: 2px solid var(--c-accent); padding: 16px 36px; font-size: 1.1rem; }
.cv-final-cta .btn:hover { background: var(--c-accent-dark); }
.cv-long-body { background: #fff; padding: 70px 0; }
.cv-long-body .container { max-width: 820px; }
.cv-long-body h2 { color: var(--c-primary); margin-top: 1.6em; font-size: 1.5rem; }
.cv-long-body h2:first-child { margin-top: 0; }

/* ========== LOGO + UPDATED HEADER ========== */
.logo a { gap: 0; }
.logo .logo-mark, .logo .logo-text { display: none !important; }
.logo .logo-img { height: 60px !important; width: auto; display: block; }
@media (max-width: 640px) { .logo .logo-img { height: 44px !important; } }

/* FAQ accordion on home */
.cv-faq { background: #fff; padding: 80px 0; border-top: 1px solid var(--c-border); }
.cv-faq .section-intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.cv-faq .section-intro h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); margin: 0 0 12px; color: var(--c-primary); }
.cv-faq .section-intro p { color: var(--c-muted); font-size: 1.1rem; }
.cv-faq-list { max-width: 820px; margin: 0 auto; }
.cv-faq-item {
  background: var(--c-bg-alt); border: 1px solid var(--c-border);
  border-radius: 10px; margin-bottom: 12px; padding: 0; overflow: hidden;
  transition: box-shadow 0.2s;
}
.cv-faq-item[open] { box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.cv-faq-item summary {
  cursor: pointer; padding: 20px 56px 20px 24px;
  font-weight: 600; font-size: 1.05rem; color: var(--c-primary);
  list-style: none; position: relative; transition: background 0.15s;
}
.cv-faq-item summary::-webkit-details-marker { display: none; }
.cv-faq-item summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 1.6rem; font-weight: 300;
  color: var(--c-accent); transition: transform 0.2s;
}
.cv-faq-item[open] summary::after { content: "−"; }
.cv-faq-item summary:hover { background: rgba(255,255,255,0.5); }
.cv-faq-item .faq-body { padding: 0 24px 22px; }
.cv-faq-item .faq-body p { margin: 0 0 0.6em; line-height: 1.6; color: var(--c-text); }
.cv-faq-item .faq-body p:last-child { margin-bottom: 0; }
.cv-faq .faq-bottom { text-align: center; margin-top: 30px; }
.cv-faq .faq-bottom a { color: var(--c-primary); font-weight: 600; text-decoration: underline; }

/* Gallery page masonry — natural aspect ratios, varied sizes */
.masonry-gallery {
  column-count: 3; column-gap: 14px;
  max-width: 1280px; margin: 0 auto; padding: 30px 20px 60px;
}
@media (max-width: 1000px) { .masonry-gallery { column-count: 2; } }
@media (max-width: 600px) { .masonry-gallery { column-count: 1; } }
.masonry-gallery img {
  width: 100%; height: auto; display: block;
  border-radius: 10px; margin-bottom: 14px;
  break-inside: avoid; box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform .2s, box-shadow .2s;
}
.masonry-gallery img:hover { transform: scale(1.01); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.masonry-gallery img.big { width: 100%; }

/* ========== READABILITY FIXES (v7) ========== */
/* Stronger dark overlay on inner page heroes — text always legible */
.hero-img::after {
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.30) 100%) !important;
}
.hero-img h1, .hero-img .breadcrumb, .hero-img .hero-tag {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 0 4px rgba(0,0,0,0.4) !important;
}
.hero-img .breadcrumb a { color: #ffffff !important; opacity: 0.95; }

/* Home hero: same treatment for full-screen hero */
.cv-hero::before { opacity: 0.50 !important; }
.cv-hero h1, .cv-hero .lead {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 0 4px rgba(0,0,0,0.4) !important;
}
.cv-hero .lead { opacity: 1 !important; }
.cv-hero .hero-tag { color: #ffffff !important; }

/* Final CTA: same treatment */
.cv-final-cta h2, .cv-final-cta p {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

/* ========== FAQ HEADERS BOLDER (v7+) ========== */
.cv-faq-item summary {
  font-weight: 800 !important;
  font-size: 1.18rem !important;
  letter-spacing: -0.01em;
  color: #14532d !important;  /* deeper green for higher contrast */
}
.cv-faq-item[open] summary { color: #166534 !important; }
.cv-faq-item summary::after { font-size: 1.9rem !important; }
.cv-faq-item .faq-body p { font-size: 1.0rem; }

/* ========== HOMEPAGE REVIEWS SLIDER (proper carousel) ========== */
.cv-reviews { padding: 80px 0 60px; }
.cv-review-cards {
  /* OVERRIDE: always a horizontal slider, not grid */
  display: flex !important;
  grid-template-columns: none !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
  gap: 20px;
  padding: 10px 20px 30px;
  margin: 0 -20px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.cv-review-cards::-webkit-scrollbar { height: 8px; }
.cv-review-cards::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 4px; }
.cv-review-cards::-webkit-scrollbar-track { background: var(--c-bg-alt); }
.cv-review {
  flex: 0 0 380px;
  scroll-snap-align: start;
  min-height: 230px;
}
@media (max-width: 600px) {
  .cv-review { flex: 0 0 88%; }
}

/* Slider navigation buttons */
.cv-reviews-slider-wrap { position: relative; }
.cv-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-primary); color: var(--c-primary);
  cursor: pointer; font-size: 1.4rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background 0.15s, color 0.15s;
}
.cv-slider-btn:hover { background: var(--c-primary); color: #fff; }
.cv-slider-btn[data-dir="prev"] { left: -10px; }
.cv-slider-btn[data-dir="next"] { right: -10px; }
@media (max-width: 700px) {
  .cv-slider-btn { width: 36px; height: 36px; font-size: 1.1rem; }
  .cv-slider-btn[data-dir="prev"] { left: 4px; }
  .cv-slider-btn[data-dir="next"] { right: 4px; }
}
