/* ==========================================================================
   DESIGN SYSTEM - ME HOME DECOR
   Paleta: Deep Navy Blue, Warm Sand Gold, Soft Linen Cream, Crisp White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Colors */
  --primary: #0B2545;       /* Deep Navy Blue */
  --primary-light: #134074; /* Coastal Blue */
  --primary-dark: #081B33;  /* Midnight Blue */
  --accent: #C5A880;        /* Sand Gold */
  --accent-gold: #D4AF37;   /* Metallic Gold */
  --accent-light: #F4EFE6;  /* Soft Warm Beige */
  --bg-warm: #FDFBF7;       /* Linen Cream */
  --text-dark: #202428;     /* Charcoal Black */
  --text-light: #FDFBF7;    /* Cream White */
  --text-muted: #6C7A89;    /* Muted Blue-Gray */
  --white: #FFFFFF;
  --black: #000000;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Shadow & Blur */
  --shadow-sm: 0 4px 6px -1px rgba(11, 37, 69, 0.05), 0 2px 4px -1px rgba(11, 37, 69, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(11, 37, 69, 0.08), 0 4px 6px -2px rgba(11, 37, 69, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(11, 37, 69, 0.1), 0 10px 10px -5px rgba(11, 37, 69, 0.04);
  --shadow-gold: 0 8px 24px rgba(197, 168, 128, 0.25);
  --glass-bg: rgba(253, 251, 247, 0.85);
  --glass-border: rgba(197, 168, 128, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-warm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ==========================================================================
   REUSABLE UTILITIES & BUTTONS
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent);
  margin: 1.25rem auto 0;
}

.section-title.left-align::after {
  margin: 1.25rem 0 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.3);
}

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

.btn-accent:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

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

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

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

header.scrolled .logo img {
  height: 36px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  padding: 0.25rem 0;
}

/* Transparent initial state text color handling */
header.transparent .nav-links a {
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

header.scrolled .nav-links a {
  color: var(--primary);
  text-shadow: none;
}

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

.nav-links a:hover {
  color: var(--accent-gold) !important;
}

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

.nav-cta {
  margin-left: 1rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  left: 0;
  transition: var(--transition-normal);
}

header.transparent:not(.scrolled) .mobile-toggle span {
  background-color: var(--white);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

#inicio {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 37, 69, 0.85) 0%,
    rgba(11, 37, 69, 0.4) 50%,
    rgba(11, 37, 69, 0.9) 100%
  );
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 750px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards 0.2s;
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.5rem;
}

.hero-content h1 {
  font-size: 3.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.75rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.65;
  transition: var(--transition-normal);
}

.scroll-down:hover {
  opacity: 1;
}

.scroll-down span {
  width: 1.5rem;
  height: 2.5rem;
  border: 1px solid var(--white);
  border-radius: 12px;
  display: block;
  position: relative;
  margin-top: 0.5rem;
}

.scroll-down span::after {
  content: '';
  width: 4px;
  height: 8px;
  background-color: var(--white);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* ==========================================================================
   SERVICIOS / PRODUCTOS SECTION
   ========================================================================== */

#servicios {
  background-color: var(--white);
}

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

.service-card {
  background-color: var(--bg-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(197, 168, 128, 0.1);
  display: flex;
  flex-direction: column;
}

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

.service-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 1px;
}

.service-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.service-link i {
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--accent-gold);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   QUIÉNES SOMOS SECTION
   ========================================================================== */

#nosotros {
  background-color: var(--accent-light);
}

.about-split {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about-content {
  flex: 1;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 2.25rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text p strong {
  color: var(--primary);
}

/* Showrooms highlight cards */
.locations-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.location-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  transition: var(--transition-normal);
}

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

.location-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-card h4 i {
  color: var(--accent-gold);
}

.location-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.location-hours {
  font-size: 0.8rem !important;
  color: var(--primary-light) !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.about-visual {
  flex: 1;
  position: relative;
}

.about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}

.about-experience-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  max-width: 180px;
}

.about-experience-badge .years {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.about-experience-badge .text {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

#testimonios {
  background-color: var(--white);
}

.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 168, 128, 0.15);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.7;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  border: 2px solid var(--accent);
  font-size: 1.1rem;
}

.author-info h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

#contacto {
  background-color: var(--bg-warm);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-column h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-intro {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item h5 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* Social links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Form Styling */
.contact-form-card {
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--white);
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-normal);
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(19, 64, 116, 0.1);
}

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

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
  margin-top: 0.5rem;
}

.footer-brand p {
  margin: 1.5rem 0;
  line-height: 1.6;
}

.footer-logo img {
  height: 38px;
  width: auto;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-locations p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-locations strong {
  color: var(--white);
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.footer-newsletter p {
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: none;
  font-family: var(--font-body);
  outline: none;
  font-size: 0.9rem;
}

.newsletter-btn {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

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

/* ==========================================================================
   MODAL - AGENDAR CONSULTA
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 37, 69, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: 100%;
  max-width: 600px;
  background-color: var(--bg-warm);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.9);
  transition: var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem;
  position: relative;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.modal-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.5rem;
}

/* Success notification block inside modal/form */
.alert-success {
  background-color: #E6F4EA;
  color: #137333;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #CEEAD6;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
  display: none;
}

/* ==========================================================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */

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

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

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .about-split {
    flex-direction: column-reverse;
    gap: 4rem;
  }
  
  .about-visual {
    width: 100%;
    max-width: 600px;
  }
  
  .about-experience-badge {
    bottom: -1rem;
    left: -1rem;
  }
  
  .testimonials-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-split {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .section {
    padding: 4.5rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .nav-cta {
    display: none; /* Hide in navbar on mobile, accessible via mobile overlay */
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    box-shadow: -10px 0 30px rgba(11, 37, 69, 0.15);
    transition: var(--transition-normal);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.25rem;
    color: var(--primary) !important;
    width: 100%;
    padding: 0.75rem 0;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .locations-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-carousel {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-card {
    padding: 1.75rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe55;
  transform: translateY(-5px);
  color: #FFF;
  box-shadow: var(--shadow-md);
}
