/* ============================================
   JJireh Solutions Corp - Styles
   ============================================ */

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

:root {
  --gold: #B8953F;
  --gold-light: #d4af5a;
  --gold-dark: #8a6e2f;
  --green-dark: #2D5A27;
  --green-mid: #3A7D32;
  --green-light: #5CA84B;
  --white: #FFFFFF;
  --dark: #1a1a1a;
  --dark-soft: #2a2a2a;
  --cream: #f9f7f2;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-600: #777;
  --gray-800: #333;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-handwritten: 'Caveat', cursive;
  --nav-height: 80px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* ---- Typography helpers ---- */
.gold-text {
  color: var(--gold);
}

.gold-link {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.gold-link:hover {
  border-color: var(--gold);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 149, 63, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-success {
  background: var(--green-mid) !important;
  border-color: var(--green-mid) !important;
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-jireh {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
}

.logo-solutions {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.8;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  border-radius: 4px;
  margin-left: 8px;
}
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(45, 90, 39, 0.6) 50%,
    rgba(26, 26, 26, 0.9) 100%
  );
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 50%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--green-mid) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 70px 70px;
}

.hero-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.svg-dotted-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  stroke-linecap: round;
  opacity: 0.5;
}

.svg-arrow {
  fill: var(--gold);
  opacity: 0.6;
}

.arrow-1 {
  transform: translate(1100px, 300px) rotate(-20deg);
}
.arrow-2 {
  transform: translate(300px, 500px) rotate(160deg);
}

/* Hero annotations */
.annotation {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.annotation.visible {
  opacity: 1;
}

.annotation-label {
  font-family: var(--font-handwritten);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(26, 26, 26, 0.7);
  padding: 6px 14px;
  border: 2px dashed var(--gold);
  border-radius: 4px;
  white-space: nowrap;
  display: inline-block;
  animation: annotationFloat 4s ease-in-out infinite;
}

.annotation-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 6px;
  opacity: 0.6;
}

.annotation-1 { top: 18%; left: 8%; }
.annotation-2 { top: 25%; right: 10%; }
.annotation-3 { bottom: 28%; left: 5%; }
.annotation-4 { bottom: 18%; right: 6%; }

@keyframes annotationFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.annotation-1 .annotation-label { animation-delay: 0s; }
.annotation-2 .annotation-label { animation-delay: 1s; }
.annotation-3 .annotation-label { animation-delay: 0.5s; }
.annotation-4 .annotation-label { animation-delay: 1.5s; }

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

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Animated dotted lines behind service cards */
.services-dotted-svg {
  position: absolute;
  top: 100px;
  left: -8%;
  width: 116%;
  height: calc(100% - 120px);
  z-index: 0;
  pointer-events: none;
}

.svc-path {
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 3;
  stroke-dasharray: 10 8;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.services-section.svc-lines-visible .svc-path {
  opacity: 0.55;
}

.svc-path-1 {
  animation: svcDash 25s linear infinite;
}
.svc-path-2 {
  stroke: var(--gold);
  animation: svcDashReverse 28s linear infinite;
}
.svc-path-3,
.svc-path-4 {
  stroke-width: 2;
  stroke-dasharray: 5 10;
  animation: svcDash 18s linear infinite;
}
.svc-path-5,
.svc-path-6,
.svc-path-7,
.svc-path-8 {
  stroke-width: 1.8;
  stroke-dasharray: 4 12;
  stroke: var(--gold);
  animation: svcDash 20s linear infinite;
}
.svc-path-5 { animation-delay: -3s; }
.svc-path-6 { animation-delay: -7s; }
.svc-path-7 { animation-delay: -5s; }
.svc-path-8 { animation-delay: -9s; }

/* Decorative dots at path intersections */
.svc-dot {
  fill: var(--green-dark);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.services-section.svc-lines-visible .svc-dot {
  opacity: 0.65;
  animation: svcDotPulse 3s ease-in-out infinite;
}

.svc-dot-1 { animation-delay: 0s; }
.svc-dot-2 { animation-delay: 0.4s; }
.svc-dot-3 { animation-delay: 0.8s; }
.svc-dot-4 { animation-delay: 1.2s; }
.svc-dot-5 { fill: var(--gold); animation-delay: 1.6s; }
.svc-dot-6 { fill: var(--gold); animation-delay: 2s; }
.svc-dot-7 { fill: var(--gold); animation-delay: 2.4s; }
.svc-dot-8 { fill: var(--gold); animation-delay: 2.8s; }

@keyframes svcDash {
  to { stroke-dashoffset: -200; }
}

@keyframes svcDashReverse {
  to { stroke-dashoffset: 200; }
}

@keyframes svcDotPulse {
  0%, 100% { r: 4; opacity: 0.4; }
  50% { r: 7; opacity: 0.7; }
}

.services-section > .container {
  position: relative;
  z-index: 1;
}

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

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green-mid));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover {
  gap: 10px;
  color: var(--gold-dark);
}

