/* ============================================
   CAUSANI PLASTERING — styles.css
   Brand: Charcoal / Irish Red / Plaster White
   ============================================ */

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

:root {
    --primary: #2C3E50;
    --accent: #C0392B;
    --accent-hover: #a93226;
    --sand: #D4B896;
    --bg: #F5F2EE;
    --bg-light: #FAFAF8;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-muted: #666;
    --shadow: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 10px;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
    line-height: 1.2;
}

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

section { padding: 90px 0; }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-family: 'Raleway', sans-serif;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.35);
}

.btn-hero {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 13px 24px;
    border-radius: var(--radius);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 20px;
    width: fit-content;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; display: flex; align-items: center; gap: 8px; }

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar { padding: 0.85rem 0; }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.3px;
}

.nav-link:hover { color: var(--accent); }

.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }
.nav-cta .btn i { margin-right: 6px; }

.hamburger { display: none; flex-direction: column; cursor: pointer; }
.bar { width: 25px; height: 2.5px; background: var(--primary); margin: 3px 0; transition: 0.3s; border-radius: 2px; }

/* ============ HERO ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active { opacity: 1; }

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

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,62,80,0.75) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 720px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 2px 3px 8px rgba(0,0,0,0.4);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    font-weight: 400;
    opacity: 0.93;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 10;
}

.slider-controls button {
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.slider-controls button:hover { background: rgba(255,255,255,0.35); }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover { background: var(--white); }

/* ============ ABOUT ============ */
.about { background: var(--bg); }

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

.about-text .section-tag { margin-bottom: 14px; }

.about-text h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.75;
}

.about-text .btn { margin-top: 10px; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--accent);
}

.stat-number {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ SERVICES ============ */
.services { background: var(--white); }

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

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1.5px solid rgba(212,184,150,0.3);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.service-icon {
    width: 68px;
    height: 68px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.6rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

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

/* ============ PROCESS ============ */
.process { background: var(--primary); }

.process .section-header h2 { color: var(--white); }
.process .section-header p { color: rgba(255,255,255,0.75); }
.process .section-tag { background: var(--accent); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 38px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 18px;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.process-step p {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============ GALLERY ============ */
.gallery { background: var(--bg); }

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

/* ============ WHY CHOOSE US ============ */
.why-choose { background: var(--white); }

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

.feature-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #3d566e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ============ AREAS ============ */
.areas { background: var(--bg); }

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

.province-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
}

.province-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.province-card h3 i { color: var(--accent); font-size: 0.9rem; }

.province-card ul { list-style: none; }

.province-card ul li {
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 4px 0;
    border-bottom: 1px solid rgba(212,184,150,0.2);
}

.province-card ul li:last-child { border-bottom: none; }

.areas-cta {
    text-align: center;
    background: var(--primary);
    border-radius: var(--radius);
    padding: 36px 30px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.areas-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.areas-cta p strong { color: var(--sand); }

/* ============ TESTIMONIALS ============ */
.reviews { background: var(--white); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.review-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

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

.stars { font-size: 1.2rem; margin-bottom: 14px; }

.review-card p {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 14px;
}

.reviewer {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    font-family: 'Raleway', sans-serif;
}

/* ============ CONTACT ============ */
.contact { background: var(--bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 7px;
    font-family: 'Raleway', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-light);
    transition: border-color 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.hidden-field { display: none; }

.form-success {
    margin-top: 16px;
    padding: 14px 18px;
    background: #eafaf1;
    border: 1px solid #27ae60;
    border-radius: 8px;
    color: #1a7a3e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-info {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 1rem;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
    width: 20px;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ============ FOOTER ============ */
.footer { background: var(--primary); color: var(--white); padding: 70px 0 0; }

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

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    line-height: 1.1;
}

.footer-logo .logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.footer-logo .logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sand);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.footer-info p {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.footer-contact p {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i { color: var(--sand); }

.footer-contact a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.footer-contact a:hover { color: var(--white); }

.footer-links h4,
.footer-services h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sand);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links ul li,
.footer-services ul li {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover { color: var(--white); }

.footer-bottom {
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
}

.footer-bottom a { color: var(--sand); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ============ WHATSAPP BUTTON ============ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.9rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}

/* ============ COOKIE CONSENT ============ */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44,62,80,0.98);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 22px;
    z-index: 9999;
    border-top: 3px solid var(--accent);
    animation: slideUp 0.5s ease-out;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-text { flex: 1; }

.cookie-consent-text h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--sand); }

.cookie-consent-text p { font-size: 0.92rem; line-height: 1.6; opacity: 0.88; }

.cookie-link { color: var(--sand); text-decoration: underline; }
.cookie-link:hover { color: var(--white); }

.cookie-consent-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cookie {
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Raleway', sans-serif;
}

.btn-accept { background: var(--accent); color: var(--white); }
.btn-accept:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-reject { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-reject:hover { background: rgba(255,255,255,0.1); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-info { grid-column: 1 / -1; }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 66px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        padding: 24px 0;
        gap: 0;
    }

    .nav-menu.active { left: 0; }

    .nav-item { width: 100%; }
    .nav-link { display: block; padding: 12px 20px; font-size: 1rem; }
    .nav-cta { display: none; }

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

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }

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

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

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

    .areas-cta { flex-direction: column; text-align: center; }

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

    .cookie-consent-content { flex-direction: column; gap: 18px; text-align: center; }
    .cookie-consent-buttons { width: 100%; justify-content: center; }

    section { padding: 70px 0; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.75rem; }
    .slider-controls { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .contact-form-wrap { padding: 24px 18px; }
    .whatsapp-btn { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 1.6rem; }
    section { padding: 56px 0; }
    .footer-content { gap: 28px; }
}
