/* BAS Agros — Travosmesi.
   Extends the accepted annual/perennial dark-gold forage system without inventing a product grid. */

.page-travosmesi {
  background:#050605;
  color:var(--ivory,#f4efdd);
}

.page-travosmesi main {
  overflow:hidden;
  background:#050605;
}

.travosmesi-hero-stage .annual-hero-media img {
  object-position:center 56%;
}

.travosmesi-selection {
  padding:clamp(3rem,4vw,4.3rem) 0 clamp(2.6rem,3.4vw,3.6rem)!important;
  border-top:1px solid rgba(232,197,109,.1);
  background:
    radial-gradient(circle at 80% 0,rgba(201,151,45,.065),transparent 28rem),
    #070907;
}

.travosmesi-section-head {
  margin-bottom:1.7rem;
}

.travosmesi-section-head h2 {
  max-width:14ch;
}

.travosmesi-intent-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}

.travosmesi-intent-card {
  min-width:0;
}

.travosmesi-intent-card>a {
  position:relative;
  isolation:isolate;
  display:block;
  min-height:31rem;
  overflow:hidden;
  border:1px solid rgba(232,197,109,.24);
  border-radius:1.35rem;
  background:#0a0c09;
  color:#f4efdd;
  text-decoration:none;
  box-shadow:0 1.2rem 3.2rem rgba(0,0,0,.24);
  transition:transform .45s cubic-bezier(.2,.75,.2,1),border-color .35s ease,box-shadow .45s ease;
}

.travosmesi-intent-card>a:hover,
.travosmesi-intent-card>a:focus-visible {
  transform:translateY(-4px);
  border-color:rgba(239,199,98,.78);
  box-shadow:0 1.7rem 4rem rgba(0,0,0,.34),0 0 0 1px rgba(239,199,98,.08);
}

.travosmesi-intent-media {
  position:absolute;
  inset:0;
  z-index:-3;
}

.travosmesi-intent-media picture,
.travosmesi-intent-media img {
  width:100%;
  height:100%;
}

.travosmesi-intent-media img {
  object-fit:cover;
  filter:saturate(.72) contrast(1.04) brightness(.7);
  transition:transform .65s cubic-bezier(.2,.75,.2,1),filter .4s ease;
}

.travosmesi-intent-card>a:hover .travosmesi-intent-media img,
.travosmesi-intent-card>a:focus-visible .travosmesi-intent-media img {
  transform:scale(1.045);
  filter:saturate(.9) contrast(1.05) brightness(.75);
}

.travosmesi-intent-shade {
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(0deg,rgba(3,5,3,.98) 0%,rgba(3,5,3,.9) 34%,rgba(3,5,3,.38) 72%,rgba(3,5,3,.15) 100%),
    linear-gradient(140deg,rgba(201,151,45,.12),transparent 52%);
}

.travosmesi-intent-card>a::after {
  content:"";
  position:absolute;
  z-index:-1;
  top:-70%;
  bottom:-70%;
  left:-35%;
  width:24%;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,248,215,.24),transparent);
  transform:rotate(18deg) translateX(-260%);
  transition:transform 1s cubic-bezier(.18,.75,.22,1),opacity .25s ease;
  pointer-events:none;
}

.travosmesi-intent-card>a:hover::after,
.travosmesi-intent-card>a:focus-visible::after {
  opacity:.6;
  transform:rotate(18deg) translateX(680%);
}

.travosmesi-intent-copy {
  position:absolute;
  right:1.35rem;
  bottom:1.35rem;
  left:1.35rem;
  z-index:2;
}

.travosmesi-intent-copy .home-kicker {
  margin-bottom:.75rem;
}

.travosmesi-intent-copy h3 {
  margin:0 0 .75rem;
  max-width:12ch;
  color:#fffaf0;
  font-size:clamp(2rem,3vw,3.35rem);
  line-height:.94;
  letter-spacing:-.045em;
  text-transform:uppercase;
}

.travosmesi-intent-copy>p:not(.home-kicker) {
  max-width:29rem;
  margin:0 0 1.15rem;
  color:rgba(244,239,221,.66);
  line-height:1.55;
}

.travosmesi-intent-copy .home-text-link {
  display:inline-flex;
  color:#efc762;
}

.travosmesi-parameters {
  border-top:1px solid rgba(232,197,109,.1);
}

.travosmesi-process-visual .annual-selection-media img {
  object-position:center 54%;
}

.travosmesi-related {
  border-top:1px solid rgba(232,197,109,.08);
  padding-top:clamp(2rem,2.8vw,3rem);
}

.page-travosmesi .travosmesi-faq,
.page-travosmesi .travosmesi-request {
  border-top:1px solid rgba(232,197,109,.1);
}

@media (max-width:79.99rem) {
  .travosmesi-intent-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .travosmesi-intent-card:last-child {
    grid-column:1 / -1;
  }

  .travosmesi-intent-card:last-child>a {
    min-height:24rem;
  }
}

@media (max-width:63.99rem) {
  .travosmesi-intent-grid {
    grid-template-columns:1fr;
  }

  .travosmesi-intent-card:last-child {
    grid-column:auto;
  }

  .travosmesi-intent-card>a,
  .travosmesi-intent-card:last-child>a {
    min-height:27rem;
  }
}

@media (max-width:47.99rem) {
  .page-travosmesi .travosmesi-selection {
    padding:2.7rem 0 2.4rem!important;
  }

  .travosmesi-section-head {
    margin-bottom:1.2rem;
  }

  .travosmesi-section-head h2 {
    max-width:11ch;
  }

  .travosmesi-intent-grid {
    gap:.75rem;
  }

  .travosmesi-intent-card>a,
  .travosmesi-intent-card:last-child>a {
    min-height:24rem;
    border-radius:1.2rem;
  }

  .travosmesi-intent-copy {
    right:1rem;
    bottom:1rem;
    left:1rem;
  }

  .travosmesi-intent-copy h3 {
    font-size:clamp(2rem,10vw,3rem);
  }

  .travosmesi-intent-copy>p:not(.home-kicker) {
    font-size:.84rem;
  }

  .travosmesi-hero-stage .annual-hero-media img {
    object-position:58% center;
  }

  .travosmesi-related {
    padding-top:1.5rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .travosmesi-intent-card>a,
  .travosmesi-intent-media img,
  .travosmesi-intent-card>a::after {
    transition-duration:.01ms!important;
  }
}


@media (min-width:64rem) {
  /* Desktop polish: slightly more compact task cards with aligned copy rhythm. */
  .travosmesi-intent-card>a {
    min-height:27.5rem;
  }

  .travosmesi-intent-copy {
    right:1.2rem;
    bottom:1.2rem;
    left:1.2rem;
  }

  .travosmesi-intent-copy .home-kicker {
    margin-bottom:.6rem;
  }

  .travosmesi-intent-copy h3 {
    max-width:15ch;
    min-height:1.9em;
    margin-bottom:.55rem;
    font-size:clamp(1.75rem,2.25vw,2.65rem);
    line-height:.96;
  }

  .travosmesi-intent-copy>p:not(.home-kicker) {
    min-height:3.15em;
    margin-bottom:.85rem;
    font-size:.88rem;
    line-height:1.45;
  }

  /* FAQ and lead form share one desktop grid, so their right columns start
     on the same vertical guide. */
  .page-travosmesi .home-faq-grid,
  .page-travosmesi .home-request-grid {
    grid-template-columns:minmax(0,4fr) minmax(0,8fr)!important;
    gap:clamp(3rem,5vw,5rem)!important;
    align-items:start!important;
  }
}
