/* ============================================================
   JEEVA FENCING COMPANY — STYLE.CSS
   Organized by section. Edit CSS variables at the top to
   rebrand the entire site instantly.
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES (BRAND COLORS & SETTINGS)
   ============================================================ */
:root {
  /* — Brand Colors from Logo — */
  --color-primary:    #004b5e;   /* Professional Deep Teal/Navy from shield */
  --color-primary-dark: #003144;
  --color-primary-light: #006f8a;
  --color-accent:     #39b54a;   /* Vibrant Green from logo center */
  --color-accent-dark: #2d8a2d;
  --color-secondary:  #00d2ff;   /* Bright Cyan highlight from logo borders */
  --color-whatsapp:   #25D366;

  /* — Neutral Colors — */
  --color-bg:         #f0f7f9;   /* Cool light blue-white */
  --color-white:      #ffffff;
  --color-dark:       #001f29;   /* Very dark teal-black */
  --color-gray-1:     #e2edf0;
  --color-gray-2:     #ccdce0;
  --color-gray-3:     #8ca3a8;
  --color-text:       #1a2b33;   /* Deep slate with blue undertones */
  --color-text-light: #526770;

  /* — Typography — */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* — Spacing — */
  --section-py:   5rem;
  --container-w:  1160px;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  /* — Shadows — */
  --shadow-sm: 0 2px 8px rgba(0,43,54,0.08);
  --shadow-md: 0 6px 24px rgba(0,43,54,0.12);
  --shadow-lg: 0 16px 48px rgba(0,43,54,0.15);

  /* — Transitions — */
  --transition: 0.28s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

ul { list-style: none; }

/* ============================================================
   3. TOP BAR
   ============================================================ */
.top-bar {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.top-bar-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-tag {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-bar-text {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-text .highlight {
  color: var(--color-secondary);
  font-weight: 700;
}

.top-bar-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.top-bar-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.toggle-icon {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

/* Expanded state for mobile */
.top-bar.is-expanded {
  height: auto !important;
}

.top-bar.is-expanded .toggle-icon {
  transform: rotate(180deg);
}

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 75, 94, 0.1);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-light);
  max-width: 580px;
  margin-inline: auto;
  font-size: 1.05rem;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 75, 94, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
}
.btn-whatsapp:hover {
  background: #1aab52;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: var(--radius-sm);
}
.btn-sm:hover {
  background: var(--color-primary);
  color: white;
}

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

/* ============================================================
   5. FLOATING BUTTONS
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  color: white;
}

.float-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.whatsapp-btn { background: var(--color-whatsapp); }
.call-btn { background: var(--color-primary); }

/* ============================================================
   6. NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-2);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.nav-container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background-color: rgba(0, 210, 255, 0.1);
  border: 1.5px solid var(--color-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-link:hover {
  background-color: var(--color-secondary);
  color: var(--color-dark);
}

.nav-link.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary) !important;
  color: white !important;
  border: 1.5px solid var(--color-primary) !important;
  padding: 0.45rem 1.1rem;
}
.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  min-height: calc(100vh - 68px);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-dark) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  gap: 3rem;
  padding: 4rem 5vw;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 1px,
      transparent 0,
      transparent 50%
    );
  background-size: 20px 20px;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,210,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,210,255,0.15);
  border: 1px solid rgba(0,210,255,0.3);
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-accent {
  color: var(--color-accent);
  font-style: italic;
}

.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-visual {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 680px;
  display: flex;
  justify-content: center;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  display: inline-flex;
}

.hero-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   8. WHY CHOOSE US
   ============================================================ */
.why-us {
  padding: var(--section-py) 0;
  background: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--color-bg);
  border: 1px solid var(--color-gray-2);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.93rem;
  color: var(--color-text-light);
}

/* ============================================================
   9. ABOUT
   ============================================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

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

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

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1.5rem;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-secondary);
}

.about-content .section-tag { margin-bottom: 0.75rem; }
.about-content .section-title { text-align: left; margin-bottom: 1rem; }

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.about-list {
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-list li {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ============================================================
   10. PRODUCTS / SERVICES
   ============================================================ */
.products {
  padding: var(--section-py) 0;
  background: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
}

.product-body {
  padding: 1.4rem;
}

.product-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.product-body p {
  font-size: 0.91rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ============================================================
   11. GALLERY
   ============================================================ */
.gallery {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 75, 94, 0.85) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-overlay span {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  border-left: 3px solid var(--color-secondary);
  padding-left: 0.75rem;
}

.gallery-cta {
  text-align: center;
  padding: 1rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ============================================================
   12. TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--color-primary-dark);
}

.testimonials .section-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}

