/* ============================================
   The Eagles Nest — Styles
   Palette: Terracotta + Sand + Neutral
   ============================================ */

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

:root {
    --terra-50:  #fdf6ed;
    --terra-100: #f9e8d5;
    --terra-200: #f2d0b0;
    --terra-300: #e8b082;
    --terra-400: #d98f56;
    --terra-500: #c4763a;
    --terra-600: #b8572d;
    --terra-700: #a04524;
    --terra-800: #833821;
    --terra-900: #6b301d;

    --sand-50:  #fefcf9;
    --sand-100: #faf5ef;
    --sand-200: #f3e8d8;
    --sand-300: #e8d5bc;
    --sand-400: #d4ba96;
    --sand-500: #bfa078;
    --sand-600: #a48560;
    --sand-700: #866b4e;
    --sand-800: #6d5842;
    --sand-900: #5a4938;

    --neutral-50:  #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #eeeeee;
    --neutral-300: #e0e0e0;
    --neutral-400: #bdbdbd;
    --neutral-500: #9e9e9e;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;
    --neutral-950: #141414;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
    --shadow-xl: 0 20px 48px rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.08);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--sand-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--terra-600);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--terra-700); }

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--terra-600);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--terra-600);
    margin-bottom: .75rem;
}
.section-eyebrow--light { color: var(--terra-300); }

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-950);
    margin-bottom: 1.25rem;
}
.section-heading--light { color: var(--sand-50); }

.text-terracotta { color: var(--terra-600); }
.text-wheat { color: var(--terra-300); }

.section-header--center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn:focus-visible {
    outline: 3px solid var(--terra-400);
    outline-offset: 2px;
}

.btn--sm {
    padding: .5rem 1.125rem;
    font-size: .8125rem;
}
.btn--lg {
    padding: .875rem 1.75rem;
    font-size: 1rem;
}
.btn--full {
    width: 100%;
    padding: .875rem 1.5rem;
}

.btn--terracotta {
    background: var(--terra-600);
    color: #fff;
    border-color: var(--terra-600);
}
.btn--terracotta:hover {
    background: var(--terra-700);
    border-color: var(--terra-700);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.btn--outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,250,245,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-200);
    transition: box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar__inner {
    display: flex;
    align-items: center;
    height: 72px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: .625rem;
    text-decoration: none;
    color: var(--neutral-950);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}
.navbar__logo:hover { color: var(--terra-600); }

.navbar__logo-text {
    letter-spacing: -0.01em;
}

.navbar__list {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin-left: auto;
}

.navbar__link {
    padding: .5rem .875rem;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.navbar__link:hover {
    color: var(--terra-600);
    background: var(--terra-50);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    margin-left: auto;
}
.navbar__toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(2) {
    opacity: 0;
}
.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--neutral-950);
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20,20,20,.82) 0%,
        rgba(20,20,20,.65) 50%,
        rgba(184,87,45,.35) 100%
    );
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    padding: 8rem 1.5rem 5rem;
    max-width: 760px;
}
.hero__eyebrow {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--terra-300);
    margin-bottom: 1.25rem;
}
.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero__headline em {
    color: var(--terra-300);
    font-style: italic;
}
.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 580px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.hero__trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
}
.hero__trust-item svg {
    opacity: .9;
}

/* --- About --- */
.about {
    padding: 6rem 0;
    background: var(--sand-50);
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about__images {
    position: relative;
}
.about__img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__img-accent {
    position: absolute;
    bottom: -2rem;
    right: -1.5rem;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-50);
}
.about__img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__stamp {
    position: absolute;
    top: -1rem;
    right: 1.5rem;
    background: var(--terra-600);
    color: #fff;
    padding: .625rem 1rem;
    border-radius: var(--radius-md);
    font-size: .8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .375rem;
    box-shadow: var(--shadow-md);
}
.about__text p {
    color: var(--neutral-700);
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}
.about__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

/* --- Feature Card --- */
.feature-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sand-200);
    transition: all var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--terra-200);
}
.feature-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: var(--radius-sm);
}
.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--neutral-950);
    margin-bottom: .25rem;
}
.feature-card__desc {
    font-size: .9375rem;
    color: var(--neutral-600);
    line-height: 1.55;
}

/* --- Products --- */
.products {
    padding: 6rem 0;
    background: var(--neutral-100);
    position: relative;
    overflow: hidden;
}
.products__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(184,87,45,.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(184,87,45,.04) 0%, transparent 50%);
    pointer-events: none;
}
.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sand-200);
    transition: all var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.product-card__img-wrap {
    overflow: hidden;
    height: 220px;
}
.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card__img-wrap img {
    transform: scale(1.05);
}
.product-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .875rem;
}
.product-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: var(--radius-sm);
}
.product-card__title {
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--neutral-950);
}
.product-card__desc {
    font-size: .9375rem;
    color: var(--neutral-600);
    line-height: 1.65;
}

