/* ================================================================
   IMPRESOS GALA EL SALVADOR — STYLESHEET
   Mobile-first | CSS Custom Properties | Vanilla
   Palette:
   --primary:    #1B4D3E (Forest Green)
   --secondary:  #C4A77D (Kraft)
   --accent:     #D4A843 (Gold)
   --bg:         #F9F7F2 (Warm White)
   --surface:    #FFFFFF
   --text:       #1C1C1C
   --text-light: #5A5A5A
   --success:    #2E7D32
   --error:      #C62828
   ================================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    --primary:       #1B4D3E;
    --primary-light: #2D6A56;
    --primary-dark:  #123828;
    --secondary:     #C4A77D;
    --secondary-light: #D4B88C;
    --accent:        #D4A843;
    --accent-light:  #E8C86A;
    --bg:            #F9F7F2;
    --bg-warm:       #F0EBE0;
    --surface:       #FFFFFF;
    --text:          #1C1C1C;
    --text-light:    #5A5A5A;
    --text-muted:    #8A8A8A;
    --border:        #E5E0D6;
    --shadow-sm:     0 1px 2px rgba(28,28,28,0.05);
    --shadow:        0 4px 20px rgba(28,28,28,0.08);
    --shadow-lg:     0 12px 40px rgba(28,28,28,0.12);
    --radius:        12px;
    --radius-sm:     8px;
    --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading:  'Outfit', sans-serif;
    --font-body:     'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ---------- UTILITIES ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.text-accent {
    color: var(--accent);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(27, 77, 62, 0.35);
}

.btn--primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 77, 62, 0.45);
}

.btn--outline {
    border: 2px solid var(--border);
    color: var(--text);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(27, 77, 62, 0.04);
}

.btn--light {
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn--light:hover {
    background: var(--bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--block {
    width: 100%;
}

.btn__loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.is-loading .btn__text { opacity: 0.6; }
.btn.is-loading .btn__loader { display: inline-block; }

/* ---------- SECTIONS ---------- */
.section {
    padding: 4rem 0;
}

.section--alt {
    background: var(--surface);
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section__badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    background: rgba(27, 77, 62, 0.08);
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.section__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.625rem, 4vw, 2.25rem);
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.section__desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    padding: 0.75rem 0;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo__icon svg {
    display: block;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo__brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
}

.logo__tagline {
    font-family: var(--font-body);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    font-weight: 600;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--surface);
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    padding: 5rem 1.5rem 2rem;
    transition: right var(--transition);
    z-index: 1001;
}

.nav.is-open { right: 0; }

.nav__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav__link {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
}

.nav__link--cta {
    display: inline-flex;
    margin-top: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    border-bottom: none;
    font-weight: 600;
}

.nav__link--cta:hover {
    background: var(--primary-light);
    color: #fff;
}

/* Mobile toggle */
.nav-toggle {
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1002;
    position: relative;
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 28, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 1000;
}

.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(27, 77, 62, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.06) 0%, transparent 40%);
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobMove 10s ease-in-out infinite alternate;
}

.hero__blob--1 {
    width: 400px;
    height: 400px;
    background: rgba(27, 77, 62, 0.12);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero__blob--2 {
    width: 350px;
    height: 350px;
    background: rgba(212, 168, 67, 0.1);
    bottom: -80px;
    left: -80px;
    animation-delay: -5s;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--primary);
    background: rgba(27, 77, 62, 0.08);
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    animation: fadeInDown 0.6s ease both;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.15s both;
}

.hero__subtitle {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.25s both;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.35s both;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 480px;
    animation: fadeInUp 0.6s ease 0.45s both;
}

.stat__value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.stat__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: block;
    margin-top: 0.25rem;
}

/* Hero visual cards */
.hero__visual {
    position: relative;
    display: grid;
    gap: 1rem;
    justify-items: center;
    animation: fadeIn 0.8s ease 0.5s both;
}

.hero__card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text);
    width: 100%;
    max-width: 260px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hero__card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(27, 77, 62, 0.08);
    color: var(--primary);
}

.hero__card-icon svg {
    width: 22px;
    height: 22px;
}

.hero__card-icon--accent {
    background: rgba(212, 168, 67, 0.12);
    color: var(--accent);
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s ease infinite;
}

.scroll-down__mouse {
    display: block;
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-down__wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease infinite;
}

/* ---------- SERVICES ---------- */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: default;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 77, 62, 0.15);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(27, 77, 62, 0.08);
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__icon--accent {
    background: rgba(212, 168, 67, 0.12);
    color: var(--accent);
}

.service-card__icon--kraft {
    background: rgba(196, 167, 125, 0.15);
    color: #8B6914;
}

.service-card__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.service-card__list {
    list-style: none;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.service-card__list li {
    position: relative;
    padding-left: 1.125rem;
    margin-bottom: 0.375rem;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ---------- PROCESS ---------- */
.process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

.process__step {
    position: relative;
    padding-left: 4.5rem;
}

.process__number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.35;
    line-height: 1;
}

.process__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    color: var(--text);
}

.process__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- GALLERY ---------- */
.gallery__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.gallery__filter-btn {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-light);
    background: var(--surface);
    transition: all var(--transition);
    cursor: pointer;
}

