/* ==========================================================================
   WORKPLACE BY IRSA — Shared Layout & Structure
   Structural CSS shared between Version A and Version B
   ========================================================================== */


/* ==========================================================================
   1. RESET & BASE ADDITIONS
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font: inherit;
}

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

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


/* ==========================================================================
   2. LAYOUT — Container & Section
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(var(--space-sm), 5vw, var(--space-xl));
  padding-right: clamp(var(--space-sm), 5vw, var(--space-xl));
}

.container--narrow {
  max-width: var(--max-width-narrow, 800px);
}

.container--wide {
  max-width: var(--max-width-wide, 1400px);
}

.section {
  padding-top: clamp(64px, 10vw, 128px);
  padding-bottom: clamp(64px, 10vw, 128px);
  position: relative;
}

.section--sm {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.section--lg {
  padding-top: clamp(96px, 14vw, 192px);
  padding-bottom: clamp(96px, 14vw, 192px);
}

/* Section background variants */
.section--light {
  background-color: var(--color-bg-secondary);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section--accent {
  background-color: var(--color-charcoal);
  color: var(--color-text-inverse);
}


/* ==========================================================================
   3. GRID UTILITIES
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--grid-gap, 24px);
}

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

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

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

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

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

.grid--gap-lg {
  gap: var(--grid-gap-lg, 48px);
}

.grid--align-center {
  align-items: center;
}

.grid--align-start {
  align-items: start;
}

/* Responsive grid collapse */
@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--2-1,
  .grid--1-2 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

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


/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky, 200);
  height: 80px;
  display: flex;
  align-items: center;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background-color: var(--color-navy);
  box-shadow: 0 2px 20px rgba(11, 29, 51, 0.3);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width-wide, 1400px);
  margin: 0 auto;
  padding: 0 clamp(var(--space-sm), 5vw, var(--space-xl));
}

.nav__logo {
  flex-shrink: 0;
  z-index: 10;
}

.nav__logo img,
.nav__logo svg {
  height: 36px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transition: color 0.25s ease;
  white-space: nowrap;
}

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

.nav__cta {
  flex-shrink: 0;
  z-index: 10;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger span + span {
  margin-top: 6px;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav {
    height: 64px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-navy);
    padding: 80px var(--space-lg) var(--space-xl);
    gap: var(--space-md);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
  }

  .nav__menu.open {
    transform: translateY(0);
  }

  .nav__link {
    font-size: var(--text-body);
  }

  .nav__cta {
    display: none;
  }

  .nav__cta--mobile {
    display: block;
    margin-top: var(--space-sm);
  }
}

@media (min-width: 769px) {
  .nav__cta--mobile {
    display: none;
  }
}


/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Default neutral bg — overridden per version */
  background-color: var(--color-navy);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 clamp(var(--space-sm), 5vw, var(--space-xl));
}

.hero__overline {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: var(--weight-light);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

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

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

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

@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 64px);
    min-height: 100svh;
  }

  .hero__title {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ==========================================================================
   7. SECTION HEADERS
   ========================================================================== */

.section-header {
  margin-bottom: clamp(var(--space-xl), 6vw, var(--space-3xl));
}

.section-header__overline {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
}

.section-header__subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: var(--max-width-text);
}

/* Dark sections */
.section--dark .section-header__overline {
  color: var(--color-gold-light);
}

.section--dark .section-header__title {
  color: var(--color-text-inverse);
}

.section--dark .section-header__subtitle {
  color: var(--color-warm-gray-300);
}

.section--accent .section-header__overline {
  color: var(--color-gold-light);
}

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

.section--accent .section-header__subtitle {
  color: var(--color-warm-gray-300);
}


/* ==========================================================================
   8. ESPACIOS (SPACES) — Card Grid
   ========================================================================== */

.espacios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap, 24px);
}

.espacio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.espacio-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-warm-gray-100);
}

.espacio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.espacio-card:hover .espacio-card__image img {
  transform: scale(1.05);
}

.espacio-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
}

.espacio-card__tag {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.espacio-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.espacio-card__desc {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-md);
  flex: 1;
}

.espacio-card__cta {
  margin-top: auto;
}

@media (max-width: 1024px) {
  .espacios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ==========================================================================
   9. EVENTOS (EVENTS) — Horizontal Scroll / Grid
   ========================================================================== */

.eventos-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--color-warm-gray-300) transparent;
}

.eventos-scroll::-webkit-scrollbar {
  height: 4px;
}

.eventos-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.eventos-scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-warm-gray-300);
  border-radius: 4px;
}

.evento-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.evento-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-warm-gray-100);
}

.evento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.evento-card:hover .evento-card__image img {
  transform: scale(1.05);
}

.evento-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.evento-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
}

.evento-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.evento-card__desc {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-md);
  flex: 1;
}

.evento-card__cta {
  margin-top: auto;
}

/* Large desktop: grid instead of scroll */
@media (min-width: 1280px) {
  .eventos-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .evento-card {
    flex: none;
  }
}

@media (max-width: 480px) {
  .evento-card {
    flex: 0 0 280px;
  }
}


/* ==========================================================================
   10. TESTIMONIALS — Carousel
   ========================================================================== */

.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 var(--space-sm);
}

.testimonial-card__inner {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: var(--weight-light);
  line-height: var(--leading-snug);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-warm-gray-200);
  flex-shrink: 0;
}

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

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
}

.testimonial-card__role {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-text-secondary);
}

