/* ============================================
   CORDAMI di Alessandro del Prete
   Custom Stylesheet - Mobile First v2
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy: #1B3A5C;
  --navy-dark: #0A1E33;
  --blue: #2E6BAD;
  --azure: #4A90D9;
  --light-blue: #B8D4F0;
  --ice: #E8F1FA;
  --white: #FFFFFF;
  --gray-50: #FAFBFD;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-600: #64748B;
  --gray-800: #1E293B;
  --accent: #C9A84C;
  --accent-light: rgba(201,168,76,0.15);
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 1px 3px rgba(27,58,92,0.06);
  --shadow-md: 0 4px 16px rgba(27,58,92,0.1);
  --shadow-lg: 0 12px 40px rgba(27,58,92,0.15);
  --shadow-xl: 0 20px 60px rgba(10,30,51,0.25);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--azure);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

h2.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5em;
  position: relative;
  letter-spacing: -0.02em;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent);
  margin: 14px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1rem;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 1px 20px rgba(27,58,92,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo svg {
  width: 44px;
  height: 44px;
}

.nav-logo span {
  line-height: 1.1;
}

.nav-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--navy);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  transition: background var(--transition);
}

.lang-switch:hover {
  background: var(--blue);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 600;
}

.mobile-menu .lang-switch {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 8px 24px;
}

/* ============================================
   HERO - Cinematic minimal style
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding-top: 70px;
}

/* Photo background with dark overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg__image {
  position: absolute;
  inset: 0;
  background-image: url('../assets/header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* slow subtle zoom */
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,30,51,0.82) 0%, rgba(10,30,51,0.55) 55%, rgba(10,30,51,0.4) 100%);
}

.hero-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 30% 50%, transparent 0%, rgba(10,30,51,0.5) 100%);
  pointer-events: none;
}

.hero-bg__glow {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 50%, transparent);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 3rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: #D9B85E;
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

/* Rope decorative pattern */
.hero-decoration {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  max-width: 400px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* --- About Section --- */
.about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent);
  margin-top: 14px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.about-visual {
  position: relative;
}

.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  min-height: 360px;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 51, 0.20);
  pointer-events: none;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 6rem 0;
  background: var(--gray-50);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card::after {
  content: var(--detail-label, 'Dettagli');
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition);
}

.product-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.product-image {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-body {
  padding: 1.3rem 1.5rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-weight: 700;
}

.product-body p {
  color: var(--gray-600);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.6;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-tag {
  background: var(--gray-100);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ============================================
   PRODUCT MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,30,51,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
  color: var(--gray-600);
}

.modal-close:hover {
  background: var(--navy);
  color: var(--white);
}

/* Modal carousel */
.modal-carousel {
  position: relative;
  height: 200px;
  background: var(--gray-100);
  overflow: hidden;
}

.modal-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.modal-carousel__slide.active {
  opacity: 1;
  z-index: 2;
}

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

.modal-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 3;
  box-shadow: var(--shadow-md);
}

.modal-carousel__btn:hover {
  background: var(--white);
  color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.modal-carousel__btn--prev { left: 12px; }
.modal-carousel__btn--next { right: 12px; }

.modal-carousel__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.modal-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.modal-carousel__dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

.modal-carousel__counter {
  position: absolute;
  top: 12px;
  right: 60px;
  background: rgba(10,30,51,0.7);
  color: var(--white);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 3;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.modal-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 2rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.5) 30px,
      rgba(255,255,255,0.5) 31px
    );
}

.modal-header-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.modal-icon {
  font-size: 3rem;
  background: rgba(255,255,255,0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.modal-header .modal-cat {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}

.modal-body {
  padding: 2rem;
}

.modal-section {
  margin-bottom: 1.8rem;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-600);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.modal-description {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.8;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.modal-spec {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.modal-spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 2px;
}

.modal-spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.modal-uses {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.modal-uses li {
  font-size: 0.9rem;
  color: var(--gray-800);
  padding: 8px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--azure);
  line-height: 1.5;
}

.modal-curiosity {
  background: linear-gradient(135deg, var(--accent-light), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--gray-800);
  line-height: 1.7;
  font-style: italic;
}

.modal-curiosity strong {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.modal-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.modal-cta .btn {
  font-size: 0.8rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item-text span,
.contact-item-text a {
  font-size: 0.92rem;
  color: var(--gray-600);
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.map-wrapper iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  color: var(--accent);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.5);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--navy-dark);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger animation for product cards */
.product-card.fade-in:nth-child(2) { transition-delay: 0.05s; }
.product-card.fade-in:nth-child(3) { transition-delay: 0.1s; }
.product-card.fade-in:nth-child(4) { transition-delay: 0.15s; }
.product-card.fade-in:nth-child(5) { transition-delay: 0.2s; }
.product-card.fade-in:nth-child(6) { transition-delay: 0.25s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .modal-uses {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .map-wrapper iframe {
    height: 300px;
  }

  .modal {
    max-height: 85vh;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

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

  h2.section-title {
    font-size: 2.6rem;
  }
}

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

/* --- Print --- */
@media print {
  .header, .back-to-top, .hero-decoration, .hamburger, .modal-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    color: #000;
  }
}
