:root {
  --ink: #261d1f;
  --muted: #6f6567;
  --paper: #fbf8f4;
  --surface: #ffffff;
  --mist: #f2ebe7;
  --wine: #861811;
  --wine-dark: #66120e;
  --lavender: #be8de7;
  --gold: #c7a66a;
  --shadow-soft: 0 20px 55px rgba(39, 24, 21, .12);
  --shadow-tight: 0 12px 28px rgba(39, 24, 21, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: var(--wine);
}

a:hover {
  color: var(--wine-dark);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: .75rem;
  z-index: 2000;
  padding: .6rem .8rem;
  background: var(--wine);
  color: #fff;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(134, 24, 17, .08);
  box-shadow: 0 10px 30px rgba(38, 29, 31, .08);
  backdrop-filter: blur(18px);
}

.brand-lockup img {
  width: 150px;
  height: auto;
  display: block;
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .18rem rgba(134, 24, 17, .22);
}

.navbar-nav .nav-link {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-inline: .75rem;
  transition: color .2s ease, transform .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--wine);
}

.navbar-nav .nav-link:hover {
  transform: translateY(-1px);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  --bs-btn-bg: var(--wine);
  --bs-btn-border-color: var(--wine);
  --bs-btn-hover-bg: var(--wine-dark);
  --bs-btn-hover-border-color: var(--wine-dark);
  box-shadow: 0 12px 24px rgba(134, 24, 17, .22);
}

.btn-outline-primary {
  --bs-btn-color: var(--wine);
  --bs-btn-border-color: rgba(134, 24, 17, .35);
  --bs-btn-hover-bg: var(--wine);
  --bs-btn-hover-border-color: var(--wine);
  --bs-btn-hover-color: #fff;
  background: rgba(255, 255, 255, .62);
}

.nav-call {
  padding: .56rem 1.05rem;
}

.hero-section {
  position: relative;
  min-height: calc(78svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(28, 14, 16, .84) 0%, rgba(28, 14, 16, .58) 42%, rgba(28, 14, 16, .20) 100%),
    linear-gradient(0deg, rgba(28, 14, 16, .45), rgba(28, 14, 16, .06)),
    url("/cocheria/florida.jpg?v=202605231735");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-content {
  width: min(100%, 1180px);
  padding-block: clamp(4rem, 11vw, 8rem);
  animation: heroReveal .72s ease both;
}

.hero-logo {
  width: min(230px, 58vw);
  height: auto;
  margin-bottom: 1.3rem;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .28));
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-section h1,
.section-shell h2 {
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .01em;
}

.hero-section h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.65rem, 7.2vw, 5.65rem);
  font-weight: 300;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 620px;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, .88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.hero-points span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: .55rem .85rem;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  color: rgba(255, 255, 255, .94);
  font-size: .92rem;
  backdrop-filter: blur(10px);
}

.section-shell {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-muted {
  background:
    radial-gradient(circle at 10% 0%, rgba(190, 141, 231, .13), transparent 28rem),
    var(--mist);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section-heading.text-center {
  margin-inline: auto;
}

.section-shell h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 5vw, 4.4rem);
}

.intro-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro-copy {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, .65);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.intro-copy p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-switch,
.gallery-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.5rem;
}

.service-tab,
.gallery-tab {
  min-height: 44px;
  border: 1px solid rgba(134, 24, 17, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--muted);
  padding: .65rem 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.service-tab:hover,
.gallery-tab:hover,
.service-tab.is-active,
.gallery-tab.is-active {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 12px 24px rgba(134, 24, 17, .2);
  transform: translateY(-2px);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1.18fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
}

.service-copy,
.service-visual,
.map-frame,
.contact-actions {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
}

.service-copy {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.service-kicker {
  margin: 0 0 .55rem;
  color: var(--wine);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.service-copy h3 {
  margin: 0 0 1rem;
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.05;
}

.service-copy p:not(.service-kicker) {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-copy .btn {
  align-self: flex-start;
  margin-top: .65rem;
}

.service-visual {
  overflow: hidden;
  min-height: 360px;
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform .45s ease, opacity .25s ease;
}

.service-panel.is-changing .service-visual img,
.service-panel.is-changing .service-copy {
  opacity: .35;
}

.map-frame {
  overflow: hidden;
  border: 1px solid rgba(134, 24, 17, .08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(330px, 50vw, 520px);
  border: 0;
}

.gallery-panel {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.1rem);
}

.gallery-panel.is-active {
  display: grid;
  animation: panelIn .26s ease both;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow-tight);
  cursor: pointer;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .34));
  opacity: 0;
  transition: opacity .24s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.gallery-modal {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .4);
}

.gallery-modal .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

.gallery-modal img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(38, 29, 31, .94), rgba(82, 18, 15, .92)),
    url("/cocheria/Florida640.jpg?v=202605231735") center / cover;
  color: #fff;
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  gap: .85rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
}

.contact-link,
.group-link {
  display: block;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-link:hover,
.group-link:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.contact-link span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.group-link img {
  width: 150px;
  height: auto;
}

.site-footer {
  padding: 1.4rem 0;
  background: #1d1718;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .58s ease, transform .58s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 0, 0);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    backdrop-filter: none;
  }

  .navbar-collapse {
    padding: .8rem 0 1rem;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar-nav .nav-link {
    padding: .72rem 0;
  }

  .nav-call {
    width: 100%;
    margin-top: .4rem;
  }

  .intro-layout,
  .contact-layout,
  .service-panel {
    grid-template-columns: 1fr;
  }

  .service-copy,
  .service-visual,
  .service-visual img {
    min-height: 300px;
  }

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

@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 72px;
  }

  .brand-lockup img {
    width: 126px;
  }

  .hero-section {
    min-height: calc(82svh - 66px);
  }

  .hero-content {
    padding-block: 3.3rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points span {
    width: 100%;
    justify-content: center;
  }

  .service-switch,
  .gallery-switch {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery-panel {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
