/* Root + Reset
   -------------------------------------------------- */
:root {
    --color-bg: #020617;
    --color-surface: #0f172a;
    --color-text: #e5e7eb;
    --color-muted: #9ca3af;

    --color-primary: #2E8B57;   /* main green */
    --color-primary-soft: rgba(46, 139, 87, 0.85);
    --color-secondary: #FF7F50; /* coral */
    --color-secondary-soft: rgba(255, 127, 80, 0.9);

    --color-outline: #FF7F50;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-outline);
    outline-offset: 2px;
}

/* Layout helpers
   -------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.section {
    padding: 4rem 0;
}

.section--alt {
    background:
        radial-gradient(circle at top left, rgba(46, 139, 87, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(255, 127, 80, 0.12), transparent 55%);
}

.section--contact {
    background: linear-gradient(135deg, #020617, #0b1720);
}

.section__inner {
    display: grid;
    gap: 2.5rem;
}

.section__inner--split {
    align-items: center;
}

.section__header {
    text-align: left;
    margin-bottom: 2rem;
}

.section__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.section__lead {
    max-width: 38rem;
    color: var(--color-muted);
}

/* Skip link
   -------------------------------------------------- */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0.75rem;
    background: var(--color-secondary);
    color: #111827;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    z-index: 50;
}

.skip-link:focus {
    left: 0.75rem;
}

/* Header + Nav
   -------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.78));
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.75rem;
    gap: 1rem;
}

.site-header__branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.9rem;
    background: radial-gradient(circle at 20% 0%, var(--color-secondary), var(--color-primary));
    color: #111827;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.45);
}

.site-header__title {
    font-weight: 600;
    font-size: 0.95rem;
}

.site-header__subtitle {
    font-size: 0.75rem;
    color: var(--color-muted);
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 999px;
    cursor: pointer;
}

.site-nav__toggle-line {
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
}

/* Simple CSS-only mobile nav */
.site-nav__list {
    list-style: none;
    display: none;
    flex-direction: column;
    position: absolute;
    right: 1.25rem;
    top: 3.5rem;
    background: #020617;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
    min-width: 10rem;
}

.site-nav__list a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: #e5e7eb;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav__list a:hover {
    color: var(--color-secondary);
    transform: translateX(2px);
}

@media (min-width: 768px) {
    .site-nav__toggle {
        display: none;
    }
    .site-nav__list {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        border-radius: 999px;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 0.75rem;
    }
    .site-nav__list a {
        padding: 0.4rem 0.7rem;
        border-radius: 999px;
    }
    .site-nav__list a:hover {
        background: rgba(46, 139, 87, 0.18);
        transform: translateY(-1px);
    }
}

/* Hero
   -------------------------------------------------- */
.hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background:
        radial-gradient(circle at top left, rgba(46, 139, 87, 0.35), transparent 60%),
        radial-gradient(circle at bottom right, rgba(255, 127, 80, 0.18), transparent 60%);
}

.hero__inner {
    display: grid;
    gap: 3rem;
}

.hero__content {
    max-width: 36rem;
}

.hero__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 127, 80, 0.9);
    margin-bottom: 0.75rem;
}

.hero__title {
    font-size: clamp(2.1rem, 5vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero__title-highlight {
    background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.hero__subtitle {
    color: var(--color-muted);
    margin-bottom: 1.75rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.hero__meta span {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: rgba(15, 23, 42, 0.7);
}

/* Hero imagery */
.hero__image-wrap {
    position: relative;
    max-width: 24rem;
    margin-inline: auto;
}

.hero__image {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #020617;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.85);
    transform-origin: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero__image--main {
    aspect-ratio: 4 / 3;
}

.hero__image--secondary {
    position: absolute;
    bottom: -12%;
    right: -6%;
    width: 55%;
    aspect-ratio: 4 / 3;
    opacity: 0.95;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 127, 80, 0.8);
}

@media (min-width: 768px) {
    .hero {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }
    .hero__inner {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        align-items: center;
    }
}

/* Buttons
   -------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #0b1120;
    box-shadow: 0 16px 40px rgba(46, 139, 87, 0.4);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(46, 139, 87, 0.55);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--color-text);
}

.btn--ghost:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--color-secondary);
    color: #fefce8;
    transform: translateY(-1px);
}

.btn--full {
    width: 100%;
}

/* Cards + Grids
   -------------------------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2rem;
}

.cards-grid--products {
    margin-top: 2.25rem;
}

.card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.card__media {
    position: relative;
    overflow: hidden;
}

.card__media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.card__media--overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9), transparent 65%);
}

.card__body {
    padding: 1.25rem 1.35rem 1.3rem;
}

.card__title {
    font-size: 1.05rem;
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
}

.card__text {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 0.9rem;
}

.card__meta {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.card__link {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 500;
    position: relative;
}

.card__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: var(--color-secondary);
    transition: width 0.2s ease;
}

.card__link:hover::after {
    width: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 127, 80, 0.85);
    background:
        radial-gradient(circle at top left, rgba(46, 139, 87, 0.18), rgba(15, 23, 42, 0.98));
}

.card:hover .card__media img {
    transform: scale(1.06);
}

@media (min-width: 700px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* About
   -------------------------------------------------- */
.about__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.stat-card__number {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.stat-card__label {
    font-size: 0.8rem;
    margin: 0.2rem 0 0;
    color: var(--color-muted);
}

/* Media card */
.media-card {
    margin: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #020617;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.media-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.media-card figcaption {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Tags
   -------------------------------------------------- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tag-list__item {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Contact
   -------------------------------------------------- */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: grid;
    gap: 0.9rem;
}

.contact-list__label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
}

.contact-list a {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: rgba(148, 163, 184, 0.8);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.contact-list a:hover {
    color: var(--color-secondary);
    text-decoration-color: var(--color-secondary);
}

/* Form */
.contact-form {
    background: rgba(15, 23, 42, 0.97);
    border-radius: 1.25rem;
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.95);
}

.form-field {
    margin-bottom: 0.95rem;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: var(--color-text);
    font-size: 0.9rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #6b7280;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
    border-color: var(--color-secondary);
}

.contact-form__note {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.alert {
    padding: 0.65rem 0.85rem;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}

.alert--success {
    background: rgba(46, 139, 87, 0.18);
    border: 1px solid rgba(46, 139, 87, 0.75);
    color: #bbf7d0;
}

.alert--error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.55);
    color: #fecaca;
}

/* Footer
   -------------------------------------------------- */
.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.5rem 0 2rem;
    background: #020617;
}

.site-footer__inner {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.site-footer__meta {
    margin-top: 0.35rem;
}

/* Responsive layout tweaks
   -------------------------------------------------- */
@media (min-width: 768px) {
    .section__inner--split {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
}

@media (min-width: 900px) {
    .media-card img {
        height: 320px;
    }
}