/* Font Face - Butler (serif display font) */
@font-face {
  font-family: "Butler";
  src: url("assets/fonts/Butler.woff2") format("woff2"),
    url("assets/fonts/Butler.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Butler";
  src: url("assets/fonts/Butler-Light.woff2") format("woff2"),
    url("assets/fonts/Butler-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Butler";
  src: url("assets/fonts/Butler-Medium.woff2") format("woff2"),
    url("assets/fonts/Butler-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Butler";
  src: url("assets/fonts/Butler-Bold.woff2") format("woff2"),
    url("assets/fonts/Butler-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

/* CSS Variables */
:root {
  --color-bg: #1a1a1a;
  --color-white: #ffffff;
  --color-gold: #a97c50;
  --color-gold-light: #af875c;
  --color-text-light: #fff8f8;
  --font-display: "Butler", "Times New Roman", serif;
  --font-body: "Montserrat", sans-serif;

  /* Fluid Typography Scale */
  --text-sm: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  /* 14px → 16px */
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  /* 16px → 18px */
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  /* 18px → 24px */
  --text-xl: clamp(1.5rem, 1rem + 2vw, 3rem);
  /* 24px → 48px */
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.75rem);
  /* 32px → 60px */
  --text-3xl: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  /* 40px → 80px */
  --text-4xl: clamp(3rem, 2rem + 5vw, 6.25rem);
  /* 48px → 100px */
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  /* 16px base */
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/gold-lines-bg.svg");
  background-repeat: repeat-y;
  background-size: 100% auto;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: var(--color-white);
  text-decoration: underline;
}

a:hover {
  opacity: 0.8;
}

/* Typography */
.description-bold {
  font-weight: 600;
  margin-bottom: 0;
}

.italic {
  font-style: italic;
  font-weight: 300;
}

/* =================================
   Hero Section (Mobile-First)
   ================================= */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--color-white), var(--color-bg));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 100px;
}

.hero-video-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Adjust focal point: e.g., "70% center" for right side, "30% center" for left */
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(26, 26, 26, 0) 15.167%,
      #1a1a1a 96.611%);
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  z-index: 10;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* DUST Identity Logo - Top Right */
.hero-dust-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 55px;
  width: auto;
  z-index: 10;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.hero-dust-logo:hover {
  opacity: 1;
}

.hero-dust-logo img {
  height: 100%;
  width: auto;
  filter: invert(1) brightness(2);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 584px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1;
  color: var(--color-white);
  margin: 0;
}

.hero-description {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-light);
}

.hero-description p {
  margin-bottom: 0;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Second scroll indicator - only visible on desktop with absolute positioning */
.scroll-indicator-2 {
  display: none;
}

@media (min-width: 1200px) {
  .scroll-indicator-2 {
    display: flex;
  }
}

.scroll-indicator span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1.6px;
  color: var(--color-white);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background-color: var(--color-white);
  margin-top: 10px;
}

/* Hero - Tablet (768px+) */
@media (min-width: 768px) {
  .hero-section {
    padding: 100px 40px 120px;
  }

  .hero-logo {
    top: 30px;
    left: 40px;
    width: 70px;
    height: 70px;
  }

  .hero-dust-logo {
    top: 30px;
    right: 40px;
    height: 50px;
  }

  .hero-title {
    font-size: 70px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 28px;
  }

  .scroll-indicator span {
    font-size: 16px;
  }

  .scroll-line {
    height: 54px;
  }
}

/* Hero - Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero-section {
    height: 900px;
    min-height: 900px;
    padding: 0;
    justify-content: flex-start;
  }

  .hero-video-container {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: none;
  }

  .hero-logo {
    top: 34px;
    left: 81px;
    width: 85px;
    height: 85px;
  }

  .hero-dust-logo {
    top: 34px;
    right: 81px;
    height: 60px;
  }

  .hero-content {
    position: absolute;
    top: 331px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
  }

  .hero-title {
    font-size: 100px;
    line-height: 100px;
  }

  .hero-description {
    font-size: 18px;
    line-height: 30px;
  }

  .scroll-indicator {
    bottom: auto;
    top: 788px;
  }
}

/* =================================
   Bottle Section (Mobile-First)
   ================================= */
