/* Versiones monocromáticas sobre fondos oscuros; los archivos originales conservan sus colores. */
.brand-symbol, .brand-wordmark { filter: var(--brand-filter); }
section[id] { scroll-margin-top: 6rem; }
.glass-panel {
    background: var(--panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
}
.glass-card {
    background: var(--card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    border-color: rgba(0, 210, 255, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px -10px rgba(0, 210, 255, 0.25);
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgb(var(--navy-900));
}
::-webkit-scrollbar-thumb {
    background: var(--hover-surface);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.location-map {
    border: 0;
    filter: var(--map-filter);
}


/* Shared content pages: edit here to update every detail page. */
.page-container { max-width: 80rem; margin: auto; padding: 7.5rem 1.5rem 4rem; }
.page-intro { max-width: 52rem; padding: 2rem 0 3rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; }
.page-intro h1 { color: var(--ink); font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; margin: 1rem 0 1.5rem; }
.page-intro > p:last-child { font-size: 1.125rem; line-height: 1.8; color: var(--body); }
.content-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.content-section h2 { color: var(--ink); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.25rem; }
.content-section > p { max-width: 65ch; color: var(--body); line-height: 1.8; margin-bottom: 1rem; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.content-card { background: var(--content-card); border: 1px solid var(--border-soft); border-radius: 1rem; padding: 1.75rem; }
.content-card h3 { color: var(--ink); font-size: 1.125rem; font-weight: 700; margin-bottom: .75rem; }
.content-card p, .content-list { color: var(--body); font-size: .9375rem; line-height: 1.8; }
.content-link { display: inline-block; color: var(--accent); font-weight: 600; margin-top: 1rem; text-underline-offset: .3em; }
.content-link:hover { text-decoration: underline; }
.content-list { list-style: disc; padding-left: 1.25rem; }
.contact-callout { border-top: 1px solid var(--border-soft); margin-top: 2rem; }
[aria-current="page"] { text-decoration: underline; text-underline-offset: .4em; }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; transform: translateY(-200%); background: #00d2ff; color: #070f1e; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 639px) { .content-grid { grid-template-columns: 1fr; } .page-container { padding-left: 1rem; padding-right: 1rem; } }

/* Editorial photography: local responsive assets with reserved layout space. */
.page-intro.editorial-intro, .editorial-intro {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}
.intro-copy > p:last-child { color: var(--body); font-size: 1.0625rem; line-height: 1.8; }
.support-photo { margin: 0; min-width: 0; }
.support-photo img {
    display: block; width: 100%; height: auto; object-fit: cover;
    border-radius: 1rem; border: 1px solid rgba(255, 255, 255, .1);
}
.intro-photo img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.support-photo figcaption, .photo-note {
    font-size: .75rem; line-height: 1.6; color: var(--muted); margin-top: .75rem;
}
.content-card.image-card { overflow: hidden; }
.card-photo { margin: -1.75rem -1.75rem 1.5rem; }
.card-photo img { aspect-ratio: 16 / 9; border: 0; border-radius: 1rem 1rem 0 0; }
.contact-photo img { aspect-ratio: 16 / 9; }
.field-intro { margin-bottom: 2.5rem; }
@media (max-width: 1023px) {
    .page-intro.editorial-intro, .editorial-intro { grid-template-columns: 1fr; gap: 1.75rem; }
    .intro-photo img { aspect-ratio: 16 / 9; }
}

/* Section photography stays separate from uniform agricultural option cards. */
.section-photo { max-width: 60rem; margin: 2.5rem auto 0; }
.section-photo img { aspect-ratio: 21 / 9; }
.section-photo figcaption { text-align: center; }
@media (max-width: 639px) { .section-photo img { aspect-ratio: 16 / 9; } }

/* Shared service navigation; native disclosure works without JavaScript. */
.nav-group { position: relative; }
.nav-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; padding: .25rem 0; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary i { font-size: .65rem; }
.nav-group[open] > summary, .nav-group[data-active="true"] > summary { color: var(--accent); }
.nav-group[open] > summary i { transform: rotate(180deg); }
.nav-submenu { position: absolute; top: calc(100% + .75rem); left: -.75rem; width: 20rem; max-width: calc(100vw - 2rem); padding: .5rem; margin: 0; list-style: none; border: 1px solid var(--border-soft); border-radius: .875rem; background: rgb(var(--navy-800)); box-shadow: 0 16px 40px var(--shadow); }
.nav-submenu li { display: block; margin: 0; padding: 0; }
.nav-submenu li + li { border-top: 1px solid var(--border-soft); }
.nav-submenu a { display: flex; align-items: center; min-height: 3rem; padding: .875rem 1rem; white-space: normal; color: var(--body); border-radius: .5rem; font-size: .875rem; line-height: 1.4; }
.nav-submenu a:hover, .nav-submenu a:focus-visible, .nav-submenu a[aria-current="page"] { color: var(--accent); background: var(--hover-surface); text-decoration: none; }
.mobile-nav-group > summary { padding: .5rem .75rem; justify-content: space-between; }
.mobile-nav-group .nav-submenu { position: static; width: auto; margin: .25rem .75rem .5rem; border: 0; border-left: 2px solid var(--border-soft); border-radius: 0; box-shadow: none; }

/* Keep the dropdown list independent of navigation underline decoration. */
#main-header nav .nav-submenu a::after { content: none; }
.mobile-nav-group .nav-submenu a { min-height: 3.25rem; padding: .875rem 1rem; }
.brand-link { flex-shrink: 0; }

/* Three consolidated supply categories share the row on wide screens. */
@media (min-width: 1024px) { .supply-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
