:root {
  --navy: #ffffff;
  --deep: #f9f9f9;
  --blue: #111111;
  --steel: #333333;
  --silver: #666666;
  --mist: #444444;
  --frost: #e5e5e5;
  --white: #ffffff;
  --ivory: #f9f9f9;
  --charcoal: #111111;
  --gold: #111111;
  --gold-light: #333333;
  --text-dark: #111111;
  --text-mid: #333333;
  --text-light: #666666;
  --border: rgba(0, 0, 0, 0.1);
  --glass-shine: rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
.display {
  font-family: 'Cormorant Garamond', serif;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  line-height: 1.7;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  background: #ffffff;
  border-bottom: 1px solid var(--frost);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #111111;
  letter-spacing: 0.04em;
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-logo span {
  color: #666666;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  color: #444444;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #111111;
}

.nav-cta {
  margin-left: 36px;
  padding: 9px 22px;
  border: 1px solid #111111;
  color: #111111 !important;
  border-radius: 2px;
  letter-spacing: 0.1em;
  font-size: 0.78rem !important;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: #111111;
  color: #ffffff !important;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.hero-refraction {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 210, 240, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.refr-1 {
  width: 600px;
  height: 600px;
  right: -80px;
  top: -100px;
}

.refr-2 {
  width: 350px;
  height: 350px;
  right: 280px;
  bottom: -50px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.refr-3 {
  width: 180px;
  height: 180px;
  left: 10%;
  top: 30%;
  background: radial-gradient(circle, rgba(140, 175, 200, 0.1) 0%, transparent 70%);
}

.hero-pane {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 520px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #f9f9f9;
  overflow: hidden;
}

.hero-pane::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #111111;
}

.hero-pane-inner {
  position: absolute;
  inset: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    url('https://images.unsplash.com/photo-1602173574767-37ac01994b2a?w=800&q=80') center/cover no-repeat;
}

.hero-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
}

.hero-badge span {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.8;
  margin-top: 2px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-left: 120px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: #111111;
}

.hero-content h1 {
  color: #111111;
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: italic;
  color: #666666;
}

.hero-content p {
  color: #333333;
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 36px;
  background: #111111;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #333333;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  padding: 14px 36px;
  background: transparent;
  color: #111111;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #111111;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: #333333;
  background: rgba(0, 0, 0, 0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 120px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666666;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, #111111, transparent);
}

/* ─── SECTION COMMON ─── */
section {
  padding: 110px 120px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111111;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #111111;
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
  font-weight: 300;
}

/* ─── PRODUCTS ─── */
#products {
  background: #ffffff;
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.1);
  border-color: var(--silver);
}

.product-card:hover .product-img::after {
  opacity: 1;
}

.product-img {
  height: 280px;
  position: relative;
  overflow: hidden;
}

.product-hover-slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease;
}

.product-hover-slider img {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover .product-hover-slider {
  animation: swipeImages 4s infinite alternate ease-in-out;
}

@keyframes swipeImages {

  0%,
  20% {
    transform: translateX(0);
  }

  40%,
  60% {
    transform: translateX(-33.333%);
  }

  80%,
  100% {
    transform: translateX(-66.666%);
  }
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 0.3s;
}

/* ─── PRODUCT IMAGE MODAL ─── */
.img-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.img-modal {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: row;
}

.img-modal-overlay.open .img-modal {
  transform: scale(1);
}

.img-modal-left {
  flex: 1.2;
  position: relative;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.img-modal-right {
  flex: 0.8;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.img-modal-right h2 {
  font-size: 2.2rem;
  color: #111111;
  margin-bottom: 24px;
  line-height: 1.2;
}

.img-modal-right p {
  font-size: 1.05rem;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 300;
}

.img-modal-img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.img-modal img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.img-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: #111111;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10001;
}

.img-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.img-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #111111;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10002;
  user-select: none;
}

.img-modal-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.img-modal-prev {
  left: 24px;
}

.img-modal-next {
  right: 24px;
}

/* ─── PROCESS / WORKSHOP GALLERY ─── */
#process {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

#process::before {
  display: none;
}

#process .section-title {
  color: #111111;
}

.process-header {
  margin-bottom: 72px;
}