/* Section floating annotation */
.section-annotation {
  position: absolute;
  right: 5%;
  bottom: 10%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.section-annotation.visible {
  opacity: 1;
}
.section-annotation .annotation-label {
  font-size: 1.1rem;
  border-color: var(--green-mid);
  color: var(--green-mid);
  background: rgba(249, 247, 242, 0.8);
  animation: annotationFloat 5s ease-in-out infinite;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
  background: var(--dark);
  color: var(--white);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .section-desc {
  color: rgba(255,255,255,0.6);
}

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

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:nth-child(1).in-view { transition-delay: 0s; }
.gallery-item:nth-child(2).in-view { transition-delay: 0.08s; }
.gallery-item:nth-child(3).in-view { transition-delay: 0.16s; }
.gallery-item:nth-child(4).in-view { transition-delay: 0.24s; }
.gallery-item:nth-child(5).in-view { transition-delay: 0.32s; }
.gallery-item:nth-child(6).in-view { transition-delay: 0.4s; }
.gallery-item:nth-child(7).in-view { transition-delay: 0.48s; }
.gallery-item:nth-child(8).in-view { transition-delay: 0.56s; }

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

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

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-placeholder {
  transform: scale(1.05);
}

.gallery-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 1;
}

.gallery-annotation {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-handwritten);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  border-left: 2px dashed var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-annotation {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
  background: var(--cream);
}

.projects-carousel {
  position: relative;
}

.project-slides {
  position: relative;
  min-height: 500px;
}

.project-slide {
  display: none;
  animation: fadeSlide 0.6s ease;
}

.project-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.project-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 8px;
  overflow: hidden;
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
  position: relative;
}

.project-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  padding: 6px 14px;
  border-radius: 3px;
  z-index: 2;
}

.badge-after {
  background: var(--gold);
  color: var(--dark);
}

.project-annotation {
  position: absolute;
  font-family: var(--font-handwritten);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(0,0,0,0.55);
  padding: 4px 12px;
  border: 1.5px dashed var(--gold);
  border-radius: 3px;
  white-space: nowrap;
  z-index: 2;
  animation: annotationFloat 4s ease-in-out infinite;
}

.pa-1 { bottom: 30%; right: 10%; animation-delay: 0s; }
.pa-2 { top: 35%; left: 8%; animation-delay: 0.5s; }
.pa-3 { bottom: 15%; right: 8%; animation-delay: 1s; }

.project-dotted-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.project-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 6 5;
  opacity: 0.5;
}

.project-arrow {
  fill: var(--gold);
  opacity: 0.5;
}

.project-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-radius: 0 8px 8px 0;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.project-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.project-tags {
  display: flex;
  gap: 10px;
  list-style: none;
  flex-wrap: wrap;
}

.project-tags li {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 3px;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ============================================
   ESTIMATE SECTION
   ============================================ */
.estimate-section {
  background: var(--dark);
  color: var(--white);
}

.estimate-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.estimate-info .section-tag {
  text-align: left;
}

.estimate-info .section-title {
  color: var(--white);
  text-align: left;
}

.estimate-info p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 30px;
}

.estimate-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.estimate-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
}

.estimate-feature i {
  color: var(--gold);
  font-size: 1.1rem;
}

.estimate-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  transition: color var(--transition);
}
.estimate-phone:hover {
  color: var(--gold-light);
}
.estimate-phone i {
  font-size: 1rem;
}

/* Form */
.estimate-form {
  background: var(--dark-soft);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

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

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(184, 149, 63, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8953F' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.contact-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  border-color: transparent;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon i {
  font-size: 1.3rem;
  color: var(--white);
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--gold);
}

.social-links-inline {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 4px;
}

.social-links-inline a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-800);
  transition: all var(--transition);
}

.social-links-inline a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-services li,
.footer-contact li {
  margin-bottom: 10px;
}

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

.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact i {
  color: var(--gold);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-tagline {
  font-family: var(--font-handwritten);
  font-size: 1.1rem !important;
  color: var(--gold) !important;
  opacity: 0.6;
  margin-top: 6px;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.6) translateY(20px);
  pointer-events: none;
}

.whatsapp-float.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px) !important;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(8px);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .project-slide.active {
    grid-template-columns: 1fr;
  }

  .project-info {
    border-radius: 0 0 8px 8px;
    padding: 30px;
  }

  .project-placeholder {
    min-height: 300px;
  }

  .estimate-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 24px;
    transition: right 0.4s ease;
  }

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

  .nav-link {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .nav-link::after {
    bottom: 6px;
    left: 24px;
    right: 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .annotation {
    display: none;
  }

  .annotation-1, .annotation-2 {
    display: block;
  }

  .annotation-1 { top: 14%; left: 4%; }
  .annotation-2 { top: 12%; right: 4%; }

  .annotation-label {
    font-size: 1rem;
    padding: 4px 10px;
  }

  /* Services */
  .section {
    padding: 70px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 24px;
  }

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

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

  /* Projects */
  .project-before-after {
    grid-template-columns: 1fr;
  }

  .project-placeholder {
    min-height: 220px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contact-card {
    padding: 28px 16px;
  }

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

  .estimate-form {
    padding: 28px 20px;
  }

  .estimate-features {
    grid-template-columns: 1fr;
  }

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

  /* WhatsApp */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

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

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