.bottle-section {
  position: relative;
  width: 100%;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Product Header */
.bottle-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.bottle-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1;
  color: var(--color-white);
  margin: 0;
}

.bottle-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  letter-spacing: 1.8px;
  color: var(--color-gold-light);
  margin: 0;
  text-transform: uppercase;
}

/* Hero Bottle */
.bottle-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottle-glow {
  position: absolute;
  width: 250px;
  height: 280px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(175, 135, 92, 0.1);
  border-radius: 150px;
  filter: blur(40px);
}

.bottle-shadow {
  position: absolute;
  width: 200px;
  height: 50px;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  background: #0f0f0f;
  border-radius: 500px;
  filter: blur(30px);
}

.bottle-image {
  position: relative;
  width: 120px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  z-index: 1;
}

/* Wine Story Blocks */
.bottle-story {
  font-size: var(--text-sm);
  line-height: 1.8;
  font-weight: 300;
  text-align: left;
  /* Left-aligned text for readability */
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  /* Center the container */
  padding: 0 20px;
  /* Equal padding on mobile */
  box-sizing: border-box;
}

.bottle-story--winemaker {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center the portrait */
  gap: 20px;
}

.bottle-story__text {
  text-align: left;
}

/* Portrait Image */
.portrait-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-white);
  flex-shrink: 0;
}

.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottle - Tablet (768px+) */
@media (min-width: 768px) {
  .bottle-section {
    padding: 60px 40px 80px;
    gap: 40px;
  }

  .bottle-glow {
    width: 350px;
    height: 380px;
  }

  .bottle-image {
    width: 140px;
    max-height: 450px;
  }

  .portrait-image {
    width: 120px;
    height: 120px;
  }

  .bottle-story {
    max-width: 600px;
  }
}

/* Bottle - Large Tablet (1024px+) - Enhanced stacked layout */
@media (min-width: 1024px) {
  .bottle-section {
    padding: 80px 60px 100px;
    gap: 50px;
  }

  .bottle-title {
    font-size: 60px;
    line-height: 1;
  }

  .bottle-subtitle {
    font-size: 16px;
  }

  .bottle-glow {
    width: 400px;
    height: 420px;
  }

  .bottle-image {
    width: 145px;
    max-height: 470px;
  }

  .bottle-story {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.75;
  }

  .portrait-image {
    width: 125px;
    height: 125px;
  }
}

/* Bottle - Desktop (1200px+) - Full absolute positioning layout */
@media (min-width: 1200px) {
  .bottle-section {
    display: block;
    min-height: 1000px;
    padding: 52px 0 0 0;
  }

  /* Header - Left side */
  .bottle-header {
    position: absolute;
    left: 83px;
    top: 159px;
    width: 521px;
    text-align: left;
  }

  .bottle-title {
    font-size: 80px;
    line-height: 65px;
  }

  .bottle-subtitle {
    font-size: 18px;
  }

  /* Bottle - Center */
  .bottle-container {
    position: absolute;
    left: 50%;
    top: 52px;
    transform: translateX(-50%);
  }

  .bottle-glow {
    width: 450px;
    height: 463px;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
  }

  .bottle-shadow {
    width: 305px;
    height: 81px;
    top: 421px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(50px);
  }

  .bottle-image {
    width: 149px;
    height: 476px;
    max-height: none;
  }

  /* Story: Origin - Left side below header */
  .bottle-story--origin {
    position: absolute;
    left: 121px;
    top: 280px;
    width: 459px;
    text-align: left;
    line-height: 28px;
    padding: 0;
  }

  /* Story: Aging - Center below bottle */
  .bottle-story--aging {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 570px;
    width: 581px;
    text-align: center;
    line-height: 28px;
    padding: 0;
  }

  /* Story: Winemaker - Right side */
  .bottle-story--winemaker {
    position: absolute;
    right: 80px;
    top: 111px;
    width: 431px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .bottle-story--winemaker .portrait-image {
    width: 130px;
    height: 130px;
  }

  .bottle-story__text {
    text-align: left;
    margin-top: 30px;
  }

  .scroll-indicator-2 {
    position: absolute;
    top: 812px;
  }
}

/* =================================
   Characteristics Section (Mobile-First)
   ================================= */
.characteristics-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
}