.testimonials .section-title { color: white; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), background var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.11);
}

.stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.05em;
}

.testimonial-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: white;
  font-size: 0.9rem;
}

.testimonial-author span {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

/* ============================================================
   13. FAQ
   ============================================================ */
.faq {
  padding: var(--section-py) 0;
  background: var(--color-white);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-gray-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: background var(--transition), color var(--transition);
}

.faq-item.open .faq-question {
  background: var(--color-primary);
  color: white;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform var(--transition);
  color: var(--color-primary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
}

.faq-answer p {
  padding: 1.1rem 1.4rem;
  color: var(--color-text-light);
  font-size: 0.93rem;
  line-height: 1.7;
  background: var(--color-gray-1);
}

/* ============================================================
   14. CONTACT
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

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

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-2);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-gray-2);
}

.contact-detail {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-3);
  margin-bottom: 0.2rem;
}

.contact-detail p, .contact-detail a {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-detail a:hover { color: var(--color-primary); }

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-gray-2);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-gray-2);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--color-gray-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,92,56,0.1);
}

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

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #edfbf1;
  border: 1px solid #a3e6b5;
  border-radius: var(--radius-sm);
  color: #1a6b35;
  font-size: 0.93rem;
  font-weight: 500;
}

/* Map */
.map-wrap {
  margin-top: 1rem;
}

.map-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-gray-2);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: white;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition);
}

.footer-social a[aria-label="Facebook"] {
  background: #1877F2;
}

.footer-social a[aria-label="WhatsApp"] {
  background: #25D366;
}

.footer-social a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social a:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links h4 { margin-bottom: 1rem; }

.footer-links a {
  display: inline-block;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.footer-links a:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 0.87rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
  margin-left: 0.2rem;
}

.footer-contact a:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   16. RESPONSIVE — TABLET (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-py: 3.5rem; }

  /* Navbar Mobile Menu */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    border-top: 1px solid var(--color-gray-2);
    border-bottom: 3px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 800;
    gap: 0.25rem;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  /* Nav toggle animation */
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    min-height: auto;
  }

  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 100%; }
  .hero-img-badge { right: auto; left: 1rem; }

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

  .about-badge { right: 0; }
  .about-img { height: 320px; }
  .about-content .section-title { text-align: center; }
  .about-content .section-tag { display: block; text-align: center; }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 1; }
}

/* ============================================================
   17. RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-py: 2.5rem; }

  /* Hero */
  .hero-title { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }

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

  /* Contact */
  .contact-buttons { flex-direction: column; }
  .contact-buttons .btn { width: 100%; justify-content: center; }

  /* About */
  .about-badge { position: static; margin-top: 0.75rem; display: inline-block; }

  /* Fix: Remove unnecessary top bar / extra strip */
  .hero-badge { display: none !important; }
  
  /* Ensure navbar is pinned to the top */
  .navbar { top: 0 !important; }

  /* Top Bar Mobile Adjustments */
  .top-bar {
    max-height: 40px; /* Condensed height */
    padding: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .top-bar-container {
    height: 40px;
    padding: 0 1rem;
  }

  .top-bar-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.75rem 0;
  }

  .top-bar-toggle {
    display: flex;
    margin-left: auto;
  }

  /* Expanded State */
  .top-bar.is-expanded {
    max-height: 120px;
  }

  .top-bar.is-expanded .top-bar-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
