/* ========================================
   Bautizos La Guadalupana — Styles
   Vibrant modern | Emerald + Cream
   ======================================== */

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

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  --cream-50: #fffef9;
  --cream-100: #fefce8;
  --cream-200: #fef9c3;
  --cream-300: #fef08a;
  --cream-400: #fde68a;
  --cream-500: #f5f0e1;
  --cream-600: #e8e0cc;
  --cream-700: #c4b89a;
  --cream-800: #9c8e6e;
  --cream-900: #7a6e54;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(2, 44, 34, 0.08);
  --shadow-md: 0 4px 16px rgba(2, 44, 34, 0.1);
  --shadow-lg: 0 8px 32px rgba(2, 44, 34, 0.12);
  --shadow-xl: 0 16px 48px rgba(2, 44, 34, 0.15);
}

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

body {
  font-family: var(--font-body);
  color: var(--emerald-900);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTION UTILITY */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--emerald-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .text-emerald {
  color: var(--emerald-600);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--emerald-800);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-emerald { color: var(--emerald-600); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn--primary {
  background: var(--emerald-700);
  color: #fffef9;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3);
}

.btn--primary:hover {
  background: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.4);
}

.btn--outline {
  background: rgba(255, 254, 249, 0.15);
  color: #fffef9;
  border: 2px solid rgba(255, 254, 249, 0.4);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: rgba(255, 254, 249, 0.25);
  border-color: rgba(255, 254, 249, 0.7);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
  background: rgba(255, 254, 249, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(2, 44, 34, 0.08);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fffef9;
  transition: color 0.3s;
}

.nav.scrolled .nav-logo {
  color: var(--emerald-900);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  color: #fffef9;
  transition: color 0.3s;
}

.nav.scrolled .nav-logo-icon {
  color: var(--emerald-700);
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 254, 249, 0.85);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-400);
  transition: width 0.3s;
}

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

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

.nav.scrolled .nav-links a {
  color: var(--emerald-800);
}

.nav.scrolled .nav-links a:hover {
  color: var(--emerald-600);
}

.nav.scrolled .nav-links a::after {
  background: var(--emerald-500);
}

.nav-cta {
  background: rgba(255, 254, 249, 0.15);
  border: 1px solid rgba(255, 254, 249, 0.3);
  padding: 8px 20px !important;
  border-radius: 100px;
  transition: all 0.3s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: rgba(255, 254, 249, 0.25) !important;
}

.nav.scrolled .nav-cta {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  color: #fffef9 !important;
}

.nav.scrolled .nav-cta:hover {
  background: var(--emerald-800) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: 3px;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fffef9;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav.scrolled .nav-toggle span {
  background: var(--emerald-900);
}

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

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

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

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 25%, #047857 50%, #059669 75%, #10b981 100%);
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(16, 185, 129, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(110, 231, 183, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(2, 44, 34, 0.5) 0%, transparent 70%);
}

/* Geometric shapes */
.hero-geometric {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.geo-circle--1 {
  width: 600px;
  height: 600px;
  background: var(--emerald-300);
  top: -200px;
  right: -150px;
}

.geo-circle--2 {
  width: 400px;
  height: 400px;
  background: var(--cream-300);
  bottom: -100px;
  left: -100px;
  opacity: 0.06;
}

.geo-circle--3 {
  width: 200px;
  height: 200px;
  background: var(--emerald-200);
  top: 40%;
  left: 10%;
  opacity: 0.1;
}

.geo-diamond {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--cream-200);
  opacity: 0.07;
  top: 25%;
  right: 15%;
  transform: rotate(45deg);
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid var(--emerald-200);
  opacity: 0.08;
  bottom: 20%;
  right: 25%;
}

.geo-cross {
  position: absolute;
  opacity: 0.06;
  color: var(--cream-200);
}

.geo-cross svg {
  width: 48px;
  height: 48px;
}

.geo-cross--1 {
  top: 15%;
  left: 8%;
  transform: rotate(-15deg);
}

.geo-cross--2 {
  bottom: 25%;
  left: 5%;
  transform: rotate(10deg);
}

.geo-cross--3 {
  top: 60%;
  right: 8%;
  transform: rotate(-5deg);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-200);
  background: rgba(255, 254, 249, 0.1);
  border: 1px solid rgba(255, 254, 249, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fffef9;
  margin-bottom: 24px;
}

.hero-title .text-cream {
  color: var(--cream-100);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 254, 249, 0.8);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream-100);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 254, 249, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 254, 249, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 254, 249, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 254, 249, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--cream-50);
}

