/* ============================================
   PROPIEDADES NOVA ESTRELLA - Stylesheet
   ============================================ */

/* === CSS Variables / Color Palette === */
:root {
  --white: #FFFFFF;
  --black: #000000;
  --dark: #1a1a1a;
  --charcoal: #333333;
  --gray: #777777;
  --light-gray: #f0f0f0;
  --medium-gray: #e0e0e0;
  --accent-gold: #c8a855;
  --accent-gold-light: #d4b96a;
  --accent-gold-dark: #b09340;
  --deep-blue: #1b2a4a;
  --navy: #0f1c32;
  --slate: #2c3e50;
  --warm-gray: #f5f3ef;
  --overlay-dark: rgba(15, 28, 50, 0.85);
  --overlay-gold: rgba(200, 168, 85, 0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.22);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

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

.section-header .subtitle {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
  position: relative;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent-gold);
  vertical-align: middle;
  margin: 0 15px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

section {
  padding: 100px 0;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-dark {
  background: var(--deep-blue);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === Preloader === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--charcoal);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === Header / Navigation === */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--medium-gray);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.logo img {
  height: 122px;
  width: auto;
  transition: var(--transition);
}

#header.scrolled .logo img {
  height: 70px;
}

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

.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 8px 14px;
  border-radius: 4px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
}

.nav-menu a:hover {
  color: var(--accent-gold);
}

.nav-cta {
  margin-left: 15px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* === Hero Carousel === */
#hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  margin-top: 142px;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 28, 50, 0.88) 0%, rgba(27, 42, 74, 0.65) 100%);
  display: flex;
  align-items: center;
}

.carousel-content {
  max-width: 750px;
  padding-left: 8%;
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
}

.carousel-slide.active .carousel-content {
  opacity: 1;
  transform: translateY(0);
}

.carousel-content .tag {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 3px;
  margin-bottom: 25px;
}

.carousel-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.carousel-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 35px;
  max-width: 580px;
}

.carousel-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 40px;
  right: 8%;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 50px;
  left: 8%;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicators .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicators .dot.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.2);
}

/* === Stats Bar === */
.stats-bar {
  background: var(--deep-blue);
  padding: 0;
  position: relative;
  z-index: 5;
}

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

.stat-item {
  padding: 40px 30px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(200, 168, 85, 0.1);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* === About Section === */
#about {
  background: var(--warm-gray);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.about-image .experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--accent-gold);
  color: var(--white);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.about-content .subtitle {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

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

.about-feature .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--overlay-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.about-feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.about-feature p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--gray);
}

/* === Services Section === */
#services {
  background: var(--dark);
  position: relative;
}

#services .section-header h2 {
  color: var(--white);
}

#services .section-header .subtitle {
  color: var(--accent-gold);
}

#services .section-header p {
  color: rgba(255,255,255,0.6);
}

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

.service-card {
  background: var(--charcoal);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

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

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-card .card-image .card-number {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
}

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

.service-card h3 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-card .card-link:hover {
  gap: 12px;
}

/* === Experience / Why Choose Us Section === */
#experience {
  position: relative;
  background: var(--deep-blue);
  overflow: hidden;
}

#experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/experience-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.experience-content {
  position: relative;
  z-index: 2;
}

#experience .section-header h2 {
  color: var(--white);
}

#experience .section-header .subtitle {
  color: var(--accent-gold);
}

#experience .section-header p {
  color: rgba(255,255,255,0.65);
}

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

.experience-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.experience-card:hover {
  background: rgba(200, 168, 85, 0.1);
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.experience-card .card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
}

.experience-card h3 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.experience-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* === Projects Section === */
#projects {
  background: var(--warm-gray);
}

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

.project-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(15, 28, 50, 0.95));
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-overlay .tag {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.project-overlay h3 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.project-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* === Testimonials Section === */
#testimonials {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/testimonial-bg.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.testimonials-content {
  position: relative;
  z-index: 2;
}

#testimonials .section-header h2 {
  color: var(--white);
}

#testimonials .section-header .subtitle {
  color: var(--accent-gold);
}

#testimonials .section-header p {
  color: rgba(255,255,255,0.55);
}

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

.testimonial-item {
  text-align: center;
  display: none;
}

.testimonial-item.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.testimonial-item blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.testimonial-author .name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}

.testimonial-author .role {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-gold);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-top: 8px;
  letter-spacing: 3px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-nav .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-nav .dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

/* === CTA Section === */
#cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/cta-bg.jpg') center/cover no-repeat;
}

#cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 28, 50, 0.92), rgba(27, 42, 74, 0.85));
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: 15px;
}

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

.cta-content .btn {
  font-size: 0.95rem;
  padding: 16px 45px;
}

/* === Contact Section === */
#contact {
  background: var(--warm-gray);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-info-item .icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--deep-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.contact-map {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 280px;
  border: none;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 45px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--dark);
}

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

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  border: 1px solid var(--medium-gray);
  border-radius: 6px;
  background: var(--light-gray);
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 85, 0.15);
  background: var(--white);
}

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

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.95rem;
}

/* === Footer === */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding-top: 80px;
}

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

.footer-about .footer-logo img {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 6px;
  padding: 6px;
}

.footer-about p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

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

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

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

.footer-column h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

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

.footer-column ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-radius: 6px 0 0 6px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--accent-gold);
  color: var(--white);
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-gold-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  font-size: 0.82rem;
}

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

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* === Modal (Privacy / Terms) === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 50px;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--light-gray);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-gold);
  color: var(--white);
}

.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-right: 40px;
}

.modal p, .modal li {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--gray);
}

.modal h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 25px 0 10px;
  color: var(--dark);
}

.modal ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 15px;
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--accent-gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-3px);
}

/* === Scroll Animations === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .about-grid {
    gap: 50px;
  }

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

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #hero {
    margin-top: 100px;
    min-height: 550px;
  }

  #header .logo img {
    height: 75px;
  }

  #header.scrolled .logo img {
    height: 55px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s ease;
    z-index: 1000;
  }

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

  .nav-menu a {
    font-size: 1rem;
    padding: 12px 20px;
  }

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

  .hamburger {
    display: flex;
  }

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

  .about-image .experience-badge {
    bottom: -15px;
    right: 15px;
    padding: 18px;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

  .carousel-content {
    padding-left: 5%;
    padding-right: 5%;
  }

  .carousel-controls {
    bottom: 20px;
    right: 5%;
  }

  .carousel-indicators {
    bottom: 25px;
    left: 5%;
  }

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

  .contact-form-wrapper {
    padding: 30px;
  }

  section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .carousel-content h1 {
    font-size: 1.8rem;
  }

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

  .stat-number {
    font-size: 2rem;
  }

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

  .modal {
    padding: 30px;
  }
}