/* --- Quality --- */
.quality {
    padding: 6rem 0;
    background: var(--sand-50);
}
.quality__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.quality__text p {
    font-size: 1.0625rem;
    color: var(--neutral-700);
    margin-bottom: 2rem;
}
.quality__list {
    list-style: none;
    display: grid;
    gap: 1rem;
}
.quality__item {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    font-size: 1.0625rem;
    color: var(--neutral-700);
}
.quality__check {
    flex-shrink: 0;
    margin-top: 2px;
}
.quality__visual {
    position: relative;
}
.quality__img-stack {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.quality__img-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.quality__badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--terra-600);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    box-shadow: var(--shadow-lg);
}
.quality__badge-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}
.quality__badge-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .85;
}

/* --- Visit --- */
.visit {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.visit__bg {
    position: absolute;
    inset: 0;
}
.visit__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20,20,20,.85) 0%,
        rgba(107,48,29,.75) 100%
    );
}
.visit__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}
.visit__card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 640px;
    width: 100%;
}
.visit__details {
    display: grid;
    gap: 1.75rem;
    margin: 2.5rem 0;
}
.visit__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.visit__detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,87,45,.2);
    border-radius: var(--radius-sm);
}
.visit__detail-label {
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--terra-300);
    margin-bottom: .25rem;
}
.visit__detail-value {
    font-size: 1.0625rem;
    color: #fff;
    line-height: 1.6;
}
.visit__detail-value a {
    color: var(--terra-300);
}
.visit__detail-value a:hover {
    color: #fff;
}
.visit__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Contact --- */
.contact {
    padding: 6rem 0;
    background: var(--neutral-100);
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact__info p {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact__method {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--neutral-700);
    font-size: 1rem;
    text-decoration: none;
    transition: color var(--transition);
}
.contact__method:hover { color: var(--terra-600); }
.contact__method--static { cursor: default; }

/* --- Form --- */
.contact__form-wrap {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--sand-200);
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: .5rem;
}
.form-input,
.form-textarea {
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--font-body);
    font-size: .9375rem;
    color: var(--neutral-950);
    background: var(--sand-50);
    border: 1.5px solid var(--sand-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--terra-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(184,87,45,.12);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--neutral-400);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.contact__form-note {
    text-align: center;
    font-size: .8125rem;
    color: var(--neutral-500);
    margin-top: 1rem;
}
.contact__success {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.contact__success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-950);
}
.contact__success-text {
    color: var(--neutral-600);
    font-size: .9375rem;
}

/* --- Footer --- */
.footer {
    background: var(--neutral-950);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: .625rem;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.footer__logo:hover { color: var(--terra-300); }
.footer__tagline {
    font-size: .9375rem;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
    max-width: 300px;
}
.footer__heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}
.footer__list {
    list-style: none;
    display: grid;
    gap: .625rem;
}
.footer__list a {
    color: rgba(255,255,255,.55);
    font-size: .9375rem;
    transition: color var(--transition);
}
.footer__list a:hover { color: var(--terra-300); }
.footer__address {
    font-size: .9375rem;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
    font-style: normal;
}
.footer__phone {
    margin-top: .75rem;
}
.footer__phone a {
    color: var(--terra-400);
    font-weight: 600;
}
.footer__phone a:hover { color: var(--terra-300); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8125rem;
    color: rgba(255,255,255,.4);
}

/* --- Scroll Reveal (progressive enhancement) --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about__grid,
    .quality__grid,
    .contact__grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }
    .navbar__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,250,245,.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--sand-200);
        padding: 1rem 1.5rem 1.5rem;
        transform: translateY(-110%);
        opacity: 0;
        transition: all .3s cubic-bezier(.4,0,.2,1);
        pointer-events: none;
    }
    .navbar__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .navbar__list {
        flex-direction: column;
        gap: .25rem;
        width: 100%;
    }
    .navbar__link {
        width: 100%;
        padding: .75rem 1rem;
    }

    .hero__content {
        padding: 7rem 1.5rem 4rem;
    }
    .hero__actions {
        flex-direction: column;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about__grid,
    .quality__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about__img-accent {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 1rem;
        border: none;
    }
    .about__stamp {
        top: auto;
        bottom: -1rem;
        right: auto;
        left: 1rem;
    }

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

    .visit__card {
        padding: 2rem 1.5rem;
    }
    .visit__actions {
        flex-direction: column;
    }
    .visit__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer__bottom-inner {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero__content {
        padding: 6rem 1rem 3rem;
    }
    .hero__trust {
        gap: 1rem;
    }
    .contact__form-wrap {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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