/* Home — premium editorial hero */

:root {
  --gld-header-height: 3.75rem;
}

.gld-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--gld-header-height) + 1.25rem + env(safe-area-inset-top, 0px)) 0 2.75rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .gld-hero {
    padding: calc(var(--gld-header-height) + 2.5rem) 0 5rem;
  }
}

/* Full desktop: entire hero fits in one viewport */
@media (min-width: 1024px) {
  .gld-hero {
    --gld-hero-viewport: calc(100dvh - var(--gld-header-height));
    min-height: 100dvh;
    box-sizing: border-box;
    padding-top: calc(var(--gld-header-height) + 1rem);
    padding-bottom: 1.25rem;
    display: flex;
    align-items: center;
  }

  .gld-hero__inner {
    width: 100%;
    max-height: var(--gld-hero-viewport);
  }

  .gld-hero__grid {
    max-height: calc(var(--gld-hero-viewport) - 1rem);
    align-items: center;
  }

  .gld-hero__copy {
    max-height: calc(var(--gld-hero-viewport) - 1rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .gld-hero__title {
    margin-top: 0.65rem;
    font-size: clamp(2.35rem, 3.6vw, 3.65rem);
  }

  body.is-telugu .gld-hero__title {
    font-size: clamp(2.1rem, 3.2vw, 3.35rem);
  }

  .gld-hero__lead {
    margin-top: 0.65rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .gld-hero__actions {
    margin-top: 1.125rem;
    gap: 0.65rem;
  }

  .gld-hero__metrics {
    margin-top: 1.125rem;
    padding-top: 0.875rem;
  }

  .gld-hero__metric-value {
    font-size: clamp(1.15rem, 1.25vw, 1.5rem);
  }

  .gld-hero__visual {
    max-height: calc(var(--gld-hero-viewport) - 1rem);
    align-items: center;
  }

  .gld-hero__frame {
    max-height: calc(var(--gld-hero-viewport) - 1rem);
    width: auto;
    max-width: min(36rem, 42vw);
    height: 100%;
  }

  .gld-hero__card {
    display: flex;
    flex-direction: column;
    max-height: calc(var(--gld-hero-viewport) - 1rem);
    height: 100%;
  }

  .gld-hero__photo {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: auto;
    max-height: calc(var(--gld-hero-viewport) - 1rem - 3.25rem);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 10%;
  }
}

@media (min-width: 1280px) {
  .gld-hero__title {
    font-size: clamp(2.5rem, 3.8vw, 4rem);
  }
}

@media (max-height: 820px) and (min-width: 1024px) {
  .gld-hero {
    padding-top: calc(var(--gld-header-height) + 0.5rem);
    padding-bottom: 0.75rem;
  }

  .gld-hero__title {
    font-size: clamp(2rem, 3vw, 2.85rem);
  }

  .gld-hero__lead {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .gld-hero__actions {
    margin-top: 0.875rem;
  }

  .gld-hero__metrics {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
  }

  .gld-hero__metric-value {
    font-size: 1.2rem;
  }
}

.gld-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(15, 106, 96, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(180, 140, 60, 0.1), transparent 50%),
    linear-gradient(165deg, #f7faf9 0%, #faf8f4 42%, #f0f3ff 100%);
}

.gld-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(4, 16, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 16, 32, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  opacity: 0.35;
}

.gld-hero__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 0.75rem;
}

@media (min-width: 640px) {
  .gld-hero__inner {
    padding: 0 2rem;
  }
}

.gld-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .gld-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

/* Mobile: portrait first — use full content width */
.gld-hero__visual {
  order: -1;
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
}

@media (min-width: 1024px) {
  .gld-hero__visual {
    order: 0;
    justify-content: flex-end;
  }
}

.gld-hero__copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .gld-hero__copy {
    text-align: left;
  }
}

.gld-hero__eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(197, 198, 205, 0.5);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #44474c;
  box-shadow: 0 2px 12px rgba(4, 16, 32, 0.04);
  max-width: 100%;
  line-height: 1.45;
  text-align: left;
}

@media (min-width: 480px) {
  .gld-hero__eyebrow {
    border-radius: 9999px;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .gld-hero__eyebrow {
    display: inline-flex;
  }
}

.gld-hero__eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.2rem;
  border-radius: 9999px;
  background: #0f6a60;
  box-shadow: 0 0 0 4px rgba(15, 106, 96, 0.15);
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .gld-hero__eyebrow-dot {
    margin-top: 0;
  }
}

.gld-hero__title {
  margin-top: 1rem;
  font-size: clamp(2rem, 9vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #041020;
}

@media (min-width: 1024px) {
  .gld-hero__title {
    margin-top: 1.25rem;
  }
}

body.is-telugu .gld-hero__title {
  font-family: "Noto Sans Telugu", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(1.85rem, 8.5vw, 4.25rem);
}

.gld-hero__lead {
  margin-top: 0.875rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #44474c;
}

@media (min-width: 640px) {
  .gld-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-top: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .gld-hero__lead {
    margin-left: 0;
    margin-right: 0;
  }
}

body.is-telugu .gld-hero__lead {
  font-family: "Noto Sans Telugu", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.gld-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .gld-hero__actions {
    align-items: flex-start;
    margin-top: 1.75rem;
  }
}

.gld-hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}

@media (min-width: 480px) {
  .gld-hero__cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .gld-hero__cta-row {
    justify-content: flex-start;
  }
}

.gld-hero__btn-primary,
.gld-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
  .gld-hero__btn-primary,
  .gld-hero__btn-secondary {
    width: auto;
    min-width: 10.5rem;
  }
}

