/* ===== MY PLACE — Design System v2 ===== */
:root {
  /* Brand Colors */
  --primary: #1e7fa3;
  --primary-dark: #1a4f82;
  --primary-light: #3ecbaa;
  --primary-gradient: linear-gradient(
    135deg,
    #1a4f82 0%,
    #1e7fa3 55%,
    #3ecbaa 100%
  );
  --primary-glow: rgba(30, 127, 163, 0.18);

  /* Text */
  --text-dark: #0d2233;
  --text-body: #2c4458;
  --text-muted: #5a7080;
  --text-light: #ffffff;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f3f8fc;
  --bg-section: #eaf3f8;

  /* UI */
  --gray: #5a7080;
  --gray-light: #d0dee8;
  --success: #25d366;
  --border: rgba(30, 127, 163, 0.12);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-dark: rgba(13, 34, 51, 0.55);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 6rem;

  /* Typography */
  --font-serif: "Merriweather", serif;
  --font-sans: "Inter", system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 34, 51, 0.06);
  --shadow-md: 0 4px 16px rgba(13, 34, 51, 0.09);
  --shadow-lg: 0 12px 40px rgba(13, 34, 51, 0.11);
  --shadow-xl: 0 24px 60px rgba(13, 34, 51, 0.13);
  --shadow-primary: 0 8px 28px rgba(30, 127, 163, 0.38);

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.5s ease;

  /* Nav */
  --nav-height: 73px;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(30, 127, 163, 0.35);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ===== Text Selection ===== */
::selection {
  background: rgba(30, 127, 163, 0.18);
  color: var(--primary-dark);
}
::-moz-selection {
  background: rgba(30, 127, 163, 0.18);
  color: var(--primary-dark);
}

/* ===== Global Focus Ring ===== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Page Load Fade ===== */
body {
  animation: pageFadeIn 0.45s ease both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

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

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  padding: 1.1rem var(--spacing-lg);
  transition:
    padding var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base);
}

nav.scrolled {
  padding: 0.65rem var(--spacing-lg);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
}

/* Hero-page: transparent nav until scrolled */
.hero-page nav:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}

.hero-page nav:not(.scrolled) .nav-links a:hover {
  color: white;
}

.hero-page nav:not(.scrolled) .nav-links a::after {
  background: var(--primary-gradient);
}


.hero-page nav:not(.scrolled) .hamburger {
  color: white;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition:
    height var(--transition-base),
    filter var(--transition-base);
}

nav.scrolled .logo img {
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  letter-spacing: 0.01em;
}

nav.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: width var(--transition-base);
}

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


.nav-cta {
  background: var(--primary-gradient);
  color: white !important;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  opacity: 0.88;
  color: white !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 2px solid var(--primary);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  display: block;
  transition:
    color var(--transition-base),
    padding-left var(--transition-base);
}

.mobile-menu a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* ===== Buttons ===== */
.btn {
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(30, 127, 163, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
  color: white;
}

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

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

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  border: 2px solid white;
  font-weight: 700;
}

.btn-white:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.btn-lg {
  padding: 1.05rem 2.5rem;
  font-size: 1.025rem;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--text-dark);
}

/* Individual Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Background with Ken Burns */
.slide-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.slide.active .slide-bg {
  animation: kenBurns 12s ease-out forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1.09);
  }
  to {
    transform: scale(1.01);
  }
}

/* Gradient overlay — brand-colored */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.29)
  );
}

/* Content layer */
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 120px var(--spacing-lg) 8rem;
}

.slide-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.slide-text {
  max-width: 700px;
}

/* Animated text elements */
.slide-tag,
.slide-text h1,
.slide-text p,
.slide-buttons {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.slide.active .slide-tag {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.slide.active .slide-text h1 {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}
.slide.active .slide-text p {
  opacity: 1;
  transform: none;
  transition-delay: 0.55s;
}
.slide.active .slide-buttons {
  opacity: 1;
  transform: none;
  transition-delay: 0.72s;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.slide-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2.2s infinite;
}

.slide-text h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: white;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 1.4rem;
}

.slide-text h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #1e7fa3 0%, #1a4f82 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-text p {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  line-height: 1.78;
  margin-bottom: 2.4rem;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0.7;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 1.75rem;
}
.slider-next {
  right: 1.75rem;
}

/* Dots */
.slider-dots-container {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 4px;
  background: white;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.slider-progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  width: 0;
}

.slider-progress-bar.running {
  animation: sliderProgress 5.5s linear forwards;
}

@keyframes sliderProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Slide count label */
.slider-count {
  position: absolute;
  bottom: 2.1rem;
  right: 2rem;
  z-index: 10;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* ===== Section Base ===== */
.section-wrapper {
  padding: var(--spacing-2xl) var(--spacing-lg);
}

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

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(28px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

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

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(30, 127, 163, 0.1);
}

.service-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(26, 79, 130, 0.07),
    rgba(62, 203, 170, 0.1)
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform var(--transition-base);
}

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

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.service-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
  line-height: 1.7;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 20px;
}

.service-list li {
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 0.75rem;
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  height: 500px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fallback SVG inside about-image-main (used on why.html) */
.about-image-main > svg {
  opacity: 0.15;
  width: 200px;
  height: 200px;
  color: white;
  position: relative;
  z-index: 0;
}

/* Fallback if no image */
.about-image-main-bg {
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-main-bg svg {
  opacity: 0.15;
  width: 200px;
  height: 200px;
  color: white;
}

/* Overlay for text readability on image */
.about-image-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 34, 51, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.about-content {
  padding-right: 1rem;
}

.about-content > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.value-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    rgba(26, 79, 130, 0.08),
    rgba(62, 203, 170, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.value-item h4 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.value-item p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Process / Como Funciona ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 2rem);
  right: calc(12.5% + 2rem);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-dark),
    var(--primary),
    var(--primary-light)
  );
  z-index: 0;
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.55s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: var(--shadow-primary);
  font-family: var(--font-serif);
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 700;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Why / Pillars ===== */

