/* ========================================
   ANA BARCELÓ PELUQUEROS — STYLES
   ======================================== */

/* --- CSS Variables --- */
:root {
    --coral: #E8735A;
    --coral-light: #F4A08E;
    --coral-dark: #D4543A;
    --coral-pale: #FDF0EC;
    --charcoal: #2D2D2D;
    --charcoal-light: #4A4A4A;
    --charcoal-lighter: #6B6B6B;
    --cream: #FDF8F5;
    --cream-dark: #F7EDE6;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #DDDDDD;
    --gray-400: #AAAAAA;
    --gray-500: #888888;
    --shadow-sm: 0 1px 3px rgba(45, 45, 45, 0.06), 0 1px 2px rgba(45, 45, 45, 0.04);
    --shadow-md: 0 4px 16px rgba(45, 45, 45, 0.08), 0 2px 4px rgba(45, 45, 45, 0.04);
    --shadow-lg: 0 12px 40px rgba(45, 45, 45, 0.12), 0 4px 12px rgba(45, 45, 45, 0.06);
    --shadow-xl: 0 24px 60px rgba(45, 45, 45, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --nav-width: 220px;
    --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: 20px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

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

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

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--coral);
    border-radius: 1px;
}

.section-label.light {
    color: rgba(255, 255, 255, 0.8);
}

.section-label.light::before {
    background: rgba(255, 255, 255, 0.6);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--charcoal-lighter);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--coral {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(232, 115, 90, 0.35);
}

.btn--coral:hover {
    background: var(--coral-dark);
    box-shadow: 0 6px 24px rgba(232, 115, 90, 0.45);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--charcoal);
    box-shadow: var(--shadow-md);
}

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

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

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

/* ========================================
   SIDE NAVIGATION
   ======================================== */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width);
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 24px;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.side-nav__brand {
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 28px;
}

.side-nav__logo {
    margin-bottom: 12px;
}

.side-nav__name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.3;
}

.side-nav__tagline {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-top: 4px;
}

.side-nav__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.side-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal-lighter);
    transition: all var(--transition);
}

.side-nav__link svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.side-nav__link:hover {
    background: var(--coral-pale);
    color: var(--coral);
}

.side-nav__link:hover svg {
    opacity: 1;
}

.side-nav__link.active {
    background: var(--coral-pale);
    color: var(--coral);
    font-weight: 600;
}

.side-nav__link.active svg {
    opacity: 1;
}

.side-nav__contact {
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.side-nav__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--charcoal-light);
    transition: color var(--transition);
}

.side-nav__phone:hover {
    color: var(--coral);
}

/* ========================================
   MOBILE TOGGLE
   ======================================== */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

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

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 45, 45, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.visible {
    opacity: 1;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    margin-left: var(--nav-width);
    min-height: 100vh;
}

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

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

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

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 45, 45, 0.72) 0%,
        rgba(45, 45, 45, 0.45) 50%,
        rgba(45, 45, 45, 0.25) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-left: 80px;
    padding: 0 24px;
    animation: heroFadeUp 1s ease forwards;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    margin-bottom: 28px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: calc(var(--nav-width) + 40px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about__img-main:hover img {
    transform: scale(1.03);
}

.about__img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
}

.about__img-secondary img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.about__experience {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--coral);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 8px 32px rgba(232, 115, 90, 0.4);
}

.about__experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
}

.about__experience-text {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 4px;
}

.about__content {
    padding: 20px 0;
}

.about__text {
    font-size: 1rem;
    color: var(--charcoal-lighter);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

.about__feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--coral-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: 120px 0;
    background: var(--cream);
}

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card__img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 45, 45, 0.4);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover .service-card__overlay {
    opacity: 1;
}

.service-card__body {
    padding: 24px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.88rem;
    color: var(--charcoal-lighter);
    line-height: 1.7;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

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

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    height: 420px;
}

.gallery__item--wide {
    grid-column: 5 / 13;
    grid-row: 2 / 3;
    height: 280px;
}

.gallery__item:not(.gallery__item--large):not(.gallery__item--wide) {
    height: 200px;
}

.gallery__item:not(.gallery__item--large):not(.gallery__item--wide) img {
    height: 200px;
}

/* ========================================
   CTA
   ======================================== */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

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

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 45, 45, 0.82) 0%,
        rgba(45, 45, 45, 0.65) 100%
    );
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta__content .section-title {
    margin-bottom: 20px;
}

.cta__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact__text {
    font-size: 1rem;
    color: var(--charcoal-lighter);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact__detail {
    display: flex;
    gap: 16px;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--coral-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact__detail span,
.contact__detail a {
    display: block;
    font-size: 0.88rem;
    color: var(--charcoal-lighter);
    line-height: 1.6;
}

.contact__detail a:hover {
    color: var(--coral);
}

.contact__form-wrap {
    position: relative;
}

.contact__form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}

.contact__form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.contact__form-subtitle {
    font-size: 0.88rem;
    color: var(--charcoal-lighter);
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--charcoal);
    background: var(--off-white);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--coral);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(232, 115, 90, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--coral-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--charcoal-lighter);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 32px;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

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

.footer__logo {
    flex-shrink: 0;
}

.footer__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.footer__links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    :root {
        --nav-width: 190px;
    }
}

@media (max-width: 1024px) {
    .side-nav {
        transform: translateX(-100%);
        transition: transform var(--transition);
    }

    .side-nav.open {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-overlay {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .hero__content {
        margin-left: 0;
        padding: 0 24px;
        margin-top: 80px;
    }

    .hero__scroll {
        left: 24px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about__img-secondary {
        right: 20px;
        bottom: -20px;
        width: 180px;
    }

    .about__experience {
        right: 0;
        top: -10px;
    }

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

    .gallery__item--large {
        grid-column: 1 / 7;
        height: 320px;
    }

    .gallery__item--wide {
        grid-column: 1 / 13;
        height: 240px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

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

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

    .gallery__item--large {
        grid-column: 1 / -1;
        height: 260px;
    }

    .gallery__item--wide {
        grid-column: 1 / -1;
        height: 200px;
    }

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

    .contact__form-card {
        padding: 28px;
    }

    .footer__top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item--large,
    .gallery__item--wide {
        grid-column: 1 / -1;
    }

    .gallery__item--large {
        height: 220px;
    }

    .gallery__item--wide {
        height: 200px;
    }

    .gallery__item:not(.gallery__item--large):not(.gallery__item--wide) {
        grid-column: 1 / -1;
    }
}
