/*
Theme Name: Langley Windows Theme
Theme URI: https://langleywindows.ca
Author: Langley Windows
Author URI: https://langleywindows.ca
Description: Custom WordPress theme for Langley BC Window Replacement. A modern, conversion-optimized theme with a forest green and gold color scheme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: langley-theme
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* === CSS Variables === */
:root {
    --forest: #1a3a2f;
    --forest-dark: #0f241c;
    --sage: #4a7c59;
    --mint: #8fbf9f;
    --cream: #faf8f5;
    --warm-white: #fffefa;
    --gold: #c9a227;
    --gold-light: #e8d48a;
    --charcoal: #2d2d2d;
    --text: #1a1a1a;
    --text-muted: #5a5a5a;
    --shadow-soft: 0 4px 20px rgba(26, 58, 47, 0.08);
    --shadow-medium: 0 8px 40px rgba(26, 58, 47, 0.12);
    --shadow-strong: 0 16px 60px rgba(26, 58, 47, 0.16);
    --radius: 4px;
    --radius-lg: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    line-height: 1.15;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--forest-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: white;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* === Sticky CTA Bar === */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--forest);
    padding: 12px 24px;
    z-index: 1000;
    display: none;
    animation: slideUp 0.3s ease;
}

.sticky-cta.visible {
    display: block;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sticky-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sticky-cta p {
    color: var(--mint);
    font-size: 0.95rem;
}

.sticky-cta strong {
    color: white;
}

/* === Header === */
.site-header {
    background: var(--forest);
    padding: 16px 0;
    position: relative;
    z-index: 100;
}

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

.site-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.site-logo span {
    color: var(--gold);
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.main-navigation a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mint);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}

.header-phone:hover {
    color: white;
}

.header-phone svg {
    flex-shrink: 0;
}

/* === MOBILE PHONE BUTTON === */
.mobile-phone-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--forest-dark);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.mobile-phone-btn:hover {
    background: var(--gold-light);
}

.mobile-phone-btn svg {
    width: 18px;
    height: 18px;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(165deg, var(--forest) 0%, var(--forest-dark) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

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

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease 0.2s both;
}

.hero h1 span {
    color: var(--gold);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--mint);
    margin-bottom: 32px;
    max-width: 480px;
    animation: fadeIn 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    animation: fadeIn 0.8s ease 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.hero-feature svg {
    color: var(--gold);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeIn 0.8s ease 0.8s both;
}

.hero-visual {
    position: relative;
    animation: fadeIn 1s ease 0.4s both;
}

.hero-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold), var(--sage));
    border-radius: 10px;
    z-index: -1;
}

.comparison-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-item {
    text-align: center;
}

.comparison-item.them {
    opacity: 0.5;
}

.comparison-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.comparison-item .value {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest);
}

.comparison-item.them .value {
    color: var(--text-muted);
    text-decoration: line-through;
}

.hero-floating {
    position: absolute;
    background: var(--forest);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    animation: float 3s ease-in-out infinite;
}

.hero-floating.top {
    top: -20px;
    right: -20px;
}

.hero-floating.bottom {
    bottom: -16px;
    left: -20px;
    background: var(--gold);
    color: var(--forest-dark);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* === Trust Bar === */
.trust-bar {
    background: var(--forest-dark);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.trust-item svg {
    color: var(--gold);
}

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

.section-light {
    background: var(--cream);
}

.section-white {
    background: white;
}

.section-dark {
    background: var(--forest);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.02'%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");
    pointer-events: none;
}

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

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage);
    margin-bottom: 12px;
}

.section-dark .section-label {
    color: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--forest);
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: var(--mint);
}

/* === Problems Grid === */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

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

.problem-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--mint), var(--sage));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon svg {
    color: white;
}

.problem-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.problem-card .solution {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: var(--sage);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === Process Timeline === */
.process-timeline {
    display: flex;
    gap: 20px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--mint), var(--sage), var(--forest));
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border: 3px solid var(--sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: 'Fraunces', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--forest);
    color: white;
    border-color: var(--forest);
}

.process-step h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 200px;
    margin: 0 auto;
}