.gallery__filter-btn:hover,
.gallery__filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

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

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery__item.is-hidden {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery__image {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: var(--bg-color, var(--secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gallery__placeholder-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.95);
    text-align: center;
    padding: 0 1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.gallery__placeholder-tag {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.2);
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
}

.gallery__info {
    padding: 1rem 1.125rem;
}

.gallery__info h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.gallery__info p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---------- ABOUT ---------- */
.about__layout {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.about__visual {
    position: relative;
    order: -1;
}

.about__image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.about__image--placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(212,168,67,0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(45,106,86,0.3) 0%, transparent 50%);
}

.about__image--placeholder span {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 0 1.5rem;
}

.about__experience {
    position: absolute;
    bottom: -1rem;
    right: -0.5rem;
    background: var(--accent);
    color: var(--text);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.about__exp-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1;
}

.about__exp-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.about__text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about__text strong {
    color: var(--text);
    font-weight: 600;
}

.values__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition);
}

.value-item:hover {
    box-shadow: var(--shadow);
}

.value-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(27, 77, 62, 0.08);
    color: var(--primary);
}

.value-item__icon svg {
    width: 20px;
    height: 20px;
}

.value-item h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
    color: var(--text);
}

.value-item p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---------- CTA PARALLAX ---------- */
.cta-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    text-align: center;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    z-index: 0;
}

.cta-section__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(212,168,67,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-section__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-section__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.cta-section__text {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

/* ---------- CONTACT ---------- */
.contact__layout {
    display: grid;
    gap: 2.5rem;
}

.contact__info .section__header {
    text-align: left;
    margin: 0 0 1.5rem;
    max-width: none;
}

.contact__details {
    display: grid;
    gap: 1.125rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.contact__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(27, 77, 62, 0.08);
    color: var(--primary);
}

.contact__icon svg {
    width: 20px;
    height: 20px;
}

.contact__item h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
    color: var(--text);
}

.contact__item p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact__item a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition);
}

.contact__item a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact__sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    transition: transform var(--transition), background var(--transition);
}

.contact__social a:hover {
    transform: translateY(-3px);
    background: var(--primary-light);
}

.contact__social a svg {
    width: 18px;
    height: 18px;
}

/* Contact form */
.contact__form-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.contact__form {
    display: grid;
    gap: 1.125rem;
}

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

.form__group {
    display: grid;
    gap: 0.375rem;
}

.form__label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--text);
}

.form__label span {
    color: var(--error);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.08);
    background: var(--surface);
}

.form__input.is-error,
.form__textarea.is-error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.08);
}

.form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235A5A5A' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
}

.form__checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form__checkmark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-top: 1px;
    position: relative;
    transition: all var(--transition);
}

.form__checkbox-label input:checked + .form__checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.form__checkbox-label input:checked + .form__checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form__checkbox-label input:focus + .form__checkmark {
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.08);
}

.form__link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

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

.form__error {
    font-size: 0.75rem;
    color: var(--error);
    min-height: 1rem;
    display: block;
}

.form__feedback {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form__feedback.is-success {
    display: block;
    background: rgba(46, 125, 50, 0.08);
    color: var(--success);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.form__feedback.is-error {
    display: block;
    background: rgba(198, 40, 40, 0.06);
    color: var(--error);
    border: 1px solid rgba(198, 40, 40, 0.15);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}

.footer a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer a:hover { color: var(--accent); }

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__brand .logo__brand,
.footer__brand .logo__tagline {
    color: #fff;
}

.footer__desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.75rem;
    max-width: 280px;
}

.footer__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: #fff;
    margin-bottom: 0.875rem;
}

.footer__links {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer__link {
    font-size: 0.875rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.footer__copy,
.footer__credit {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

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

@keyframes blobMove {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes scrollWheel {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================================================================
   RESPONSIVE — TABLET (768px+)
   ================================================================ */
@media (min-width: 768px) {
    .container { padding: 0 2rem; }
    .section { padding: 5rem 0; }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        z-index: auto;
    }

    .nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .nav__link {
        border-bottom: none;
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
    }

    .nav__link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width var(--transition), left var(--transition);
        border-radius: 2px;
    }

    .nav__link:hover::after,
    .nav__link.active::after {
        width: 60%;
        left: 20%;
    }

    .nav-toggle { display: none; }
    .nav-overlay { display: none !important; }

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

    .hero__visual {
        justify-items: end;
    }

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

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

    .about__layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .about__visual { order: 0; }

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

    .contact__layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

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

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }

    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }

    .cta-section { padding: 5rem 0; }
}

/* ================================================================
   RESPONSIVE — DESKTOP (1024px+)
   ================================================================ */
@media (min-width: 1024px) {
    .section { padding: 6rem 0; }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .process__step {
        padding-left: 0;
        padding-top: 3.5rem;
        text-align: center;
    }

    .process__number {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }

    .hero__title {
        font-size: clamp(2.75rem, 5vw, 3.75rem);
    }

    .contact__form-wrapper {
        padding: 2rem;
    }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
    .header, .hero__visual, .scroll-down, .back-to-top, .cta-section__bg, .nav-toggle, .contact__form-wrapper { display: none !important; }
    .hero { min-height: auto; padding: 2rem 0; }
    body { background: #fff; color: #000; }
    a { text-decoration: underline; }
}
