/* ============================================================
   Nashville Paint Co. — Stylesheet
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
    --color-primary: #2E86AB;
    --color-primary-dark: #1B5E7B;
    --color-primary-light: #48B8D0;
    --color-accent: #E8553A;
    --color-accent-hover: #d44425;
    --color-green: #52B788;
    --color-green-dark: #2D6A4F;
    --color-gold: #f4a940;
    --color-dark: #1a2e3d;
    --color-dark-2: #243B4A;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-bg: #ffffff;
    --color-bg-alt: #f0f7fa;
    --color-bg-warm: #faf8f5;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 85, 58, 0.35);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

/* ---------- Section Shared Styles ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    background: rgba(46,134,171,0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.section-tag--light {
    color: var(--color-primary-light);
    background: rgba(72,184,208,0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ---------- Brush Stroke Dividers ---------- */
.brush-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.brush-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 16px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header.scrolled .logo__text {
    color: var(--color-dark);
}

.header.scrolled .nav__link {
    color: var(--color-text);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link--cta {
    color: var(--color-primary);
}

.header.scrolled .nav__link--cta {
    background: var(--color-accent);
    color: #fff;
}

.header.scrolled .header__phone {
    color: var(--color-primary);
}

.header.scrolled .hamburger span {
    background: var(--color-dark);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
    flex-shrink: 0;
}

.logo__img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: filter var(--transition), opacity var(--transition);
}

/* When header is on the transparent hero, make dark logo white */
.header:not(.scrolled) .logo__img {
    filter: brightness(0) invert(1);
}

/* When scrolled to white bg, show natural dark navy color */
.header.scrolled .logo__img {
    filter: none;
}

.logo__icon {
    width: 38px;
    height: 38px;
}

.logo__text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    transition: color var(--transition);
}

.logo__accent {
    color: var(--color-primary-light);
}

/* Footer logo — white on dark background */
.logo__img--footer {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity var(--transition);
}

.logo__img--footer:hover {
    opacity: 1;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
    position: relative;
}

.nav__link:hover {
    color: #fff;
}

.nav__link--cta {
    background: var(--color-accent);
    color: #fff;
    margin-left: 8px;
    padding: 10px 22px;
}

.nav__link--cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    transition: color var(--transition);
}

.header__phone:hover {
    color: var(--color-primary-light);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 4px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a2e3d 0%, #2E86AB 50%, #1B5E7B 100%);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(72,184,208,0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(46,134,171,0.15) 0%, transparent 50%);
}

/* Paint drip decorations */
.hero__drips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.drip {
    position: absolute;
    top: -10px;
    width: 40px;
    border-radius: 0 0 20px 20px;
    animation: dripDown 3s ease-in forwards;
    opacity: 0;
}

