/* =====================================================
   VARIABLES
   ===================================================== */
:root {
  --blue:       #1a5fe0;
  --blue-dark:  #1248b8;
  --blue-light: #3a7af5;
  --blue-pale:  #eef3fd;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --gray-100:   #f0f1f4;
  --gray-200:   #e2e4eb;
  --gray-400:   #9499aa;
  --gray-600:   #5a5f72;
  --gray-800:   #23263a;
  --black:      #0d0f1a;

  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Outfit', system-ui, sans-serif;

  --max-w:   1240px;
  --gutter:  clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(5rem, 9vw, 8rem);

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 12px rgba(13, 15, 26, 0.07);
  --shadow-md: 0 8px 32px rgba(13, 15, 26, 0.11);
  --shadow-lg: 0 20px 60px rgba(13, 15, 26, 0.16);
  --shadow-blue: 0 8px 30px rgba(26, 95, 224, 0.3);
}

/* =====================================================
   RESET
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--gray-600);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* =====================================================
   TYPOGRAPHY HELPERS
   ===================================================== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.9rem;
}
.eyebrow--white { color: rgba(255,255,255,0.55); }
.eyebrow--blue  { color: var(--blue); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--blue);
}
.section-title--white { color: var(--white); }
.section-title--white em { color: rgba(255,255,255,0.6); }

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.reveal-right { transform: translateX(44px); }
.reveal.visible { opacity: 1; transform: translate(0); }

/* stagger for grid children */
.srv-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.srv-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.srv-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.srv-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.blog-side .reveal:nth-child(2) { transition-delay: 0.15s; }

/* Hero fade-up */
.fade-up { opacity: 0; transform: translateY(28px); animation: fadeUp 0.9s var(--ease-out) forwards; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.4s;  }
.d3 { animation-delay: 0.65s; }
.d4 { animation-delay: 0.9s;  }
.d5 { animation-delay: 1.1s;  }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.6rem 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 0.9rem 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.4s;
}

.nav-logo {
  height: 80px;
  width: auto;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
  transition: background 0.4s;
}
.navbar.scrolled .nav-brand { color: var(--gray-800); }
.navbar.scrolled .brand-dot { background: var(--blue); }

/* Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.navbar.scrolled .nav-link { color: var(--gray-400); }
.navbar.scrolled .nav-link:hover { color: var(--blue); }

/* WhatsApp pill */
.nav-wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  transition: all 0.3s;
}
.nav-wa:hover {
  background: var(--blue-dark);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}
.navbar.scrolled .nav-wa { color: var(--white); }

/* Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.navbar.scrolled .nav-toggle span { background: var(--gray-800); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 15, 40, 0.82) 0%,
    rgba(10, 15, 40, 0.55) 55%,
    rgba(10, 15, 40, 0.25) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10rem var(--gutter) 5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 4rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(26, 95, 224, 0.18);
  border: 1px solid rgba(58, 122, 245, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.2vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
}
.ht-line { font-weight: 300; }
.ht-italic { font-style: italic; color: rgba(255,255,255,0.6); }
.ht-blue { color: var(--blue-light); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
}

/* Hero CTA */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 1rem 2rem;
  border-radius: 6px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-dark);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}
.hero-btn:hover::before { transform: translateX(0); }
.hero-btn svg, .hero-btn span, .hb-arrow { position: relative; z-index: 1; }
.hb-arrow { font-size: 1.1rem; transition: transform 0.3s; }
.hero-btn:hover .hb-arrow { transform: translateX(4px); }
.hero-btn:hover { box-shadow: var(--shadow-blue); transform: translateY(-2px); }

.hero-disclaimer {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* Stats panel */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 3rem;
  padding-bottom: 0.5rem;
}
.hstat {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hstat:last-child { border-bottom: none; }
.hstat-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hstat-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}
.scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  padding: var(--section) 0;
  background: var(--white);
}
.about-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