.wy-bg {
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 1.25)
    ),
    url(/assets/images/bg-wy.jpg);

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

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

.pillar {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(28px);
  transition: all var(--transition-base);
}

.pillar.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar:hover {
  border-color: rgba(30, 127, 163, 0.14);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: white;
  box-shadow: 0 6px 18px rgba(30, 127, 163, 0.3);
}

.pillar h3 {
  font-size: 1.18rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.55s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 127, 163, 0.12);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
  color: #f59e0b;
}

.testimonial-text {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.75rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(30, 127, 163, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  text-align: left;
  gap: 1rem;
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: all var(--transition-base);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding var(--transition-base);
  padding: 0 1.75rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.4rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.78;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 7rem var(--spacing-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::before {
  top: -50%;
  left: -15%;
  width: 55%;
  height: 220%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-section::after {
  bottom: -50%;
  right: -15%;
  width: 55%;
  height: 220%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: white;
  margin-bottom: 1.25rem;
}

.cta-section p {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.75rem;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-base);
}

.contact-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:first-of-type {
  padding-top: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    rgba(26, 79, 130, 0.07),
    rgba(62, 203, 170, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.wa-big {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--success);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 1.5rem;
  transition: all var(--transition-base);
  width: 100%;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.28);
}

.wa-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
  color: white;
}

.wa-big svg {
  width: 28px;
  height: 28px;
}

.form-container {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-base);
}

.form-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-container > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  position: relative;
}

form label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.975rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all var(--transition-base);
  appearance: none;
}

form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 127, 163, 0.1);
}

form input::placeholder,
form textarea::placeholder {
  color: var(--gray);
  opacity: 0.65;
}

.field-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.35rem;
  display: none;
}

.field-error.show {
  display: block;
}

input.error,
select.error,
textarea.error {
  border-color: #dc2626;
}

.form-success {
  display: none;
  background: linear-gradient(
    135deg,
    rgba(26, 79, 130, 0.06),
    rgba(62, 203, 170, 0.06)
  );
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  animation: slideIn 0.3s ease;
}

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

/* ===== Floating WhatsApp ===== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all var(--transition-base);
  color: white;
}

.floating-wa:hover {
  transform: scale(1.1);
  color: white;
}
.floating-wa svg {
  width: 28px;
  height: 28px;
}

/* ===== Footer ===== */
footer {
  background: var(--text-dark);
  color: #b8cdd8;
  padding: 5.5rem var(--spacing-lg) 2rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(184, 205, 216, 0.72);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8cdd8;
  transition: all var(--transition-base);
}

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

.social-link svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.915rem;
  color: rgba(184, 205, 216, 0.7);
  transition: color var(--transition-base);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-col address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col address a {
  font-size: 0.915rem;
  color: rgba(184, 205, 216, 0.7);
}

.footer-col address a:hover {
  color: var(--primary-light);
}

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

.footer-bottom p {
  font-size: 0.855rem;
  color: rgba(184, 205, 216, 0.45);
}

/* ===== Fade In Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.72s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

/* ===== Keyframes ===== */
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.7);
  }
}

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  padding-top: 80px;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 50%,
      rgba(62, 203, 170, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 10% 80%,
      rgba(26, 79, 130, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-hero-inner h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 0.875rem;
}

.page-hero-inner p {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.68;
}

.page-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-breadcrumb a {
  color: var(--primary);
}
.page-breadcrumb span {
  color: var(--gray-light);
}

/* ===== Services Page ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}
.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-image {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.service-detail-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-detail-image::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.service-detail-image svg {
  width: 130px;
  height: 130px;
  color: white;
  opacity: 0.22;
  position: relative;
  z-index: 1;
}

.service-detail-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ===== Section Tag — accent line ===== */
.section-tag {
  position: relative;
  padding-left: 0.875rem;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* ===== Service Cards — ghost numbers ===== */
.services-grid {
  counter-reset: service-counter;
}

.service-card {
  counter-increment: service-counter;
}

.service-card::after {
  content: "0" counter(service-counter);
  position: absolute;
  bottom: -0.75rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.035;
  line-height: 1;
  pointer-events: none;
  transition: opacity var(--transition-slow);
  user-select: none;
}

.service-card:hover::after {
  opacity: 0.065;
}

/* ===== About image — hover zoom ===== */
.about-image-main img {
  transition: transform 0.65s ease;
}

.about-image-main:hover img {
  transform: scale(1.04);
}

/* ===== Hero Scroll-Down Indicator ===== */
.slider-scroll-down {
  position: absolute;
  bottom: 3rem;
  left: var(--spacing-lg);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition:
    opacity var(--transition-base),
    color var(--transition-base);
}

.slider-scroll-down:hover {
  color: rgba(255, 255, 255, 0.85);
}

.slider-scroll-down.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.8s ease infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(9px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.scroll-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 0.25rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-badge-float {
    right: 1rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem var(--spacing-md);
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .section-wrapper {
    padding: 4.5rem var(--spacing-md);
  }

  /* Slider mobile */
  .slider-arrow {
    display: none;
  }
  .slide-content {
    padding: 80px var(--spacing-md) 7rem;
  }
  .slide-text h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
  .slider-count {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .about-image-main {
    height: 340px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .slide-buttons {
    flex-direction: column;
  }
  .slide-text p {
    display: none;
  }
  .slide-text h1 {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .floating-wa {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