/* Carousel controls */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-default);
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.testimonials__btn:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold-pale);
}

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

.testimonials__dots {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-warm-gray-300);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonials__dot.active {
  background-color: var(--color-gold);
  transform: scale(1.25);
}

/* Dark section variants */
.section--dark .testimonials__btn {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.section--dark .testimonials__btn:hover {
  border-color: var(--color-gold);
  background-color: rgba(184, 150, 90, 0.15);
}

.section--dark .testimonials__dot {
  background-color: rgba(255, 255, 255, 0.25);
}

.section--dark .testimonials__dot.active {
  background-color: var(--color-gold);
}

@media (max-width: 768px) {
  .testimonial-card__quote {
    font-size: var(--text-h4);
  }
}


/* ==========================================================================
   11. CONTACT FORM — 2-Column Layout
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap-lg, 48px);
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.contact__label {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
}

.contact__input,
.contact__textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  padding: 12px 16px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-text-primary);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  appearance: none;
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 90, 0.12);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: var(--color-text-tertiary);
}

.contact__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact__submit {
  align-self: flex-start;
}

/* Contact info column */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__info-item {
  display: flex;
  gap: var(--space-sm);
}

.contact__info-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.contact__info-label {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-2xs);
}

.contact__info-value {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Dark section form variants */
.section--dark .contact__input,
.section--dark .contact__textarea {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--color-text-inverse);
}

.section--dark .contact__input::placeholder,
.section--dark .contact__textarea::placeholder {
  color: var(--color-warm-gray-400);
}

.section--dark .contact__input:focus,
.section--dark .contact__textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 90, 0.2);
}

.section--dark .contact__label {
  color: var(--color-warm-gray-200);
}

.section--dark .contact__info-value {
  color: var(--color-warm-gray-300);
}

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

  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .contact__info {
    order: -1;
  }
}


/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.footer {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  background-color: var(--color-navy);
  color: var(--color-text-inverse);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--grid-gap-lg, 48px);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  margin-bottom: var(--space-md);
}

.footer__logo img,
.footer__logo svg {
  height: 32px;
  width: auto;
}

.footer__logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  letter-spacing: var(--tracking-wide);
}

.footer__tagline {
  font-size: var(--text-body-sm);
  color: var(--color-warm-gray-400);
  line-height: var(--leading-relaxed);
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__link {
  font-size: var(--text-body-sm);
  color: var(--color-warm-gray-400);
  transition: color 0.25s ease;
}

.footer__link:hover {
  color: var(--color-white);
}

/* Social icons */
.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-warm-gray-400);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.footer__social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgba(184, 150, 90, 0.1);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* Footer bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  font-size: var(--text-caption);
  color: var(--color-warm-gray-500);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.footer__legal a {
  font-size: var(--text-caption);
  color: var(--color-warm-gray-500);
  transition: color 0.25s ease;
}

.footer__legal a:hover {
  color: var(--color-warm-gray-200);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }
}


/* ==========================================================================
   13. RESPONSIVE BREAKPOINT UTILITIES
   ========================================================================== */

/* 480px — small mobile */
@media (max-width: 480px) {
  .section {
    padding-top: clamp(48px, 8vw, 80px);
    padding-bottom: clamp(48px, 8vw, 80px);
  }
}

/* 768px — tablet handled above in components */

/* 1024px — small desktop handled above */

/* 1280px — large desktop */
@media (min-width: 1280px) {
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
}


/* ==========================================================================
   14. ASPECT RATIO BOX (placeholder utility)
   ========================================================================== */

.aspect-ratio {
  position: relative;
  overflow: hidden;
  background-color: var(--color-warm-gray-100);
}

.aspect-ratio--16-10 {
  aspect-ratio: 16 / 10;
}

.aspect-ratio--16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-ratio--4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-ratio--1-1 {
  aspect-ratio: 1 / 1;
}

.aspect-ratio--3-4 {
  aspect-ratio: 3 / 4;
}

.aspect-ratio > img,
.aspect-ratio > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   15. IMAGE PLACEHOLDER (for development)
   ========================================================================== */

.img-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg,
      var(--color-warm-gray-100) 25%,
      var(--color-warm-gray-50) 50%,
      var(--color-warm-gray-100) 75%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-gray-400);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  letter-spacing: var(--tracking-wide);
}


/* ==========================================================================
   16. SCROLL PROGRESS BAR (optional)
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background-color: var(--color-gold);
  z-index: calc(var(--z-sticky, 200) + 1);
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
  width: 100%;
}


/* ==========================================================================
   17. LOGO PLACEHOLDERS (community section)
   ========================================================================== */

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 60px;
  background-color: var(--color-warm-gray-100);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-placeholder:hover {
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-sm);
}

.logo-placeholder span {
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  color: var(--color-warm-gray-400);
}


/* ==========================================================================
   18. CONTACT SUCCESS STATE
   ========================================================================== */

.contact__success {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: var(--weight-regular);
  color: var(--color-gold);
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.form-group.form-error .contact__input,
.form-group.form-error .contact__textarea {
  border-color: var(--color-error);
}

.form-group.form-error .contact__label {
  color: var(--color-error);
}


/* ==========================================================================
   19. BUTTON OUTLINE VARIANT
   ========================================================================== */

.btn--outline {
  background-color: transparent;
  border: 2px solid var(--color-border-default);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn--outline:hover {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.section--dark .btn--outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-warm-gray-200);
}

.section--dark .btn--outline:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}