/* === Products Grid === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.product-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.product-card svg {
    color: var(--gold);
    margin-bottom: 16px;
}

.product-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.products-note {
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gold-light);
    font-size: 0.95rem;
}

.products-note strong {
    color: white;
}

/* === Testimonials === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.testimonial-card::before {
    content: '"';
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    color: var(--mint);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 24px;
    line-height: 1;
}

.testimonial-location {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.testimonial-title {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 12px;
}

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

.testimonial-result {
    background: linear-gradient(135deg, var(--forest), var(--sage));
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
}

/* === Warranty Section === */
.warranty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.warranty-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.warranty-card.product {
    background: linear-gradient(135deg, var(--forest), var(--forest-dark));
    color: white;
}

.warranty-card.installation {
    background: var(--gold);
    color: var(--forest-dark);
}

.warranty-years {
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.warranty-card.product .warranty-years {
    color: var(--gold);
}

.warranty-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.warranty-features {
    list-style: none;
}

.warranty-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
}

.warranty-card.product .warranty-features li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.warranty-card.installation .warranty-features li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* === CTA Section === */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 20px;
}

.cta-content h2 span {
    color: var(--gold);
}

.cta-content p {
    color: var(--mint);
    font-size: 1.15rem;
    margin-bottom: 36px;
}

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

.cta-checklist {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.cta-checklist svg {
    color: var(--gold);
}

/* === Forms === */
.quote-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-strong);
}

.form-title {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--cream);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-item:hover {
    background: var(--mint);
}

.checkbox-item input {
    width: auto;
}

.checkbox-item span {
    font-size: 0.9rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* === Footer === */
.site-footer {
    background: var(--charcoal);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .site-logo {
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* === Page Templates === */
.page-header {
    background: linear-gradient(165deg, var(--forest) 0%, var(--forest-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.page-header p {
    color: var(--mint);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
    background: white;
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    color: var(--forest);
    margin: 40px 0 20px;
}

.page-content h3 {
    color: var(--forest);
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 20px;
    color: var(--text);
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
    list-style: disc;
}

.page-content li {
    margin-bottom: 8px;
    color: var(--text);
}

/* === Blog/Posts === */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.post-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-card-content {
    padding: 24px;
}

.post-card-meta {
    font-size: 0.8rem;
    color: var(--sage);
    margin-bottom: 12px;
}

.post-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.post-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sage);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
    transition: color 0.2s;
}

.post-card .read-more:hover {
    color: var(--forest);
}

/* Single Post */
.single-post-header {
    background: linear-gradient(165deg, var(--forest) 0%, var(--forest-dark) 100%);
    padding: 100px 0 60px;
}

.single-post-header .container {
    max-width: 800px;
}

.single-post-header h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.single-post-meta {
    color: var(--mint);
    font-size: 0.95rem;
}

.single-post-content {
    padding: 60px 0;
    background: white;
}

.single-post-content .container {
    max-width: 800px;
}

/* === Widget Styles === */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--mint);
}

/* === WordPress Specific === */
.wp-block-image {
    margin: 32px 0;
}

.wp-block-image img {
    border-radius: var(--radius-lg);
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 24px;
    margin-bottom: 16px;
}

.alignright {
    float: right;
    margin-left: 24px;
    margin-bottom: 16px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =================================================================
   INSTITUTIONAL PAGES - SHARED STYLES
   ================================================================= */

/* Story/About Grid */
.story-section {
    padding: 100px 0;
    background: white;
}

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

.story-content h2 {
    font-size: 2.25rem;
    color: var(--forest);
    margin-bottom: 24px;
}

.story-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-image {
    position: relative;
}

.story-image-main {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--sage), var(--forest));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.story-image-main::before {
    content: '';
    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.05'%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");
}

.story-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--forest-dark);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.story-badge-number {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.story-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mint), var(--sage));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.value-icon svg {
    color: white;
}

.value-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--forest), var(--sage));
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 700;
    overflow: hidden;
}

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

.team-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 4px;
}

.team-role {
    color: var(--sage);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--forest);
    position: relative;
}

.stats-section::before {
    content: '';
    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.02'%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");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--mint);
    font-size: 1rem;
    font-weight: 500;
}

/* Why Local List */
.why-local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-local-content h2 {
    font-size: 2.25rem;
    color: var(--forest);
    margin-bottom: 24px;
}

.why-local-list {
    list-style: none;
}