/* Section Header */
.characteristics-header {
  text-align: center;
  margin-bottom: 30px;
}

.characteristics-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
  margin: 0;
}

.characteristics-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-gold);
  margin: 10px 0 0 0;
}

/* Vineyard Gallery */
.characteristics-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--color-white);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item--hero {
  grid-column: 1 / -1;
  height: 250px;
}

.gallery-item--left,
.gallery-item--right {
  height: 150px;
}

/* Vintage Stories */
.characteristics-stories {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.vintage-story {
  font-size: var(--text-sm);
  line-height: 1.8;
  font-weight: 300;
  text-align: left;
  /* Left-aligned text for readability */
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  /* Center the container */
  padding: 0 20px;
  /* Equal padding on mobile */
  box-sizing: border-box;
}

.vintage-story p {
  margin: 0 0 10px 0;
}

.vintage-story p:last-child {
  margin-bottom: 0;
}

/* Characteristics - Tablet (768px+) */
@media (min-width: 768px) {
  .characteristics-section {
    padding: 80px 40px;
  }

  .characteristics-header {
    margin-bottom: 40px;
  }

  .characteristics-gallery {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto 50px;
  }

  .gallery-item--hero {
    grid-column: 2;
    grid-row: 1;
    height: 350px;
  }

  .gallery-item--left {
    grid-column: 1;
    height: 280px;
    align-self: center;
  }

  .gallery-item--right {
    grid-column: 3;
    height: 250px;
    align-self: center;
  }

  .characteristics-stories {
    max-width: 800px;
    margin: 0 auto;
    gap: 40px;
  }
}

/* Characteristics - Desktop (1024px+) */
@media (min-width: 1024px) {
  .characteristics-section {
    min-height: 1174px;
    padding: 100px 80px;
  }

  .characteristics-title,
  .characteristics-subtitle {
    font-size: 80px;
    line-height: 68px;
  }

  .characteristics-header {
    margin-bottom: 60px;
  }

  .characteristics-gallery {
    max-width: 1200px;
    gap: 20px;
    margin-bottom: 80px;
  }

  .gallery-item--hero {
    height: 457px;
  }

  .gallery-item--left {
    height: 354px;
  }

  .gallery-item--right {
    height: 316px;
  }

  /* Two-column layout for stories */
  .characteristics-stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 80px;
    /* Row gap 28px per Figma, column gap 80px */
    max-width: 1280px;
    align-items: start;
  }

  .vintage-story {
    line-height: 28px;
    padding: 0;
  }

  .vintage-story--weather {
    grid-column: 1;
    grid-row: 1 / 3;
    /* Span both rows to align with right column content */
  }

  .vintage-story--rainfall {
    grid-column: 2;
    grid-row: 1;
  }

  .vintage-story--harvest {
    grid-column: 2;
    grid-row: 2;
  }
}

/* =================================
   Tasting Notes Section (Mobile-First)
   ================================= */
.tasting-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
}

/* Section Header */
.tasting-header {
  text-align: center;
  margin-bottom: 30px;
}

.tasting-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
  margin: 0;
}

.tasting-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-gold);
  margin: 10px 0 0 0;
}

/* Tasting Content */
.tasting-content {
  font-size: var(--text-sm);
  line-height: 1.8;
  font-weight: 300;
  text-align: left;
  /* Left-aligned text for readability */
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
  /* Center container, space below */
  padding: 0 20px;
  /* Equal padding on mobile */
  box-sizing: border-box;
}

.tasting-content p {
  margin: 0 0 15px 0;
}

.tasting-content p:last-child {
  margin-bottom: 0;
}