.gld-hero__btn-primary {
  background: #0f6a60;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 106, 96, 0.28);
  transition: background 0.15s ease, transform 0.12s ease;
}

.gld-hero__btn-primary:active {
  transform: scale(0.98);
}

.gld-hero__btn-primary:hover {
  background: #0a524a;
}

.gld-hero__btn-secondary {
  background: #fff;
  border: 1px solid rgba(197, 198, 205, 0.65);
  color: #041020;
}

.gld-hero__btn-icon {
  font-size: 1.125rem;
}

.gld-hero__trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #44474c;
}

@media (min-width: 1024px) {
  .gld-hero__trust {
    justify-content: flex-start;
  }
}

.gld-hero__trust-icon {
  font-size: 1.05rem;
  color: #0f6a60;
}

.gld-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 198, 205, 0.45);
  max-width: 100%;
}

@media (max-width: 1023px) {
  .gld-hero__metrics {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    column-gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gld-hero__metrics::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 1024px) {
  .gld-hero__metrics {
    gap: 0.75rem 1.5rem;
    margin-top: 1.125rem;
    padding-top: 0.875rem;
    max-width: none;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, max-content));
    justify-content: flex-start;
  }
}

.gld-hero__metrics > div {
  min-width: 0;
}

.gld-hero__metric-value {
  font-size: clamp(1.1rem, 4.2vw, 1.75rem);
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: #041020;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .gld-hero__metric-value {
    font-size: clamp(1.25rem, 1.35vw, 1.625rem);
  }
}

.gld-hero__metric-value--teal {
  color: #0f6a60;
}

.gld-hero__metric-value--gold {
  color: #9a7b2e;
}

.gld-hero__metric-label {
  margin-top: 0.2rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #74777f;
  line-height: 1.3;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .gld-hero__metric-label {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
  }
}

body.is-telugu .gld-hero__metric-label {
  font-family: "Noto Sans Telugu", system-ui, sans-serif;
  text-transform: none;
  font-size: 0.625rem;
}

.gld-hero__frame {
  position: relative;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .gld-hero__frame {
    max-width: 26rem;
  }
}

@media (min-width: 1024px) {
  .gld-hero__frame {
    width: 100%;
    max-width: 32rem;
  }
}

@media (min-width: 1280px) {
  .gld-hero__frame {
    max-width: 36rem;
  }
}

.gld-hero__glow {
  position: absolute;
  inset: -6%;
  background: linear-gradient(135deg, rgba(15, 106, 96, 0.25), rgba(212, 175, 90, 0.2));
  filter: blur(36px);
  border-radius: 2rem;
  opacity: 0.85;
}

.gld-hero__card {
  position: relative;
  border-radius: 1.375rem;
  overflow: hidden;
  background: linear-gradient(165deg, #f0f9f7 0%, #faf4ea 45%, #ecece8 100%);
  border: 1px solid rgba(197, 198, 205, 0.45);
  box-shadow:
    0 20px 48px rgba(4, 16, 32, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

@media (min-width: 1024px) {
  .gld-hero__card {
    border-radius: 1.75rem;
    box-shadow:
      0 28px 72px rgba(4, 16, 32, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  }
}

.gld-hero__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(52vh, 28rem);
  object-fit: cover;
  object-position: center 8%;
}

@media (min-width: 640px) {
  .gld-hero__photo {
    max-height: min(58vh, 32rem);
    aspect-ratio: 4 / 5;
  }
}

.gld-hero__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(197, 198, 205, 0.4);
}

@media (min-width: 1024px) {
  .gld-hero__caption {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
}

.gld-hero__caption-sub {
  display: none;
}

@media (min-width: 480px) {
  .gld-hero__caption-sub {
    display: block;
  }
}

.gld-hero__badge {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(15, 106, 96, 0.12);
  color: #0f6a60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .gld-hero__badge {
    width: 2.25rem;
    height: 2.25rem;
  }
}