.why-local-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.why-local-list li:last-child {
    border-bottom: none;
}

.why-local-icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-local-icon svg {
    color: var(--gold);
}

.why-local-list h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 4px;
}

.why-local-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.why-local-image-main {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--forest-dark), var(--forest));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-placeholder {
    text-align: center;
}

.map-placeholder svg {
    color: var(--gold);
    margin-bottom: 16px;
}

.map-placeholder p {
    color: var(--mint);
    font-size: 0.95rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--forest);
    margin-bottom: 24px;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info-item {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-info-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sage);
    margin-bottom: 8px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 1.1rem;
    color: var(--forest);
    font-weight: 600;
}

.contact-info-item a:hover {
    color: var(--sage);
}

.contact-hours h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 16px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    color: var(--text-muted);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list span:last-child {
    font-weight: 600;
    color: var(--forest);
}

/* Careers Page Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--mint), var(--sage));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    color: white;
}

.benefit-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 8px;
}

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

/* Job Listings */
.job-listings {
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.job-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--forest);
}

.job-type {
    background: var(--mint);
    color: var(--forest-dark);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.job-meta svg {
    color: var(--sage);
}

.job-card > p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--cream);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--sage);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 32px 24px;
    color: var(--text-muted);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Privacy/Terms Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--forest);
    margin: 48px 0 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--forest);
    margin: 32px 0 16px;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

.legal-content li {
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content strong {
    color: var(--text);
}

.legal-content a {
    color: var(--sage);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--forest);
}

.last-updated {
    background: var(--cream);
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Map Container */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* =================================================================
   RESPONSIVE - MOBILE
   ================================================================= */

@media (max-width: 1024px) {
    /* Header mobile */
    .main-navigation {
        display: none !important;
    }
    
    .header-contact {
        display: none !important;
    }
    
    .mobile-phone-btn {
        display: flex !important;
    }
    
    /* Hero - conteúdo primeiro */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        margin-top: 40px;
    }
    
    /* Grids */
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-timeline {
        flex-direction: column;
        gap: 32px;
    }

    .process-timeline::before {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

    .section {
        padding: 60px 0;
    }

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

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

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

    .trust-items {
        gap: 24px;
    }

    .trust-item span {
        display: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-checklist {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

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

    .story-grid,
    .why-local-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid,
    .team-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

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

    .story-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        display: inline-block;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Sticky CTA mobile */
    .sticky-cta .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .sticky-cta p {
        font-size: 0.85rem;
    }
    
    .sticky-cta .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sticky-cta {
        padding: 10px 16px;
    }
    
    .sticky-cta p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .sticky-cta .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .mobile-phone-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Remove mobile menu elements - não usamos mais */
#mobileMenu,
#mobileMenuOverlay,
.mobile-menu,
.mobile-menu-overlay,
.mobile-menu-toggle {
    display: none !important;
	/* FORCE MOBILE PHONE BUTTON */
.mobile-phone-btn {
    display: none !important;
    align-items: center !important;
    gap: 8px !important;
    background: #c9a227 !important;
    color: #0f241c !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
}

@media (max-width: 1024px) {
    .mobile-phone-btn {
        display: flex !important;
    }
    
    .main-navigation,
    .header-contact {
        display: none !important;
    }
}
	/* =================================================================
   MOBILE FIX - INSTITUTIONAL PAGES
   ================================================================= */

@media (max-width: 768px) {
    /* Page Header */
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Story Section */
    .story-section {
        padding: 60px 0;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-content h2 {
        font-size: 1.75rem;
    }
    
    .story-content p {
        font-size: 0.95rem;
    }
    
    .story-image-main {
        height: 300px;
    }
    
    .story-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 20px;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 28px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-card h3 {
        font-size: 1.1rem;
    }
    
    /* Stats Section */
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
        font-size: 2.5rem;
    }
    
    .team-card h3 {
        font-size: 1.15rem;
    }
    
    /* Why Local */
    .why-local-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-local-content h2 {
        font-size: 1.75rem;
    }
    
    .why-local-list li {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .why-local-icon {
        margin: 0 auto;
    }
    
    .why-local-image-main {
        height: 250px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .section-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .value-card {
        padding: 24px;
    }
    
    .story-image-main {
        height: 220px;
    }
}
}