/* HERO — full-bleed image with text overlay on left (mobile + desktop) */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--color-bg);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--container-padding) 4rem;
  max-width: 640px;
  width: 100%;
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }
  /* Margin-left aligns the content with the container--wide left edge (max-width 1480 + clamp padding) so the copy lines up with the logo at any viewport width.
     Using margin (not padding) keeps the alignment offset OUTSIDE the max-width box — otherwise on 2000+ viewports the calc-based padding eats into the 640px max-width and forces text to wrap word-by-word. */
  .hero__content {
    padding: 8rem 4rem 6rem clamp(2rem, 6vw, 5rem);
    margin-left: max(0px, (100vw - 1480px) / 2);
  }
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--color-gold);
  margin-bottom: 0;
}

.hero__divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--color-gold);
  border: 0;
  margin: var(--space-5) 0 var(--space-5);
}

.hero__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-7);
  max-width: 30rem;
  font-weight: 300;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0c0a08;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}

/* Mobile: dark gradient over left side of full-bleed image so text overlay reads cleanly */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 9, 8, 0.95) 0%,
    rgba(10, 9, 8, 0.85) 30%,
    rgba(10, 9, 8, 0.55) 55%,
    rgba(10, 9, 8, 0.2) 80%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Bottom fade for legibility of buttons/scroll cue on mobile */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    rgba(10, 9, 8, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero__media {
    position: relative;
    inset: auto;
    grid-column: 2;
  }
  .hero__media img {
    object-position: center;
  }
  .hero__media::before {
    background: linear-gradient(
      to right,
      var(--color-bg) 0%,
      rgba(10, 9, 8, 0.95) 12%,
      rgba(10, 9, 8, 0.7) 30%,
      rgba(10, 9, 8, 0.35) 55%,
      transparent 90%
    );
  }
  .hero__media::after {
    background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(10, 9, 8, 0.45) 100%);
  }
  .hero__content {
    grid-column: 1;
  }
}

/* TRUST STRIP — 4 columns with thin gold dividers */
.trust {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 0;
  background: var(--color-bg);
}

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

@media (min-width: 720px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust__item {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5) clamp(1rem, 3vw, 2.5rem);
}

.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-gold-dim) 50%, transparent 100%);
  opacity: 0.6;
}

@media (max-width: 719px) {
  .trust__item:nth-child(odd) + .trust__item::before { left: 0; }
  .trust__item:nth-child(3)::before,
  .trust__item:nth-child(4)::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, var(--color-gold-dim) 50%, transparent 100%);
    opacity: 0.5;
    width: auto;
    bottom: auto;
  }
}

.trust__icon {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  stroke-width: 1;
}

.trust__title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.trust__text {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-weight: 300;
  max-width: 16rem;
}

/* ABOUT preview — image left, text right. Backgrounds match photo edge for seamless join. */
.about-preview {
  padding: 0;
  position: relative;
  background: #080c0f; /* sampled from dr-decio.png right-edge so both columns blend with the photo */
}

.about-preview__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 600px;
}

@media (min-width: 900px) {
  .about-preview__inner {
    grid-template-columns: 1fr 1.05fr;
  }
}

.about-preview__media {
  position: relative;
  overflow: hidden;
  background: #080c0f;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.96) contrast(1.05);
}

.about-preview__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 6vw, 5rem);
  background: #080c0f;
}

.about-preview__signature {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: var(--space-6) 0 var(--space-7);
  opacity: 0.95;
}

.about-preview__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: var(--space-4) 0 0;
}

.about-preview__title span { display: block; }

.about-preview__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-7);
  max-width: 32rem;
  font-weight: 300;
}

/* PROCEDURES — centered, horizontal icon row */
.procedures {
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.procedures__header {
  max-width: 56rem;
  margin: 0 auto var(--space-9);
}

.procedures__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0 0 var(--space-3);
  color: var(--color-text);
}

.procedures__subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.procedures__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
  max-width: 1320px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .procedures__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .procedures__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5) var(--space-4);
  }
}

.procedure-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}

.procedure-item__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--color-gold-dim);
  border-radius: 12px;
  overflow: hidden;
  background: #060504;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.procedure-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.procedure-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.18);
  pointer-events: none;
}

.procedure-item:hover .procedure-item__media {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px -12px rgba(201, 169, 110, 0.25);
}

.procedure-item:hover .procedure-item__label {
  color: var(--color-gold);
}

.procedure-item__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  line-height: 1.4;
  text-align: center;
  transition: color var(--transition);
}

.procedures__cta {
  margin-top: var(--space-8);
}

/* CASE MANAGER */
.case-manager {
  padding: 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.case-manager__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .case-manager__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    padding-top: 0; /* photo extends edge-to-edge on desktop */
  }
}

.case-manager__copy {
  max-width: 32rem;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.case-manager__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: var(--space-3) 0 var(--space-5);
  color: var(--color-text);
}

.case-manager__title span { display: block; }
.case-manager__title em { font-style: italic; }

.case-manager__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--color-gold);
  margin-bottom: var(--space-5);
  line-height: 1.5;
}

.case-manager__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.case-manager__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #060504;
  align-self: stretch;
}

@media (min-width: 900px) {
  .case-manager__media {
    aspect-ratio: auto;
    min-height: 600px;
  }
}

.case-manager__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Feature row */
.case-manager__features {
  list-style: none;
  margin: 0;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-7) 0;
}

@media (min-width: 720px) {
  .case-manager__features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-manager__feature {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
}

@media (min-width: 720px) {
  .case-manager__feature + .case-manager__feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-gold-dim) 50%, transparent 100%);
    opacity: 0.55;
  }
}

.case-manager__feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-4);
  display: block;
  /* Drops the icon's black background — black blends with the dark page bg, gold stays visible */
  mix-blend-mode: screen;
}

.case-manager__feature-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.case-manager__feature-text {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 14rem;
}

/* TRAVEL TO MIAMI */
.travel {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

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

.travel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.travel__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 9, 8, 0.94) 0%, rgba(10, 9, 8, 0.55) 60%, rgba(10, 9, 8, 0.4) 100%);
}

.travel__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.travel__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: var(--space-4) 0 0;
}

.travel__title span { display: block; }

.travel__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

/* TESTIMONIAL */
.testimonials {
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  background: var(--color-bg-elevated);
}

.testimonial { max-width: 50rem; margin: 0 auto; }

.testimonial__mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 0.5;
  display: block;
  margin-bottom: var(--space-4);
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 auto var(--space-6);
  max-width: 44rem;
}

.testimonial__stars {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 0.4em;
  margin-bottom: var(--space-3);
}

.testimonial__attr {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-text-muted);
  font-weight: 500;
}

.testimonial__cta { margin-top: var(--space-7); }

/* CONSULT CTA — moved to main.css since it's shared across all pages */