/* Image */
.about-visual { position: relative; }
.about-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s var(--ease);
}
.about-img-frame:hover img { transform: scale(1.04); }

.about-floating-card {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.5rem;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fc-quote {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
}
.about-floating-card p {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.4;
}

.about-ring {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px dashed var(--blue);
  opacity: 0.2;
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Text */
.about-body {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.creds-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.cred-box {
  flex: 1;
  min-width: 90px;
  background: var(--blue-pale);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cred-label {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}
.cred-desc {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.35;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  transition: all 0.3s var(--ease);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

/* =====================================================
   SERVICES
   ===================================================== */
.services {
  padding: var(--section) 0;
  background: var(--gray-100);
}
.srv-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.srv-header { margin-bottom: 3.5rem; }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Make 5th card span if needed */
.srv-grid > article:nth-child(4) { grid-column: 1 / 2; }
.srv-grid > article:nth-child(5) { grid-column: 2 / 4; }

.srv-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.srv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-pale), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.srv-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.srv-card:hover::after { opacity: 1; }

.srv-card--accent {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.srv-card--accent::after { background: linear-gradient(135deg, var(--blue-dark), transparent); }
.srv-card--accent .srv-num { color: rgba(255,255,255,0.25); }
.srv-card--accent .srv-icon { background: rgba(255,255,255,0.15); color: var(--white); }
.srv-card.srv-card--accent h3 { color: var(--white); }
.srv-card.srv-card--accent p { color: rgba(255,255,255,0.72); }
.srv-card--accent .srv-mode { color: rgba(255,255,255,0.45); }
.srv-card--accent .srv-cta { color: var(--white); }

.srv-card--dark {
  background: var(--gray-800);
  border-color: var(--gray-800);
}
.srv-card--dark .srv-num { color: rgba(255,255,255,0.12); }
.srv-card--dark .srv-icon { background: rgba(255,255,255,0.08); color: var(--blue-light); }
.srv-card.srv-card--dark h3 { color: var(--white); }
.srv-card.srv-card--dark p { color: rgba(255,255,255,0.55); }
.srv-card--dark .srv-mode { color: rgba(255,255,255,0.3); }
.srv-card--dark .srv-cta { color: var(--blue-light); }
.srv-card--dark::after { background: none; }

.srv-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.srv-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-200);
  transition: color 0.3s;
}
.srv-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.srv-card:not(.srv-card--accent):not(.srv-card--dark):hover .srv-icon {
  background: var(--blue);
  color: var(--white);
}

.srv-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.srv-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
  position: relative;
  z-index: 1;
}
.srv-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  position: relative;
  z-index: 1;
}
.srv-card--accent .srv-footer,
.srv-card--dark .srv-footer { border-top-color: rgba(255,255,255,0.1); }

.srv-mode {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  text-transform: uppercase;
}
.srv-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  transition: color 0.3s, gap 0.3s;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.srv-cta:hover { gap: 0.4rem; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
  padding: var(--section) 0;
  background: var(--black);
}
.test-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.test-header { margin-bottom: 3.5rem; }

/* Carousel */
.carousel-outer { overflow: hidden; position: relative; }
.carousel-track {
  display: flex;
  transition: transform 0.65s var(--ease-out);
}
.tcard {
  flex: 0 0 100%;
  padding: 0 clamp(0px, 8vw, 7rem);
  text-align: center;
}
.tcard-q {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 0.7;
  color: var(--blue);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}
.tcard-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.tcard-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.tcard-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tcard-info { text-align: left; }
.tcard-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  font-style: normal;
}
.tcard-detail {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.tcard-stars {
  font-size: 0.9rem;
  color: #f5c842;
  letter-spacing: 0.1em;
  margin-left: auto;
}

/* Controls */
.carousel-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.c-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  padding: 0;
}
.dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}
.c-arrows { display: flex; gap: 0.75rem; }
.c-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.c-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* =====================================================
   BLOG
   ===================================================== */
