:root {
  --brown-dark: #622B14;
  --brown-secondary: #995F2F;
  --beige-warm: #978F66;
  --sand-light: #E4D6A9;
  --text-color: #1F2937;
  --white: #FFFFFF;
  --light-bg: #F8F5F0;
  --gray-100: #F3F0EB;
  --gray-200: #E5E0D8;
  --gray-300: #C8C0B5;
  --gray-400: #9A9085;
  --gray-500: #6B6258;
  --gray-600: #4A443D;
  --gradient-primary: linear-gradient(135deg, #622B14 0%, #995F2F 100%);
  --gradient-reverse: linear-gradient(135deg, #995F2F 0%, #622B14 100%);
  --gradient-accent: linear-gradient(135deg, #978F66 0%, #E4D6A9 100%);
  --gradient-gold: linear-gradient(135deg, #E4D6A9 0%, #978F66 100%);
  --shadow-sm: 0 1px 3px rgba(98,43,20,0.08);
  --shadow-md: 0 4px 20px rgba(98,43,20,0.1);
  --shadow-lg: 0 10px 40px rgba(98,43,20,0.12);
  --shadow-xl: 0 20px 60px rgba(98,43,20,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brown-dark);
  line-height: 1.25;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 100px 0; }

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

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--brown-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 620px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(98,43,20,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(98,43,20,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--brown-dark);
  border: 2px solid var(--brown-dark);
}

.btn-secondary:hover {
  background: var(--brown-dark);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--brown-dark);
  border-color: var(--white);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(98,43,20,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(98,43,20,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--brown-dark);
}

.logo span { color: var(--sand-light); }

.nav { display: flex; align-items: center; gap: 6px; }

.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav a:hover, .nav a.active { color: var(--white); background: rgba(255,255,255,0.1); }

.nav .dropdown { position: relative; }

.nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .dropdown-menu a {
  color: var(--text-color);
  padding: 10px 16px;
  border-radius: 6px;
  display: block;
  font-size: 0.85rem;
}

.nav .dropdown-menu a:hover { background: var(--gray-100); color: var(--brown-secondary); }

.nav-cta {
  background: var(--gradient-accent) !important;
  color: var(--brown-dark) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(151,143,102,0.4);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(228,214,169,0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(151,143,102,0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { padding-right: 20px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(228,214,169,0.12);
  border: 1px solid rgba(228,214,169,0.2);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--sand-light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  font-family: var(--font-heading);
}

.hero-badge svg { width: 16px; height: 16px; fill: var(--sand-light); }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.12;
}

.hero h1 span { color: var(--sand-light); }

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

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

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

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(98,43,20,0.2), transparent 50%);
  border-radius: var(--radius-lg);
}

.stats-section {
  background: var(--light-bg);
  position: relative;
}

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

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brown-secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--brown-dark);
}

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

.feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(151,143,102,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--brown-secondary);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.services-preview { background: var(--light-bg); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-image img { transform: scale(1.08); }

.service-card-body { padding: 28px; }

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

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

.service-card-body .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.process-section { background: var(--white); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-400);
  border: 3px solid var(--gray-200);
  transition: var(--transition);
}

.process-step:hover .process-step-number {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--brown-secondary);
  box-shadow: 0 0 0 8px rgba(98,43,20,0.1);
}

.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.testimonials-section {
  background: var(--brown-dark);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E4D6A9' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.6); }
.testimonials-section .section-label { color: rgba(228,214,169,0.8); }

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar { display: none; }

.testimonial-card {
  min-width: 380px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

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

.testimonial-stars {
  color: var(--sand-light);
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.testimonial-location { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

.cta-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(228,214,169,0.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

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

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

.tip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.tip-card:hover {
  border-color: var(--beige-warm);
  box-shadow: var(--shadow-md);
}

.tip-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 16px;
}

.tip-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tip-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-about .logo { margin-bottom: 16px; }

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
}

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

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

.footer-social a:hover {
  background: var(--gradient-accent);
  color: var(--brown-dark);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

.footer-links a:hover {
  color: var(--sand-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact li svg {
  margin-top: 4px;
  flex-shrink: 0;
  color: var(--sand-light);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.85rem;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { outline: none; border-color: var(--sand-light); }

.newsletter-form button {
  padding: 10px 18px;
  background: var(--gradient-accent);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--brown-dark);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.newsletter-form button:hover { opacity: 0.9; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a { color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: var(--sand-light); }

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(37,211,102,0.6);
  color: var(--white);
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--white);
  color: var(--text-color);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

.sticky-whatsapp-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--brown-dark);
  padding: 10px 20px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.sticky-whatsapp-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .sticky-whatsapp-bar { display: flex; }
  .floating-whatsapp { bottom: 70px; }
}

.page-hero {
  background: var(--gradient-primary);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(228,214,169,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--sand-light); }
.breadcrumb .current { color: var(--sand-light); }

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

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

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(98,43,20,0.1), transparent);
}

.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; color: var(--gray-500); line-height: 1.8; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(151,143,102,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-secondary);
  font-size: 1.2rem;
}

.value-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.value-item p { font-size: 0.82rem; margin-bottom: 0; }

.timeline-section { background: var(--light-bg); }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gray-200);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--brown-secondary);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px rgba(153,95,47,0.2);
  z-index: 2;
}

.timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown-secondary);
  margin-bottom: 6px;
}

.timeline-content h4 { font-size: 1rem; margin-bottom: 6px; }
.timeline-content p { font-size: 0.85rem; color: var(--gray-500); }

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

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.team-info { padding: 20px; }

.team-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--brown-secondary);
  font-weight: 500;
}

.service-detail { padding: 80px 0; }

.service-detail:nth-child(even) { background: var(--light-bg); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-grid.reverse .service-detail-image { order: 2; }
.service-detail-grid.reverse .service-detail-content { order: 1; }

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(98,43,20,0.08), transparent);
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.service-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.service-highlights li svg {
  color: var(--brown-secondary);
  flex-shrink: 0;
}

.service-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.service-buttons .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.comparison-table th {
  background: var(--brown-dark);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.comparison-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}

.comparison-table tr:nth-child(even) td { background: var(--light-bg); }

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--brown-dark);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--beige-warm); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brown-dark);
  transition: var(--transition);
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
}

.faq-question:hover { color: var(--brown-secondary); }

.faq-question svg {
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}

.faq-item.active .faq-question { color: var(--brown-secondary); }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-filter {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-600);
}

.gallery-filter:hover, .gallery-filter.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--brown-secondary);
}

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

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

.gallery-item:nth-child(2) { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  min-height: 250px;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(98,43,20,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}

.gallery-overlay .gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-dark);
  font-size: 1.4rem;
  transition: var(--transition);
  transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay .gallery-icon {
  transform: translate(-50%, -50%) scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover { color: var(--sand-light); transform: rotate(90deg); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover, .lightbox-next:hover { background: var(--brown-secondary); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.video-showcase {
  background: var(--light-bg);
}

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

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.video-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(98,43,20,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  transition: var(--transition);
  cursor: pointer;
}

.video-play-btn:hover {
  background: var(--brown-secondary);
  transform: translate(-50%, -50%) scale(1.1);
}

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

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(151,143,102,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-secondary);
  font-size: 1.2rem;
}

.contact-detail-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail-text p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }
.contact-detail-text a { color: var(--gray-500); }
.contact-detail-text a:hover { color: var(--brown-secondary); }

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
}

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

.contact-form-wrapper > p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--beige-warm);
  box-shadow: 0 0 0 4px rgba(151,143,102,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(98,43,20,0.35);
}

.form-notification {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: none;
  font-size: 0.9rem;
}

.form-notification.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-notification.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.map-section { padding: 60px 0; }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-children.visible > *:nth-child(1) { transition: all 0.5s ease 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition: all 0.5s ease 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition: all 0.5s ease 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition: all 0.5s ease 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition: all 0.5s ease 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition: all 0.5s ease 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition: all 0.5s ease 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition: all 0.5s ease 0.4s; }
.stagger-children.visible > *:nth-child(9) { transition: all 0.5s ease 0.45s; }
.stagger-children.visible > *:nth-child(10) { transition: all 0.5s ease 0.5s; }

.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

.parallax-bg {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

@media (max-width: 1024px) {
  .hero .container { gap: 40px; }
  .hero-image img { height: 420px; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); }
  .process-timeline::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header { height: 70px; background: rgba(98,43,20,0.95); }
  .header .container { height: 70px; }

  .mobile-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--brown-dark);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a { width: 100%; padding: 12px 16px; }
  .nav .dropdown-menu {
    position: static;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0 0 0 16px;
    border: none;
  }

  .nav .dropdown.open .dropdown-menu { display: block; }

  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { padding-right: 0; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-image img { height: 280px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 2rem; }

  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .testimonial-card { min-width: 280px; }
  .tips-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 60px 0; }

  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 300px; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { padding: 0 0 0 50px; justify-content: flex-start; }
  .timeline-dot { left: 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .service-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-detail-grid.reverse .service-detail-image { order: 1; }
  .service-detail-grid.reverse .service-detail-content { order: 2; }
  .service-detail-image img { height: 280px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(2) { grid-row: auto; }
  .video-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrapper { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .page-hero { padding: 120px 0 60px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .floating-whatsapp { width: 50px; height: 50px; font-size: 1.5rem; bottom: 80px; right: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .service-highlights { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .service-buttons { flex-direction: column; }
  .service-buttons .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--brown-secondary);
  outline-offset: 2px;
}