.about-geometric {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  pointer-events: none;
  overflow: hidden;
}

.geo-square {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--emerald-100);
  opacity: 0.3;
  top: -50px;
  right: -50px;
  transform: rotate(15deg);
}

.geo-circle-sm {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--emerald-200);
  opacity: 0.2;
  bottom: 40px;
  right: 60px;
  border-radius: 50%;
}

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

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

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/7;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--emerald-600);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.2;
}

.about-content {
  padding: 16px 0;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--emerald-800);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
}

.about-feature strong {
  display: block;
  font-size: 1rem;
  color: var(--emerald-900);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.9375rem;
  color: var(--emerald-700);
  line-height: 1.6;
}

/* ========================================
   COLLECTION
   ======================================== */
.collection {
  background: var(--emerald-900);
  position: relative;
}

.collection-geometric {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.geo-triangle--rev {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 138px solid rgba(255, 254, 249, 0.03);
  bottom: 10%;
  left: 5%;
  transform: rotate(180deg);
}

.geo-circle--sm {
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 50%;
  top: -80px;
  right: -80px;
}

.collection .section-tag {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald-300);
}

.collection .section-title {
  color: #fffef9;
}

.collection .section-sub {
  color: rgba(255, 254, 249, 0.6);
}

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

.collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background: rgba(255, 254, 249, 0.05);
  border: 1px solid rgba(255, 254, 249, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.collection-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.collection-card:hover .collection-card-bg {
  opacity: 1;
}

.collection-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
}

.collection-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-300);
  margin-bottom: 20px;
}

.collection-card-icon svg {
  width: 28px;
  height: 28px;
}

.collection-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fffef9;
  margin-bottom: 10px;
}

.collection-card p {
  font-size: 0.9375rem;
  color: rgba(255, 254, 249, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.collection-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--emerald-400);
  transition: gap 0.3s;
}

.collection-card:hover .collection-card-link {
  gap: 10px;
}

.collection-card-link svg {
  width: 16px;
  height: 16px;
}

.collection-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  background: var(--cream-100);
}

.gallery-geometric {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  pointer-events: none;
  overflow: hidden;
}

.geo-circle--alt {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--emerald-100);
  opacity: 0.4;
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.gallery-item--large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/7;
}

.gallery-item:not(.gallery-item--large) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.gallery-item--wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2/1;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 44, 34, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius-lg);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 32px;
  height: 32px;
  color: #fffef9;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: var(--cream-50);
}

.testimonials-geometric {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.geo-square--rotated {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--emerald-50);
  opacity: 0.5;
  bottom: -100px;
  left: -100px;
  transform: rotate(30deg);
  border-radius: var(--radius-lg);
}

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

.testimonial-card {
  position: relative;
  background: var(--cream-50);
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.25);
}

.testimonial-card-accent {
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
  border-radius: 0 0 4px 4px;
}

.testimonial-quote {
  margin-bottom: 20px;
  color: var(--emerald-400);
}

.testimonial-quote svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--emerald-800);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  color: var(--emerald-600);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--emerald-900);
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--emerald-600);
}

/* ========================================
   VISIT
   ======================================== */
.visit {
  background: var(--cream-100);
}

.visit-geometric {
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 350px;
  pointer-events: none;
  overflow: hidden;
}

.geo-diamond--alt {
  position: absolute;
  width: 160px;
  height: 160px;
  background: var(--emerald-200);
  opacity: 0.2;
  top: -40px;
  right: 60px;
  transform: rotate(45deg);
}