.blog {
  padding: var(--section) 0;
  background: var(--off-white);
}
.blog-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-header .section-title { margin-bottom: 0; }
.blog-all-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.blog-all-link:hover { opacity: 0.7; }

.blog-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
}
.blog-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bcard {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
}
.bcard:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.bcard-link {
  display: block;
  height: 100%;
  color: inherit;
}
.bcard-img {
  position: relative;
  overflow: hidden;
}
.bcard--featured .bcard-img { aspect-ratio: 16/10; }
.bcard--sm .bcard-img { aspect-ratio: 16/9; }

.bcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bcard:hover .bcard-img img { transform: scale(1.06); }

.bcard-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.bcard-body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.bcard-date {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}
.bcard-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.bcard:hover h3 { color: var(--blue); }

.bcard-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.bcard-read {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
}

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta-section {
  position: relative;
  padding: var(--section) 0;
  background: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background: var(--blue);
}
.c1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.c2 { width: 400px; height: 400px; bottom: -150px; left: -100px; }
.c3 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.03; background: var(--blue-dark); }

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
}
.cta-title em {
  font-style: italic;
  color: var(--blue);
}
.cta-sub {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-wa-big {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: all 0.35s var(--ease);
  letter-spacing: 0.04em;
}
.btn-wa-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
  background: #1fb558;
}

.cta-contact {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--gutter) 3rem;
}

.ft-logo {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
}
.ft-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.ft-sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}
.ft-heading {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.1rem;
}
.ft-col nav, .ft-col address {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ft-col a, .ft-col span {
  font-size: 0.85rem;
  transition: color 0.3s;
  display: block;
}
.ft-col a:hover { color: var(--blue-light); }

.ft-socials {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ft-socials a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.ft-socials a:hover { color: var(--blue-light); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bar p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.ft-privacy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.ft-privacy:hover { color: var(--blue-light); }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.35s var(--ease);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.wa-ping {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4444;
  border: 2px solid var(--white);
  animation: ping 2s ease-in-out infinite;
}
@keyframes ping {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .srv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .srv-grid > article:nth-child(4) { grid-column: auto; }
  .srv-grid > article:nth-child(5) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .about-wrap, .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { padding-top: 8rem; }
  .hero-stats {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-left: 0;
    padding-top: 2rem;
  }
  .hstat {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 0 1.5rem 0 0;
  }
  .hstat:last-child { border-right: none; }
  .about-floating-card { right: 1rem; bottom: 1rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    z-index: 99;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { color: var(--gray-600); font-size: 0.88rem; }
  .nav-link:hover { color: var(--blue); }
  .nav-wa { background: var(--blue); border-radius: 6px; }

  .srv-grid {
    grid-template-columns: 1fr;
  }
  .srv-grid > article:nth-child(5) { grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; }
  .footer-bar { flex-direction: column; text-align: center; }

  .tcard { padding: 0; }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .hstat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0;
    flex-direction: row;        /* ← número + texto en fila */
    align-items: center;
    gap: 0.75rem;
  }
  .hstat:last-child { border-bottom: none; }

  .hstat-num {
    font-size: 2rem;            /* un poco más compacto */
    flex-shrink: 0;
  }
  .hstat-label {
    font-size: 0.75rem;
    line-height: 1.3;
    color: rgba(255,255,255,0.5);
  }

  .creds-row { flex-direction: column; }
  .about-floating-card { display: none; }

.nav-logo {
  height: 60px;
  width: auto;
}

.ft-logo {
  height: 60px;
}
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
   FOOTER ACCESSIBILITY FIX
   ===================================================== */

.footer{
  background: var(--gray-800);
  color: #e5e7eb;
}

.footer p{
  color: #e5e7eb;
}

.ft-heading{
  color: #ffffff;
  font-weight: 600;
}

.footer span{
  color: #cbd5e1;
}

.ft-privacy{
  color: #e5e7eb;
}

.ft-privacy:hover{
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}