:root {
  --charcoal: #2B2F30;
  --dark-olive: #3F4941;
  --gold: #C4A356;
  --ivory: #F6F3EA;
  --white: #FFFFFF;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 96px;
  --shadow-sm: 0 2px 8px rgba(43, 47, 48, 0.08);
  --shadow-md: 0 4px 16px rgba(43, 47, 48, 0.12);
  --shadow-lg: 0 8px 32px rgba(43, 47, 48, 0.16);
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--ivory);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(246, 243, 234, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: transform var(--transition);
}

header.hidden {
  transform: translateY(-100%);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--charcoal);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* === HERO (updated background so logo pops) === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-md);
  /* was: linear-gradient(...) */
  background: radial-gradient(
      circle at center,
      #37433d 0%,     /* lighter olive center to lift logo */
      #1a2220 55%,    /* dark green mid */
      #0e1412 100%    /* deep edge */
  ) !important;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 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='%23C4A356' fill-opacity='0.05'%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.2 !important; /* slightly lighter pattern so logo stands out */
}

/* === CONTENT (unchanged) === */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-logo {
  width: 380px;                              /* 🔹 increased overall size */
  max-width: 38vw;
  height: auto;
  margin: 0 auto var(--spacing-lg);
  display: block;
  background-color: #ECEAE1;                 /* light backdrop */
  padding: 30px;                             /* comfortable space around */
  border-radius: 14px;                       /* smooth corners */
  filter: brightness(1.05) contrast(1.05);
  opacity: 1;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: fadeInDown 1.3s ease-out;
  box-shadow: 0 0 35px rgba(216, 179, 90, 0.35); /* warm glow */
}

/* Hover lift */
.hero-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 55px rgba(216, 179, 90, 0.45);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-logo {
    width: 300px;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .hero-logo {
    width: 240px;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 200px;
    padding: 14px;
  }
}

/* (optional) keep this only if you want the entry animation */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}


@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.hero h1 {
  color: var(--ivory);
  margin-bottom: var(--spacing-md);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  color: var(--ivory);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.section {
  padding: var(--spacing-3xl) var(--spacing-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--gold);
  margin: var(--spacing-md) auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.service-card {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

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

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-olive);
}

.service-card p {
  color: var(--charcoal);
  opacity: 0.85;
  margin-bottom: var(--spacing-md);
}

.service-card a {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.service-card a:hover {
  text-decoration: underline;
}

.why-choose {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-item {
  text-align: center;
  padding: var(--spacing-md);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
}

.feature-item h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-olive);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  position: relative;
}

.process-step {
  text-align: center;
  padding: var(--spacing-md);
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  margin-bottom: var(--spacing-sm);
}

.faq-preview {
  background-color: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: var(--spacing-xl) auto 0;
}

.faq-item {
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(43, 47, 48, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--ivory);
}

.faq-question {
  width: 100%;
  padding: var(--spacing-md);
  background-color: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-olive);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition);
}

.faq-question:hover {
  background-color: rgba(196, 163, 86, 0.1);
}

.faq-icon {
  transition: transform var(--transition);
  color: var(--gold);
  font-size: 1.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer-content {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--charcoal);
  opacity: 0.9;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

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

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.office-card {
  padding: var(--spacing-lg);
  background-color: var(--ivory);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.office-card h3 {
  color: var(--dark-olive);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.office-card p {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: start;
  gap: var(--spacing-sm);
}

.cta-section {
  background: linear-gradient(135deg, var(--dark-olive) 0%, var(--charcoal) 100%);
  color: var(--ivory);
  text-align: center;
}

.cta-section h2 {
  color: var(--ivory);
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

footer {
  background-color: var(--charcoal);
  color: var(--ivory);
  padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(246, 243, 234, 0.2);
  padding-top: var(--spacing-md);
  text-align: center;
  opacity: 0.8;
}

.floating-buttons {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  font-size: 1.75rem;
  color: var(--white);
  animation: pulse 2s infinite;
}

.floating-btn.whatsapp {
  background-color: #25D366;
}

.floating-btn.call {
  background-color: var(--gold);
}

.floating-btn:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(196, 163, 86, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(196, 163, 86, 0);
  }
}

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

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

.contact-form {
  max-width: 600px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl);
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--dark-olive);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px var(--spacing-sm);
  border: 2px solid rgba(43, 47, 48, 0.1);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background-color: var(--ivory);
    flex-direction: column;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
  }

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

  .menu-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .services-grid,
  .features-grid,
  .process-timeline,
  .offices-grid {
    grid-template-columns: 1fr;
  }

  .floating-buttons {
    bottom: var(--spacing-md);
    right: var(--spacing-md);
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

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