/* Workshop Gallery */
.workshop-gallery-wrap {
  position: relative;
  perspective: 1200px;
}

.workshop-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.wg-item {
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

.wg-item.center {
  width: 53%;
  aspect-ratio: 16/9;
  transform: scale(1.02) translateZ(50px);
  z-index: 10;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.wg-item.side {
  width: 25%;
  aspect-ratio: 16/9;
  opacity: 1;
  z-index: 5;
}

.wg-item.side-left {
  transform: rotateY(25deg) scale(0.85) translateX(-20px);
  transform-origin: center right;
}

.wg-item.side-right {
  transform: rotateY(-25deg) scale(0.85) translateX(20px);
  transform-origin: center left;
}

.wg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wg-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.wg-arrows {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.wg-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #111111;
  background: transparent;
  color: #111111;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.wg-arrow:hover {
  border-color: #333333;
  color: #333333;
  background: rgba(0, 0, 0, 0.05);
}

/* Slide-up info panel */
.wg-item-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 240, 240, 0.95);
  /* Soft grey background */
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 10;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Centered content */
  text-align: center;
}

.wg-item.show-panel .wg-item-panel {
  transform: translateY(0);
}

.wg-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #111111;
  margin-bottom: 6px;
}

.wg-item-desc {
  font-size: 0.88rem;
  color: #333333;
  font-weight: 300;
  line-height: 1.4;
}

/* ─── ABOUT ─── */
#about {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.about-badge {
  position: absolute;
  top: -40px;
  right: -40px;
  background: #ffffff;
  padding: 30px;
  border: 1px solid var(--frost);
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about-badge span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666666;
  margin-bottom: 8px;
}

.about-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: #111111;
  line-height: 1;
}

.about-content h2 em {
  font-style: italic;
  color: #666666;
}

.about-content p {
  color: #444444;
  margin-bottom: 40px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.af-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #111111;
}

.af-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
  font-weight: 300;
}

/* ─── CLIENTS / MAP ─── */
#clients {
  background: #f9f9f9;
}

.clients-header {
  text-align: center;
  margin-bottom: 80px;
}

.clients-header .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.export-map-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

/* Map Interaction Styles (Already handled in map section) */

/* ─── CONTACT ─── */
#contact {
  background: #ffffff;
  text-align: center;
}

#contact h2 {
  margin-bottom: 24px;
}

#contact h2 em {
  font-style: italic;
}

#contact p {
  max-width: 600px;
  margin: 0 auto 48px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 100px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.ci-item {
  padding: 40px;
  border: 1px solid var(--frost);
  border-radius: 4px;
  transition: transform 0.3s;
}

.ci-item:hover {
  transform: translateY(-8px);
}

.ci-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.ci-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666666;
  margin-bottom: 8px;
}

.ci-val {
  font-size: 1.1rem;
  color: #111111;
  font-weight: 500;
}

/* ─── MODAL (Simple cleanup) ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: #ffffff;
  width: 90%;
  max-width: 640px;
  border-radius: 4px;
  padding: 60px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-header h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.modal-header p {
  color: #666666;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--frost);
  border-radius: 2px;
  font-size: 1rem;
  background: #f9f9f9;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 20px;
}

/* ─── WHATSAPP BTN ─── */
.wa-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform 0.3s;
}

.wa-btn:hover {
  transform: scale(1.1);
}

.wa-btn svg {
  width: 32px;
  height: 32px;
}

.wa-tooltip {
  position: absolute;
  right: 80px;
  background: #111111;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.wa-btn:hover .wa-tooltip {
  opacity: 1;
}

/* ─── UTILS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Map specific from section */
.export-map-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.export-map-wrap path {
  fill: #e5e5e5 !important;
  transition: fill 0.3s ease;
}
.export-map-wrap path.export-country {
  fill: #a5d6a7 !important;
  cursor: pointer;
}
.export-map-wrap path.export-country:hover {
  fill: #81c784 !important; /* Slight hover effect */
}
.export-map-wrap path.export-country.active {
  fill: #2e7d32 !important;
}
#map-tooltip {
  position: absolute;
  background: #111;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
  white-space: nowrap;
  transform: translate(-50%, -100%);
  margin-top: -10px;
  font-family: inherit;
}
