/* ----- CSS VARIABLES ----- */
:root {
  /* Colors */
  --color-primary: #0ea5e9;
  /* Light blue representing water and clean glass */
  --color-primary-dark: #0284c7;
  --color-secondary: #0f172a;
  /* Slate 900 for modern dark accents */
  --color-accent: #06b6d4;
  /* Cyan */
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  /* Slate 50 */
  --color-text: #334155;
  /* Slate 700 */
  --color-heading: #0f172a;

  /* Utilities */
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease-in-out;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ----- RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

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

ul {
  list-style: none;
}

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

.section-padding {
  padding: 6rem 0;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-5 {
  margin-top: 3rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

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

.hidden {
  display: none;
}

.w-100 {
  width: 100%;
}

/* ----- TYPOGRAPHY ----- */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* ----- BUTTONS ----- */
.btn-primary,
.btn-primary-sm,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(14, 165, 233, 0.5);
}

.btn-primary-sm {
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary-sm:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: white;
  color: var(--color-heading);
  padding: 0.875rem 1.5rem;
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

/* ----- NAVBAR ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

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

.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-secondary);
}

.brand span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn-primary-sm) {
  font-weight: 500;
  color: var(--color-text);
}

.nav-links a:not(.btn-primary-sm):hover {
  color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: white;
  border-top: 1px solid #e2e8f0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 500;
}

/* ----- HERO SECTION ----- */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #475569;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item i {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-backdrop {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 100%;
  height: 90%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.2));
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: rotate(3deg);
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: float 4s ease-in-out infinite;
}

.badge-icon {
  background: var(--color-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ----- ABOUT SECTION ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  height: 500px;
}

.feature-list {
  margin-top: 2.5rem;
}

.feature-list li {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.feature-text p {
  color: #64748b;
  font-size: 0.95rem;
}

/* ----- SERVICES SECTION ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
  text-align: left;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p {
  color: #64748b;
  font-size: 0.95rem;
}

.services-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.services-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  /* Dark overlay */
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.banner-content h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ----- REVIEWS SECTION ----- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #475569;
}

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

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.bg-alt {
  background: var(--color-secondary);
}

.review-author span {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
}

/* ----- CONTACT SECTION ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-link {
  color: #25D366;
  font-weight: 500;
  text-decoration: underline;
}

.custom-form {
  padding: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #dcfce7;
  color: #166534;
  text-align: center;
  font-weight: 500;
}

/* ----- FOOTER ----- */
.footer {
  background-color: var(--color-secondary);
  color: white;
  padding-top: 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--color-primary);
}

.footer-brand p {
  color: #94a3b8;
  max-width: 300px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1rem;
}

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

.footer-links ul li a {
  color: #94a3b8;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  color: #64748b;
  font-size: 0.875rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
}

/* ----- FLOATING WHATSAPP BUTTON ----- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

.pulse {
  animation: pulse-animation 2s infinite;
}

.spin {
  animation: spin-animation 1s linear infinite;
}

@keyframes spin-animation {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

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

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

.is-visible {
  opacity: 1 !important;
  transform: translate(0) !important;
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* ----- GOOGLE REVIEWS WIDGET ----- */
.google-badge-container {
  margin-bottom: 3rem;
}

.google-summary-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 1.5rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #5f6368;
  margin-bottom: 0.75rem;
}

.rating-flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rating-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-heading);
}

.rating-stars {
  color: #fbbc05;
  font-size: 1.5rem;
}

.rating-count {
  color: #70757a;
  font-size: 0.9rem;
  font-weight: 500;
}

.google-btn {
  color: #1a73e8;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #f8f9fa;
  transition: var(--transition);
}

.google-btn:hover {
  background: #e8f0fe;
  text-decoration: underline;
}

.review-card.google-style {
  border-left: 4px solid #4285f4;
  transition: var(--transition);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.google-icon-small {
  width: 24px;
  height: 24px;
  background: #4285f4;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
}

.review-date {
  font-size: 0.8rem;
  color: #9aa0a6;
  display: block;
}

/* ----- MEDIA QUERIES ----- */
@media (max-width: 992px) {

  .hero-container,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
    padding-top: 6rem;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .services-banner h3 {
    font-size: 1.5rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}