/* ==========================================================================
   Mendos Painting — main stylesheet
   Dark stone theme with amber accents.
   ========================================================================== */

:root {
    --stone-950: #0c0a09;
    --stone-900: #1c1917;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-600: #57534e;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --stone-300: #d6d3d1;
    --stone-200: #e7e5e4;
    --stone-100: #f5f5f4;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;
    --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background: var(--stone-900);
    color: var(--stone-100);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

section[id] {
    scroll-margin-top: 4.5rem;
}

/* Visible only when focused via keyboard. */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100;
    background: var(--amber-500);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

/* ---------- Layout helpers ---------- */

.container {
    max-width: 72rem;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.container.narrow {
    max-width: 64rem;
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-sm {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-dark {
    background: var(--stone-800);
}

.section-dark.bordered {
    border-top: 1px solid var(--stone-700);
    border-bottom: 1px solid var(--stone-700);
}

.section-darker {
    background: var(--stone-950);
}

.center {
    text-align: center;
}

.text-amber {
    color: var(--amber-400);
}

.mb-lg {
    margin-bottom: 2rem;
}

.sm-only {
    display: none;
}

@media (min-width: 640px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .section {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
    .section-sm {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .sm-only {
        display: inline;
    }
}

/* ---------- Section headings ---------- */

.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    color: var(--amber-400);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.section-title.left {
    text-align: left;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-amber {
    background: var(--amber-500);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.btn-amber:hover {
    background: var(--amber-600);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.btn-amber:active {
    transform: scale(0.98);
}

.btn-ghost {
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.2);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgb(255 255 255 / 0.2);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
}

.btn-lg.btn-amber {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.btn-lg.btn-amber:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.btn-block {
    width: 100%;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

/* ---------- Icon boxes ---------- */

.icon-box {
    width: 2.5rem;
    height: 2.5rem;
    background: rgb(245 158 11 / 0.2);
    color: var(--amber-400);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.icon-box.sm {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0;
}

/* ---------- Navigation ---------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgb(28 25 23 / 0.97);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 5rem;
    width: auto;
    object-fit: contain;
}

.nav-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: #fff;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(255 255 255 / 0.9);
    transition: color 0.2s ease;
}

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

.nav-toggle {
    display: block;
    padding: 0.375rem;
    border-radius: 0.25rem;
    color: #fff;
    line-height: 0;
}

.nav-toggle-close {
    display: none;
}

.nav.menu-open .nav-toggle-open {
    display: none;
}

.nav.menu-open .nav-toggle-close {
    display: inline;
}

.mobile-menu {
    display: none;
    background: var(--stone-900);
    border-top: 1px solid var(--stone-700);
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.nav.menu-open .mobile-menu {
    display: block;
}

.mobile-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.25rem;
    color: rgb(255 255 255 / 0.8);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-link:hover {
    background: var(--stone-800);
    color: #fff;
}

.mobile-cta {
    padding-top: 0.5rem;
}

.mobile-cta .btn {
    font-size: 0.875rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .nav-inner {
        padding: 0 2rem;
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .nav-toggle,
    .mobile-menu {
        display: none;
    }
    .nav.menu-open .mobile-menu {
        display: none;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.35);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 7rem 1.25rem 5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(245 158 11 / 0.2);
    border: 1px solid rgb(251 191 36 / 0.3);
    color: var(--amber-300);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: var(--amber-400);
    border-radius: 9999px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--stone-200);
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.625;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1.25rem;
    row-gap: 0.5rem;
    color: var(--stone-300);
    font-size: 0.875rem;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-dot {
    width: 0.25rem;
    height: 0.25rem;
    background: var(--stone-500);
    border-radius: 9999px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(255 255 255 / 0.6);
    transition: color 0.2s ease;
    animation: bounce 1s infinite;
    line-height: 0;
}

.hero-scroll:hover {
    color: #fff;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateX(-50%) translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@media (min-width: 640px) {
    .hero-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-sub {
        font-size: 1.25rem;
    }
    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

/* ---------- About ---------- */

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

.about-text {
    color: var(--stone-300);
    font-size: 1.125rem;
    line-height: 1.625;
    margin-bottom: 1.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber-400);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--stone-400);
    font-weight: 500;
}

.about-media {
    position: relative;
}

.about-photo {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    aspect-ratio: 4 / 3;
}

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

.about-card {
    position: absolute;
    bottom: -1.25rem;
    left: -1.25rem;
    background: var(--amber-500);
    color: #fff;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.about-card-sub {
    color: var(--amber-100);
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Services ---------- */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--stone-700);
    border: 1px solid rgb(87 83 78 / 0.5);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    border-color: rgb(245 158 11 / 0.3);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.service-img {
    height: 11rem;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-body {
    padding: 1.5rem;
}

.service-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--stone-400);
    font-size: 0.875rem;
    line-height: 1.625;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Work / portfolio ---------- */

.work-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.work-item {
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--stone-800);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.work-item.compact {
    min-height: 220px;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 20rem;
    transition: transform 0.5s ease;
}

.work-item.compact img {
    max-height: 18rem;
}

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

@media (min-width: 640px) {
    .work-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .work-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Why us / features ---------- */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: rgb(41 37 36 / 0.6);
    border: 1px solid rgb(68 64 60 / 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: rgb(245 158 11 / 0.4);
}

.feature-card .icon-box {
    margin-bottom: 1rem;
}

.feature-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--stone-400);
    font-size: 0.875rem;
    line-height: 1.625;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Process ---------- */

.process {
    position: relative;
}

.process-line {
    display: none;
    position: absolute;
    left: 2.25rem;
    top: 2.5rem;
    bottom: 2.5rem;
    width: 1px;
    background: var(--stone-700);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.process-num {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--amber-500);
    color: #fff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    position: relative;
    z-index: 10;
}

.process-card {
    background: var(--stone-800);
    border: 1px solid var(--stone-700);
    border-radius: 0.75rem;
    padding: 1.25rem;
    flex: 1;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: border-color 0.2s ease;
}

.process-card:hover {
    border-color: rgb(245 158 11 / 0.4);
}

.process-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
}

.process-desc {
    color: var(--stone-400);
    font-size: 0.875rem;
    line-height: 1.625;
}

@media (min-width: 1024px) {
    .process-line {
        display: block;
    }
}

/* ---------- Service area ---------- */

.area-text {
    color: var(--stone-300);
    font-size: 1.125rem;
    margin: 1rem auto 2rem;
    max-width: 42rem;
}

.area-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.area-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--stone-700);
    border: 1px solid var(--stone-600);
    color: var(--stone-200);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: border-color 0.2s ease;
}

.area-chip:hover {
    border-color: rgb(245 158 11 / 0.5);
}

.chip-icon {
    color: var(--amber-400);
    flex-shrink: 0;
}

/* ---------- CTA ---------- */

.cta {
    position: relative;
    overflow: hidden;
    background: var(--stone-900);
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.cta-content {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    padding: 5rem 1.25rem;
    text-align: center;
}

.cta-text {
    color: var(--stone-300);
    font-size: 1.125rem;
    line-height: 1.625;
    margin: 1rem 0 2rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

.cta-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--stone-400);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .cta-content {
        padding: 6rem 2rem;
    }
    .cta-actions {
        flex-direction: row;
    }
}

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.contact-loc {
    color: var(--stone-400);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--stone-300);
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-method:not(.static):hover {
    color: var(--amber-400);
}

.contact-method:not(.static):hover .icon-box {
    background: rgb(245 158 11 / 0.3);
}

.contact-note {
    border-top: 1px solid var(--stone-700);
    padding-top: 1.25rem;
}

.contact-note p {
    color: var(--stone-400);
    font-size: 0.875rem;
    line-height: 1.625;
}

.contact-form-card {
    background: var(--stone-800);
    border: 1px solid var(--stone-700);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

@media (min-width: 640px) {
    .contact-form-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
    }
}

/* ---------- Form ---------- */

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-300);
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--stone-600);
    background: var(--stone-700);
    color: #fff;
    font: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--amber-400);
}

.form-group textarea {
    resize: none;
}

.form-group input.has-error {
    border-color: #ef4444;
}

.field-error {
    color: #f87171;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

.form-alert {
    background: rgb(239 68 68 / 0.1);
    border: 1px solid rgb(239 68 68 / 0.35);
    color: #fca5a5;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.form-alert a {
    color: #fff;
    text-decoration: underline;
}

.form-alert.info {
    background: rgb(245 158 11 / 0.12);
    border-color: rgb(251 191 36 / 0.35);
    color: var(--amber-300);
}

/* Honeypot field — hidden from humans, visible to naive bots. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: rgb(245 158 11 / 0.2);
    color: var(--amber-400);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--stone-400);
    max-width: 24rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Footer ---------- */

.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    border-top: 1px solid var(--stone-800);
}

.footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.footer-name {
    font-weight: 600;
    color: #fff;
}

.footer-tag {
    color: var(--stone-600);
    margin-left: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-copy {
    color: var(--stone-600);
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ---------- Scroll reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .pulse-dot,
    .hero-scroll {
        animation: none;
    }
}