@keyframes dripDown {
    0% {
        height: 0;
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    100% {
        height: var(--drip-height, 120px);
        opacity: 0.4;
    }
}

.drip--1 {
    left: 8%;
    width: 35px;
    background: rgba(72,184,208,0.3);
    --drip-height: 140px;
    animation-delay: 0.5s;
}

.drip--2 {
    left: 25%;
    width: 28px;
    background: rgba(255,255,255,0.12);
    --drip-height: 90px;
    animation-delay: 1.2s;
}

.drip--3 {
    left: 52%;
    width: 42px;
    background: rgba(82,183,136,0.2);
    --drip-height: 170px;
    animation-delay: 0.8s;
}

.drip--4 {
    left: 73%;
    width: 30px;
    background: rgba(72,184,208,0.25);
    --drip-height: 110px;
    animation-delay: 1.6s;
}

.drip--5 {
    left: 90%;
    width: 38px;
    background: rgba(255,255,255,0.1);
    --drip-height: 150px;
    animation-delay: 2s;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 160px 0 120px;
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-primary-light);
    background: rgba(72,184,208,0.12);
    border: 1px solid rgba(72,184,208,0.2);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__title--accent {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

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

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.hero__trust-item svg {
    color: var(--color-primary-light);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    position: relative;
    padding: 100px 0 140px;
    background: var(--color-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 32px;
}

.service-card {
    position: relative;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px 28px 32px;
    transition: all var(--transition);
    overflow: hidden;
}

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

.service-card__paint-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__paint-strip {
    transform: scaleX(1);
}

.service-card__icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon-wrap {
    transform: scale(1.1);
    color: var(--color-primary-dark);
}

.service-card__icon {
    width: 56px;
    height: 56px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__features li {
    font-size: 0.88rem;
    color: var(--color-text);
    padding-left: 20px;
    position: relative;
}

.service-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-light);
    opacity: 0.6;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
    position: relative;
    padding: 100px 0 110px;
    background: var(--color-bg-alt);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.why-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46,134,171,0.15);
}

.why-card__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(46,134,171,0.08);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.why-card__icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.why-card__icon svg {
    width: 100%;
    height: 100%;
}

.why-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.why-card__desc {
    font-size: 0.93rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* Guarantee Seal */
.guarantee {
    text-align: center;
}

.guarantee__seal {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 32px 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(46,134,171,0.1);
}

.guarantee__seal-svg {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    animation: sealSpin 30s linear infinite;
}

@keyframes sealSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.guarantee__seal-svg:hover {
    animation-play-state: paused;
}

.guarantee__seal-text {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    fill: var(--color-primary);
}

.guarantee__starburst {
    animation: starPulse 3s ease-in-out infinite alternate;
}

@keyframes starPulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.guarantee__text {
    text-align: left;
}

.guarantee__text h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.guarantee__text p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 340px;
    line-height: 1.6;
}

/* ============================================================
   COLOR INSPIRATION
   ============================================================ */
.colors {
    position: relative;
    padding: 100px 0 140px;
    background: var(--color-bg);
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.palette-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    cursor: pointer;
}

.palette-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.palette-card__swatches {
    display: flex;
    height: 100px;
}

.swatch {
    flex: 1;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: crosshair;
}

.swatch:hover {
    flex: 2;
}

.swatch::after {
    content: attr(data-color);
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.4);
    padding: 2px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.swatch:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.palette-card__info {
    padding: 22px 24px 24px;
}

.palette-card__info h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.palette-card__info p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Color tooltip */
.color-tooltip {
    position: fixed;
    background: var(--color-dark);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 500;
    white-space: nowrap;
}

.color-tooltip.visible {
    opacity: 1;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas {
    padding: 100px 0 100px;
    background: var(--color-bg);
}

.areas__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.area-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
    transition: all var(--transition);
}

.area-tag:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46,134,171,0.3);
}

.area-tag:hover svg {
    stroke: #fff;
}

.area-tag svg {
    color: var(--color-primary);
    transition: stroke var(--transition);
}

.areas__note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    position: relative;
    padding: 100px 0 160px;
    background: var(--color-bg);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: all var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(46,134,171,0.08);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46,134,171,0.2);
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-card__stars svg {
    width: 18px;
    height: 18px;
}

.testimonial-card__text {
    font-size: 0.97rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.testimonial-card__author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-dark);
}

.testimonial-card__author span {
    font-size: 0.82rem;
    color: var(--color-text-light);
}

/* ============================================================
   ESTIMATE FORM
   ============================================================ */
.estimate {
    padding: 110px 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.estimate::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(46,134,171,0.08) 0%, transparent 70%);
}

.estimate__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
}

.estimate__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.estimate__desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 32px;
}

.estimate__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

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

.estimate__phone {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.estimate__phone span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.estimate__phone a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
    transition: color var(--transition);
}

.estimate__phone a:hover {
    color: #fff;
}