/* Wine Glass Image (legacy) */
.tasting-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tasting-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Tasting Video (circular) */
.tasting-video {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tasting-video-player {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

/* Tasting - Tablet (768px+) */
@media (min-width: 768px) {
  .tasting-section {
    padding: 80px 40px;
  }

  .tasting-image {
    padding: 0;
    max-width: 500px;
  }

  .tasting-video {
    padding: 0;
    max-width: 400px;
  }
}

/* Tasting - Desktop (1024px+) */
@media (min-width: 1024px) {
  .tasting-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 40px 60px;
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
  }

  .tasting-header {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    margin-bottom: 0;
  }

  .tasting-title {
    font-size: 80px;
    line-height: 68px;
  }

  .tasting-subtitle {
    font-size: 80px;
    line-height: 68px;
    margin-left: 52px;
    /* Figma: Note at x=85, degustative at x=137 */
  }

  .tasting-content {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: none;
    padding: 0;
  }

  .tasting-image {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: center;
    align-self: center;
    max-width: none;
    padding: 0;
  }

  .tasting-image img {
    max-width: 500px;
  }

  .tasting-video {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: center;
    align-self: center;
    max-width: none;
    padding: 0;
  }

  .tasting-video-player {
    max-width: 500px;
  }
}

/* =================================
   DUST Identity Section (Mobile-First)
   ================================= */
.dust-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
}

.dust-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  text-align: center;
  margin: 0 0 40px 0;
}

.dust-title a {
  color: var(--color-white);
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.dust-title a:hover {
  color: var(--color-gold);
}

/* Links in certificate text */
.certificate-text a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease;
}

.certificate-text a:hover {
  color: var(--color-gold);
}

.certificate-serial-text, .certificate-bottle-text {
  font-weight: bold;
  color: black;
  font-size: var(--text-lg);
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
}
.dust-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

/* Certificate Card */
.dust-certificate {
  width: 100%;
}

.certificate-border {
  width: 100%;
  background-color: #e5ccad;
  border: 2px solid #a08060;
  border-radius: 0;
  padding: 20px;
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

/* Certificate Header - Matches Figma design */
.certificate-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

/* DUST Identity combined logo */
.header-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.certificate-x {
  font-family: var(--font-body);
  font-size: 14px;
  color: #231f20;
}

/* Right side: Monte-Alfina stamp badge + VENDEMMIA 2023 below */
.certificate-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.stamp-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.certificate-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.certificate-text p {
  margin: 0;
}

.certificate-text .italic {
  font-style: italic;
  font-weight: 300;
}

.certificate-italian {
  font-weight: 600;
  font-style: italic;
}

.certificate-english {
  font-style: italic;
  font-weight: 400;
}

/* Bottle Detail Image */
.dust-image {
  width: 100%;
}

.dust-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* DUST - Tablet (768px+) */
@media (min-width: 768px) {
  .dust-section {
    padding: 80px 40px;
  }

  .dust-title {
    margin-bottom: 60px;
  }

  .dust-content {
    gap: 40px;
    max-width: 700px;
  }

  .certificate-border {
    padding: 30px 40px;
  }

  .certificate-header {
    gap: 25px;
  }

  .header-logo {
    height: 55px;
  }

  .certificate-x {
    font-size: 22px;
  }

  .stamp-logo {
    height: 45px;
  }

  /* Bottle image - larger on mobile */
  .dust-image img {
    max-height: 500px;
    object-fit: cover;
  }
}

/* DUST - Desktop (1024px+) */
@media (min-width: 1024px) {
  .dust-section {
    padding: 67px 60px 100px;
  }

  .dust-title {
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 40px;
  }

  .dust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 49px;
    max-width: 1282px;
    margin: 0 auto;
  }

  .dust-certificate {
    width: 100%;
    display: flex;
  }

  .certificate-border {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 50px;
  }

  /* Certificate header - desktop sizes */
  .certificate-header {
    gap: 30px;
    margin-bottom: 30px;
  }

  .header-logo {
    height: 65px;
  }

  .certificate-x {
    font-size: 24px;
  }

  .stamp-logo {
    height: 42px;
  }

  /* Image container - position relative for absolute child */
  .dust-image {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
  }

  /* Image fills container without affecting grid row height */
  .dust-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 12px;
  }
}

