/* ========================================
   Monarrez Concrete — Styles
   Clean, minimalist, forest green + off-white
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #FAFAF7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #2C4A2E;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #2C4A2E;
    color: #fff;
    border: 1.5px solid #2C4A2E;
}

.btn-primary:hover {
    background: #1f3620;
    border-color: #1f3620;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(44, 74, 46, 0.25);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav {
    background: #2C4A2E;
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
}

.btn-nav:hover {
    background: #1f3620;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* --- Section Headers --- */
.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2C4A2E;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 16px;
    color: #555;
    max-width: 560px;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 74, 46, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

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

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

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

.main-nav a:not(.btn) {
    font-size: 14px;
    font-weight: 400;
    color: #444;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2C4A2E;
    transition: width 0.3s ease;
}

.main-nav a:not(.btn):hover {
    color: #2C4A2E;
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(180deg, rgba(20, 35, 20, 0.72) 0%, rgba(20, 35, 20, 0.55) 50%, rgba(20, 35, 20, 0.78) 100%),
        url('https://images.pexels.com/photos/1249610/pexels-photo-1249610.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280') center / cover no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 35, 20, 0.3) 0%, transparent 40%, transparent 60%, rgba(20, 35, 20, 0.5) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid rgba(44, 74, 46, 0.08);
    padding: 40px 0;
}

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

.trust-item {
    text-align: center;
    padding: 0 32px;
}

.trust-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: #2C4A2E;
    line-height: 1.2;
}

.trust-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777;
    margin-top: 4px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(44, 74, 46, 0.15);
    flex-shrink: 0;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: 120px 0;
    background: #FAFAF7;
}

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

.service-card {
    padding: 40px 32px;
    background: #fff;
    border: 1px solid rgba(44, 74, 46, 0.08);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(44, 74, 46, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44, 74, 46, 0.08);
}

.service-icon {
    margin-bottom: 24px;
    color: #2C4A2E;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 120px 0;
    background: #fff;
}

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

.about-image {
    border-radius: 6px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

/* ========================================
   WORK GALLERY
   ======================================== */
.work {
    padding: 120px 0;
    background: #FAFAF7;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.work-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.work-item:hover img {
    transform: scale(1.04);
}

.work-item--large {
    grid-column: span 7;
    aspect-ratio: 7/5;
}

.work-item:not(.work-item--large) {
    aspect-ratio: 4/5;
}

.work-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-caption {
    opacity: 1;
}

.work-caption span {
    font-size: 13px;
    color: #fff;
    font-weight: 400;
}

.work-caption span:last-child {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 120px 0;
    background: #fff;
}

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

.testimonial-card {
    padding: 40px 32px;
    background: #FAFAF7;
    border-radius: 6px;
    border: 1px solid rgba(44, 74, 46, 0.06);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 40px;
    height: 40px;
}

.testimonial-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card footer {
    border-top: 1px solid rgba(44, 74, 46, 0.1);
    padding-top: 20px;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 500;
    color: #2C4A2E;
    letter-spacing: 0.04em;
}

/* ========================================
   CTA
   ======================================== */
.cta {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, rgba(44, 74, 46, 0.92) 0%, rgba(30, 55, 32, 0.95) 100%),
        url('https://images.pexels.com/photos/5691544/pexels-photo-5691544.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.cta .section-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.cta .section-title {
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
    background: #FAFAF7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-text {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.contact-detail a {
    color: #2C4A2E;
    transition: color 0.2s ease;
}

.contact-detail a:hover {
    color: #1f3620;
    text-decoration: underline;
}

/* --- Form --- */
.contact-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 48px 40px;
    border: 1px solid rgba(44, 74, 46, 0.08);
}

.form-title {
    font-size: 24px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.form-note {
    font-size: 14px;
    color: #888;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1a1a1a;
    background: #FAFAF7;
    border: 1px solid rgba(44, 74, 46, 0.15);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2C4A2E;
    box-shadow: 0 0 0 3px rgba(44, 74, 46, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(44, 74, 46, 0.06);
    border: 1px solid rgba(44, 74, 46, 0.15);
    border-radius: 4px;
    font-size: 14px;
    color: #2C4A2E;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 32px;
}

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

.footer-brand .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-item--large {
        grid-column: span 2;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #FAFAF7;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav a:not(.btn) {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: clamp(32px, 8vw, 52px);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 24px;
    }
    
    .trust-divider {
        width: 40px;
        height: 1px;
    }
    
    .trust-item {
        padding: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item--large {
        grid-column: span 1;
    }
    
    .work-caption {
        opacity: 1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 100px 16px 60px;
    }
    
    .services,
    .about,
    .work,
    .testimonials,
    .cta,
    .contact {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}