/* Form */
.estimate__form {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46,134,171,0.1);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success {
    position: absolute;
    inset: 0;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.form-success.active {
    opacity: 1;
    pointer-events: auto;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 16px 0 8px;
}

.form-success p {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 88px 0 0;
    position: relative;
    overflow: hidden;
}

.footer__drips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.drip--footer-1 {
    position: absolute;
    top: 0;
    left: 15%;
    width: 30px;
    height: 60px;
    background: rgba(72,184,208,0.1);
    border-radius: 0 0 15px 15px;
}

.drip--footer-2 {
    position: absolute;
    top: 0;
    left: 55%;
    width: 24px;
    height: 45px;
    background: rgba(82,183,136,0.08);
    border-radius: 0 0 12px 12px;
}

.drip--footer-3 {
    position: absolute;
    top: 0;
    left: 82%;
    width: 34px;
    height: 80px;
    background: rgba(72,184,208,0.06);
    border-radius: 0 0 17px 17px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.logo--footer .logo__text {
    color: #fff;
}

.logo--footer {
    margin-bottom: 4px;
}

.footer__tagline {
    font-size: 0.93rem;
    margin: 16px 0 24px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
}

.footer__social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer__links h4,
.footer__contact h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    padding: 7px 0;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

.footer__phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary-light) !important;
    margin-bottom: 16px;
}

.footer__phone-link:hover {
    color: #fff !important;
}

.footer__hours,
.footer__area {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .estimate__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .guarantee__seal {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 36px;
    }

    .guarantee__text {
        text-align: center;
    }

    .guarantee__text p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav.open {
        right: 0;
    }

    .nav__link {
        color: rgba(255,255,255,0.8);
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .logo__img {
        height: 60px;
        width: auto;
    }

    .hamburger {
        display: flex;
    }

    .header__phone {
        display: none;
    }

    .hero__content {
        padding: 130px 0 100px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .estimate__form {
        padding: 32px 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .brush-divider--hero svg {
        height: 50px;
    }

    .brush-divider--services svg,
    .brush-divider--colors svg,
    .brush-divider--testimonials svg {
        height: 40px;
    }

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

    /* Section padding on mobile — comfortable but not excessive */
    .services {
        padding: 64px 0 80px;
    }

    .why-us {
        padding: 64px 0 72px;
    }

    .colors {
        padding: 64px 0 80px;
    }

    .areas {
        padding: 56px 0 64px;
    }

    .testimonials {
        padding: 64px 0 88px;
    }

    .estimate {
        padding: 64px 0;
    }

    .footer {
        padding: 56px 0 0;
    }

    .guarantee__seal {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hero__content {
        padding: 120px 0 88px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .btn--lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .guarantee__seal-svg {
        width: 100px;
        height: 100px;
    }

    .services {
        padding: 56px 0 72px;
    }

    .why-us {
        padding: 56px 0 64px;
    }

    .colors {
        padding: 56px 0 72px;
    }

    .areas {
        padding: 48px 0 56px;
    }

    .testimonials {
        padding: 56px 0 80px;
    }

    .estimate {
        padding: 56px 0;
    }

    .estimate__form {
        padding: 28px 20px;
    }
}

/* ---------- Overlay for mobile nav ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Animated paint roller loading (for fun) ---------- */
@keyframes paintRoll {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* ---------- Staggered card animations ---------- */
.services__grid .service-card:nth-child(1) .reveal { transition-delay: 0s; }
.services__grid .service-card:nth-child(2) .reveal { transition-delay: 0.1s; }
.services__grid .service-card:nth-child(3) .reveal { transition-delay: 0.2s; }
.services__grid .service-card:nth-child(4) .reveal { transition-delay: 0.3s; }

/* ---------- Smooth color swatch interaction ---------- */
.palette-card__swatches .swatch:first-child {
    border-radius: 12px 0 0 0;
}

.palette-card__swatches .swatch:last-child {
    border-radius: 0 12px 0 0;
}

/* ---------- Counter animation for stats ---------- */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Gentle floating animation ---------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.guarantee__seal-svg {
    animation: sealSpin 30s linear infinite;
}

/* ---------- Paint splatter decorative pseudo-elements ---------- */
.services::before {
    content: '';
    position: absolute;
    top: 60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46,134,171,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 120px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(82,183,136,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