/* DUST - XL Desktop (1440px+) - Exact Figma measurements */
@media (min-width: 1440px) {
  .dust-section {
    padding: 67px 79px 67px 78px;
  }

  .dust-title a {
    border-bottom: none;
  }

  .dust-content {
    grid-template-columns: 616.363px 617px;
  }

  .dust-certificate {
    display: flex;
  }

  .certificate-border {
    width: 100%;
    height: auto;
    padding: 40px 50px;
    border: none;
    overflow: hidden;
    gap: 14px;
  }

  .certificate-border::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(#a08060, #a08060) top / 100% 7.628px no-repeat,
      linear-gradient(#a08060, #a08060) bottom / 100% 7.628px no-repeat,
      linear-gradient(#a08060, #a08060) left / 7.248px 100% no-repeat,
      linear-gradient(#a08060, #a08060) right / 7.248px 100% no-repeat,
      linear-gradient(#a08060, #a08060) left 0 top 16.036px / 100% 1.902px no-repeat,
      linear-gradient(#a08060, #a08060) left 0 bottom 17.939px / 100% 1.902px no-repeat,
      linear-gradient(#a08060, #a08060) left 15.239px top / 1.812px 100% no-repeat,
      linear-gradient(#a08060, #a08060) right 15.239px top / 1.812px 100% no-repeat;
    pointer-events: none;
  }

  .header-logo {
    height: 65px;
  }

  .certificate-x {
    font-size: 22px;
    line-height: 1;
  }

  .certificate-stamp {
    display: flex;
    gap: 4px;
  }

  .stamp-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
  }

  .certificate-text {
    font-size: 18px;
    line-height: 1.4;
  }

  .certificate-text a {
    border-bottom: none;
    color: inherit;
  }

  .dust-image {
    height: 100%;
  }

  .dust-image img {
    border-radius: 0;
  }
}

/* =================================
   Footer - Mobile First (CSS Grid)
   ================================= */

/* Mobile Base - Stacked layout, map first */
.footer {
  background: var(--color-bg);
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Map appears first on mobile via order */
.footer-map {
  order: -1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: var(--color-gold);
  padding: 10px;
  border-radius: 4px;
}

.footer-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* Left column content - two columns for contact details */
.footer-info-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-logo {
  grid-column: 1 / -1;
  justify-self: center;
}

.footer-company {
  grid-column: 1 / -1;
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: 80px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-company h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-white);
  margin: 0;
}

.footer-address {
  font-size: 14px;
  line-height: 1.7;
}

.footer-address h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-gold);
  margin: 0 0 12px 0;
}

.footer-address p {
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-gold);
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.contact-item a,
.contact-item p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

/* Tablet (600px+) - Still stacked, larger padding */
@media (min-width: 600px) {
  .footer {
    padding: 50px 40px;
  }

  .footer-info-column {
    text-align: left;
  }

  .footer-logo {
    justify-self: start;
  }

  .footer-company {
    text-align: left;
  }
}

/* Medium screens (768px+) - Still stacked, two-column contact */
@media (min-width: 768px) {
  .footer {
    padding: 60px;
  }

  .footer-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .footer-map {
    max-width: 700px;
    margin: 0 auto;
  }

  .footer-logo {
    width: 85px;
    height: 85px;
  }

  .footer-company h4 {
    font-size: 18px;
  }

  .footer-address h5,
  .contact-item h5 {
    font-size: 18px;
  }

  .contact-item a,
  .contact-item p {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Large screens (1024px+) - Side by side: info | map */
@media (min-width: 1024px) {

  /* Side-by-side layout */
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 49px;
    max-width: 1282px;
  }

  .footer-map {
    order: 0;
    max-width: none;
    margin: 0;
    background: none;
    padding: 0;
    border-radius: 0;
    border: 10px solid var(--color-gold);
  }

  .footer-map img {
    width: 100%;
    height: auto;
  }

  /* Info column internal layout - two columns for address/contact */
  .footer-info-column {
    grid-template-columns: 1fr 1fr;
  }

  .footer-address {
    font-size: 14px;
    line-height: 24px;
  }

  .footer-address h5,
  .contact-item h5 {
    font-size: 18px;
  }

  .contact-item a,
  .contact-item p {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Desktop (1024px+) - Match DUST section alignment */
@media (min-width: 1024px) {
  .footer {
    padding: 67px 60px;
  }

  .footer-content {
    gap: 49px;
  }
}

/* XL Desktop (1440px+) - Exact Figma measurements */
@media (min-width: 1440px) {
  .footer {
    padding: 67px 79px;
  }

  .footer-content {
    grid-template-columns: 616px 617px;
  }


}