.geo-circle--alt2 {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--emerald-100);
  opacity: 0.3;
  bottom: 40px;
  right: 120px;
  border-radius: 50%;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.visit-text {
  font-size: 1.0625rem;
  color: var(--emerald-800);
  line-height: 1.8;
  margin-bottom: 32px;
}

.visit-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visit-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.visit-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
}

.visit-info-icon svg {
  width: 22px;
  height: 22px;
}

.visit-info-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--emerald-900);
  margin-bottom: 2px;
}

.visit-info-item p {
  font-size: 0.9375rem;
  color: var(--emerald-700);
  line-height: 1.6;
}

.visit-info-item a {
  color: var(--emerald-600);
  transition: color 0.3s;
}

.visit-info-item a:hover {
  color: var(--emerald-800);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fffef9;
}

.visit-map iframe {
  width: 100%;
  height: 500px;
  display: block;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: linear-gradient(135deg, #022c22 0%, #047857 50%, #059669 100%);
  position: relative;
}

.contact-geometric {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo-circle--big {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  bottom: -250px;
  right: -150px;
}

.contact .section-tag {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald-300);
}

.contact .section-title {
  color: #fffef9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-text {
  font-size: 1.0625rem;
  color: rgba(255, 254, 249, 0.75);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 254, 249, 0.06);
  border: 1px solid rgba(255, 254, 249, 0.12);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.contact-direct-item:hover {
  background: rgba(255, 254, 249, 0.1);
  border-color: rgba(255, 254, 249, 0.2);
  transform: translateX(4px);
}

.contact-direct-icon {
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-300);
  flex-shrink: 0;
}

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

.contact-direct-item strong {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 254, 249, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-direct-item span {
  font-size: 1rem;
  color: #fffef9;
  font-weight: 600;
}

/* Contact form */
.contact-form-wrap {
  background: rgba(255, 254, 249, 0.06);
  border: 1px solid rgba(255, 254, 249, 0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 254, 249, 0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 254, 249, 0.08);
  border: 1px solid rgba(255, 254, 249, 0.15);
  border-radius: var(--radius-sm);
  color: #fffef9;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 254, 249, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-400);
  background: rgba(255, 254, 249, 0.12);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,254,249,0.5)' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--emerald-900);
  color: #fffef9;
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--emerald-400);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fffef9;
  margin-bottom: 8px;
}

.form-success p {
  color: rgba(255, 254, 249, 0.6);
  font-size: 0.9375rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--emerald-950);
  color: rgba(255, 254, 249, 0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 254, 249, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fffef9;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  color: var(--emerald-400);
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255, 254, 249, 0.5);
}

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

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 254, 249, 0.5);
  transition: color 0.3s;
}

.footer-contact-link:hover {
  color: var(--emerald-400);
}

.footer-contact-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fffef9;
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-hours ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav ul a {
  font-size: 0.9375rem;
  color: rgba(255, 254, 249, 0.5);
  transition: color 0.3s;
}

.footer-nav ul a:hover {
  color: var(--emerald-400);
}

.hours-day {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 254, 249, 0.5);
}

.hours-time {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 254, 249, 0.7);
  font-weight: 600;
}

.footer-newsletter {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 254, 249, 0.08);
}

.footer-newsletter h4 {
  margin-bottom: 8px;
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: rgba(255, 254, 249, 0.4);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 254, 249, 0.06);
  border: 1px solid rgba(255, 254, 249, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 254, 249, 0.5);
  transition: all 0.3s;
}

.footer-social-link:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  color: #fffef9;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255, 254, 249, 0.3);
}

.footer-bottom a {
  color: rgba(255, 254, 249, 0.4);
  transition: color 0.3s;
}

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

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-grid,
  .visit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

  .gallery-item--large {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .gallery-item--large img {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(2, 44, 34, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: rgba(255, 254, 249, 0.85) !important;
    font-size: 1.125rem;
  }

  .nav-links a:hover {
    color: #fffef9 !important;
  }

  .nav.scrolled .nav-links {
    background: rgba(255, 254, 249, 0.98);
  }

  .nav.scrolled .nav-links a {
    color: var(--emerald-800) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 24px;
  }

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

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

  .gallery-item--large {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .collection-card-content {
    padding: 24px;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }
}
