/* ============================================================
   BRISAS PC — main.css
   Palette: #06312C emerald · #B2E4E8 ice · #F4F1EE linen · #FAFAFA white
   Fonts  : Cormorant Garamond (serif) · Montserrat (sans)
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  --bp-emerald : #06312C;
  --bp-emerald2: #083830;
  --bp-emerald3: #0d5048;
  --bp-ice     : #B2E4E8;
  --bp-linen   : #F4F1EE;
  --bp-white   : #FAFAFA;

  --bp-serif   : 'Cormorant Garamond', Georgia, serif;
  --bp-sans    : 'Montserrat', system-ui, sans-serif;

  --bp-section-py: clamp(80px, 9vw, 120px);
  --bp-radius    : 2px;
  --bp-transition: 0.35s ease;
}

/* ── 2. RESET / BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--bp-sans);
  font-size  : 16px;
  font-weight: 400;
  line-height: 1.75;
  color      : var(--bp-emerald);
  background : var(--bp-white);
  overflow-x : hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


/* ── 3. TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--bp-serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--bp-emerald);
}


/* ── 4. EYEBROW ── */
.bp-eyebrow {
  display    : block;
  font-family: var(--bp-sans);
  font-size  : 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color      : var(--bp-emerald3);
  margin-bottom: 16px;
}
.bp-eyebrow--light { color: var(--bp-ice); }
.bp-eyebrow--right { text-align: right; }


/* ── 5. DIVIDERS ── */
.bp-divider {
  width      : 60px;
  height     : 2px;
  background : var(--bp-ice);
  margin     : 24px 0 32px;
}
.bp-divider--center { margin: 24px auto 32px; }
.bp-divider--ice    { background: var(--bp-ice); }


/* ── 6. BUTTONS ── */
.bp-btn {
  display    : inline-flex;
  align-items: center;
  gap        : 8px;
  font-family: var(--bp-sans);
  font-size  : 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding    : 14px 30px;
  border-radius: var(--bp-radius);
  transition : background var(--bp-transition), color var(--bp-transition),
               border-color var(--bp-transition), transform 0.2s ease;
  border     : 1.5px solid transparent;
  white-space: nowrap;
}
.bp-btn:hover  { transform: translateY(-2px); }
.bp-btn:active { transform: translateY(0); }

/* Solid: emerald fill */
.bp-btn--solid {
  background  : var(--bp-emerald);
  color       : var(--bp-white);
  border-color: var(--bp-emerald);
}
.bp-btn--solid:hover {
  background  : var(--bp-emerald2);
  border-color: var(--bp-emerald2);
}

/* Outline: emerald border on white/linen */
.bp-btn--outline {
  background  : transparent;
  color       : var(--bp-emerald);
  border-color: var(--bp-emerald);
}
.bp-btn--outline:hover {
  background  : var(--bp-emerald);
  color       : var(--bp-white);
}

/* Ghost: transparent border for dark backgrounds */
.bp-btn--ghost {
  background  : transparent;
  color       : var(--bp-white);
  border-color: rgba(255,255,255,.45);
}
.bp-btn--ghost:hover {
  background  : rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}

/* Ice: ice-blue fill */
.bp-btn--ice {
  background  : var(--bp-ice);
  color       : var(--bp-emerald);
  border-color: var(--bp-ice);
}
.bp-btn--ice:hover {
  background  : #9dd9de;
  border-color: #9dd9de;
}


/* ── 6b. INNER PAGES ── */
/* Header is no longer fixed — no top padding offset needed */
.bp-page-content { padding-top: 0; }
/* Inner page first section */
.bp-page-content > .bp-section:first-child,
.bp-page-content > section:first-child {
  padding-top: clamp(56px, 6vw, 88px);
}

/* ── 7. SECTION COMMON ── */
.bp-section {
  padding-top   : var(--bp-section-py);
  padding-bottom: var(--bp-section-py);
  background    : var(--bp-white);
}
.bp-section--linen { background: var(--bp-linen); }

.bp-section__header-row {
  display        : flex;
  align-items    : flex-end;
  justify-content: space-between;
  gap            : 24px;
  margin-bottom  : 56px;
  flex-wrap      : wrap;
}

.bp-section__head { margin-bottom: 64px; }

.bp-section__title {
  font-family: var(--bp-serif);
  font-size  : clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color      : var(--bp-emerald);
}
.bp-section__title--em {
  font-style: italic;
  color      : var(--bp-emerald3);
}
.bp-section__lead {
  font-size  : 18px;
  font-weight: 400;
  max-width  : 640px;
  margin     : 0 auto;
  color      : rgba(6,49,44,.82);
}
.bp-section__body {
  font-size  : 16px;
  font-weight: 400;
  color      : rgba(6,49,44,.85);
  margin-bottom: 18px;
}
.bp-section__actions {
  display   : flex;
  gap       : 16px;
  margin-top: 32px;
  flex-wrap : wrap;
}


/* ══════════════════════════════════════════════
   8. HEADER — classic (not sticky, scrolls with page)
══════════════════════════════════════════════ */
.bp-header {
  position  : relative;
  z-index   : 100;
  background: var(--bp-emerald);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.bp-header__inner {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  height         : 90px;
  padding        : 0 clamp(20px, 4vw, 56px);
}

/* Brand */
.bp-header__brand {
  display    : flex;
  align-items: center;
  gap        : 12px;
  text-decoration: none;
}
/* Logo image — width auto, height capped so it fits the 80px header */
.bp-header__logo-mark {
  height    : 64px;
  width     : auto;
  max-width : 260px;
  flex-shrink: 0;
}
/* Text elements hidden — logo image is used instead */
.bp-header__logo-text { display: none; }

/* Desktop nav */
.bp-nav { display: flex; align-items: center; }
.bp-nav__list {
  display    : flex;
  align-items: center;
  gap        : 40px;
  list-style : none;
  padding    : 0; margin: 0;
}
.bp-nav__list a {
  font-family   : var(--bp-sans);
  font-size     : 13px;
  font-weight   : 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : rgba(255,255,255,.85);
  transition    : color var(--bp-transition);
  padding-bottom: 3px;
  border-bottom : 1.5px solid transparent;
}
.bp-nav__list a:hover {
  color       : var(--bp-ice);
  border-color: var(--bp-ice);
}

/* Mobile toggle */
.bp-nav__toggle {
  display       : none;
  flex-direction: column;
  gap           : 5px;
  padding       : 8px;
}
.bp-nav__toggle span {
  display   : block;
  width     : 24px;
  height    : 1.5px;
  background: #fff;
  transition: transform var(--bp-transition), opacity var(--bp-transition);
}
.bp-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.bp-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bp-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer — hidden on ALL viewports by default.
   Visibility is controlled by .is-open inside the ≤991px media query only,
   so the drawer can NEVER appear on desktop regardless of the `hidden` attribute. */
.bp-nav__mobile-drawer {
  display       : none !important;
  background    : var(--bp-emerald);
  border-top    : 1px solid rgba(178,228,232,.15);
  overflow      : hidden;
}

.bp-nav__mobile-list { padding: 20px 0; }
.bp-nav__mobile-link {
  display       : block;
  padding       : 14px clamp(20px, 4vw, 56px);
  font-family   : var(--bp-sans);
  font-size     : 13px;
  font-weight   : 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color         : rgba(255,255,255,.85);
  transition    : color var(--bp-transition), background var(--bp-transition);
  border-left   : 2px solid transparent;
}
.bp-nav__mobile-link:hover      { color: var(--bp-ice); border-color: var(--bp-ice); background: rgba(178,228,232,.05); }
.bp-nav__mobile-cta             { color: var(--bp-ice) !important; }


/* ══════════════════════════════════════════════
   9. HERO — clean full-width image / slideshow carousel
══════════════════════════════════════════════ */
.bp-hero {
  position  : relative;
  overflow  : hidden;
  line-height: 0; /* remove gap below inline img */
}

/* Single image */
.bp-hero__img {
  width           : 100%;
  height          : clamp(600px, 92vh, 1040px);
  object-fit      : cover;
  object-position : center 40%;
  display         : block;
}

/* Multi-image carousel wrapper */
.bp-hero__carousel {
  height: clamp(600px, 92vh, 1040px);
}
.bp-hero__carousel .carousel-inner,
.bp-hero__carousel .carousel-item {
  height: 100%;
}
.bp-hero__carousel .carousel-item img {
  width          : 100%;
  height         : 100%;
  object-fit     : cover;
  object-position: center 40%;
  display        : block;
}

/* Hero carousel controls — subtle dark strips */
.bp-hero__ctrl {
  width     : 52px;
  background: rgba(6,49,44,.22);
  transition: background var(--bp-transition);
}
.bp-hero__ctrl:hover { background: rgba(6,49,44,.50); }

/* Top scrim removed — header is always solid emerald, no overlay needed */
.bp-hero__top-scrim { display: none; }

/* ── Hero Text + CTA Overlay ── */
.bp-hero__overlay {
  position       : absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* Safari < 14.1 fallback */
  inset          : 0;
  z-index        : 20;
  line-height    : normal; /* reset .bp-hero's line-height:0 */
  display        : flex;
  flex-direction : column;
  align-items    : center;
  justify-content: flex-end;
  padding        : 0 clamp(24px, 6vw, 80px) clamp(52px, 7vw, 88px);
  text-align     : center;
  background     : linear-gradient(
    to top,
    rgba(0,0,0,.80) 0%,
    rgba(0,0,0,.48) 35%,
    rgba(0,0,0,.08) 68%,
    transparent 100%
  );
}
.bp-hero__overlay-text {
  max-width    : 860px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.bp-hero__overlay-eyebrow {
  display       : block;
  font-family   : var(--bp-sans);
  font-size     : 12px;
  font-weight   : 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color         : var(--bp-ice);
  margin-bottom : 22px;
  text-shadow   : 0 1px 10px rgba(0,0,0,.60);
}
.bp-hero__overlay-headline {
  font-family  : var(--bp-serif);
  font-size    : clamp(64px, 9vw, 112px);
  font-weight  : 400;
  line-height  : 1.0;
  color        : #fff;
  margin-bottom: 22px;
  text-shadow  : 0 2px 12px rgba(0,0,0,.55),
                 0 4px 40px rgba(0,0,0,.35);
}
.bp-hero__overlay-headline em {
  font-style: italic;
  color      : var(--bp-ice);
  display    : block;
}
.bp-hero__overlay-desc {
  font-size  : clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  color      : rgba(255,255,255,.90);
  max-width  : 580px;
  margin     : 0 auto;
  line-height: 1.85;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.bp-hero__overlay-actions {
  display        : flex;
  gap            : 18px;
  flex-wrap      : wrap;
  justify-content: center;
}

/* Large button modifier for hero overlay */
.bp-btn--lg {
  font-size     : 13px;
  line-height   : normal;
  padding       : 17px 38px;
  letter-spacing: 0.16em;
}

/* Mobile hero text */
@media (max-width: 767.98px) {
  .bp-hero__img,
  .bp-hero__carousel          { height: clamp(580px, 92vh, 800px); }  /* vh: Safari < 15.4 fallback */
  .bp-hero__img,
  .bp-hero__carousel          { height: clamp(580px, 92svh, 800px); } /* svh: excludes mobile browser chrome */
  .bp-hero__overlay           { padding-bottom: clamp(52px, 10vw, 72px); }
  .bp-hero__overlay-headline  { font-size: clamp(48px, 11vw, 72px); }
  .bp-hero__overlay-desc      { font-size: 14px; }
}


/* ══════════════════════════════════════════════
   9b. HERO TEXT BLOCK — white section below hero image
══════════════════════════════════════════════ */
.bp-hero-text {
  background: var(--bp-white);
  padding   : clamp(64px, 7vw, 100px) 0 0;
}

.bp-hero-text__content {
  text-align: center;
  max-width : 800px;
  margin    : 0 auto;
  padding   : 0 clamp(20px, 5vw, 40px);
}

.bp-hero-text__headline {
  font-family  : var(--bp-serif);
  font-size    : clamp(44px, 7vw, 80px);
  font-weight  : 300;
  color        : var(--bp-emerald);
  line-height  : 1.08;
  margin-bottom: 0;
}
.bp-hero-text__headline em {
  font-style: italic;
  color      : var(--bp-emerald3);
  display    : block;
}

.bp-hero-text__desc {
  font-size  : 17px;
  font-weight: 300;
  color      : rgba(6,49,44,.72);
  max-width  : 600px;
  margin     : 0 auto 40px;
  line-height: 1.85;
}

.bp-hero-text__actions {
  display        : flex;
  gap            : 16px;
  justify-content: center;
  flex-wrap      : wrap;
  margin-bottom  : clamp(52px, 6vw, 84px);
}

/* ── SVG Icon Stats Strip ── */
.bp-icon-stats {
  background: var(--bp-linen);
  padding   : clamp(52px, 6vw, 80px) 0;
  border-top: 1px solid rgba(6,49,44,.07);
}
.bp-icon-stats__row {
  display              : grid;
  grid-template-columns: repeat(4, 1fr);
  gap                  : 24px;
}
.bp-icon-stats__item {
  display       : flex;
  flex-direction: column;
  align-items   : center;
  text-align    : center;
  gap           : 14px;
  padding       : 0 12px;
}
.bp-icon-stats__icon {
  width        : 76px;
  height       : 76px;
  border-radius: 50%;
  background   : var(--bp-emerald);
  display      : flex;
  align-items  : center;
  justify-content: center;
  color        : var(--bp-ice);
  flex-shrink  : 0;
  transition   : transform var(--bp-transition), background var(--bp-transition);
}
.bp-icon-stats__item:hover .bp-icon-stats__icon {
  transform : translateY(-5px);
  background: var(--bp-emerald3);
}
.bp-icon-stats__icon svg {
  width : 34px;
  height: 34px;
}
.bp-icon-stats__num {
  font-family: var(--bp-serif);
  font-size  : clamp(38px, 5vw, 54px);
  font-weight: 300;
  color      : var(--bp-emerald);
  line-height: 1;
}
.bp-icon-stats__label {
  font-family   : var(--bp-sans);
  font-size     : 11px;
  font-weight   : 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color         : rgba(6,49,44,.6);
  line-height   : 1.5;
}

@media (max-width: 767.98px) {
  .bp-icon-stats__row { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
}
@media (max-width: 399.98px) {
  .bp-icon-stats__row { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════
   9c. SLIDESHOW — smaller Bootstrap 5 carousel
══════════════════════════════════════════════ */
.bp-slideshow {
  background: var(--bp-linen);
  padding   : clamp(48px, 5vw, 72px) 0;
}

.bp-slideshow__carousel {
  border-radius: var(--bp-radius);
  overflow     : hidden;
  box-shadow   : 0 8px 48px rgba(6,49,44,.13);
}

.bp-slideshow__img {
  width           : 100%;
  height          : clamp(240px, 40vh, 460px);
  object-fit      : cover;
  object-position : center;
  display         : block;
}

.bp-slideshow__caption {
  background    : rgba(6,49,44,.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding       : 12px 24px;
  bottom        : 0;
  left          : 0;
  right         : 0;
  text-align    : left;
}
.bp-slideshow__caption p {
  font-family   : var(--bp-sans);
  font-size     : 12px;
  font-weight   : 400;
  letter-spacing: 0.08em;
  color         : rgba(250,250,250,.92);
  margin        : 0;
}

/* Dot indicators */
.bp-slideshow__indicators button {
  width        : 8px;
  height       : 8px;
  border-radius: 50%;
  background   : rgba(178,228,232,.45);
  border-top   : none;
  border-bottom: none;
  margin       : 0 4px;
  flex-shrink  : 0;
}
.bp-slideshow__indicators button.active { background: var(--bp-ice); }

/* Prev/Next arrow styling — ice colour to match palette */
.bp-slideshow .carousel-control-prev,
.bp-slideshow .carousel-control-next {
  width     : 48px;
  background: rgba(6,49,44,.30);
  transition: background var(--bp-transition);
}
.bp-slideshow .carousel-control-prev:hover,
.bp-slideshow .carousel-control-next:hover {
  background: rgba(6,49,44,.55);
}

/* ── Slideshow placeholder (no images uploaded yet) ── */
.bp-slideshow__placeholder {
  width          : 100%;
  height         : clamp(240px, 40vh, 460px);
  background     : var(--bp-white);
  border         : 2px dashed rgba(6,49,44,.18);
  display        : flex;
  align-items    : center;
  justify-content: center;
}
.bp-slideshow__ph-inner {
  text-align: center;
  color     : rgba(6,49,44,.45);
  padding   : 24px;
}
.bp-slideshow__ph-inner svg { margin: 0 auto 16px; display: block; }
.bp-slideshow__ph-num {
  font-family  : var(--bp-serif);
  font-size    : 22px;
  font-weight  : 300;
  margin-bottom: 8px;
  color        : rgba(6,49,44,.55);
}
.bp-slideshow__ph-hint {
  font-size  : 12px;
  line-height: 1.7;
  color      : rgba(6,49,44,.45);
}
.bp-slideshow__ph-hint strong { color: rgba(6,49,44,.7); }

/* ── Hero placeholder (no image uploaded yet) ── */
.bp-hero__placeholder {
  width          : 100%;
  height         : clamp(480px, 82vh, 960px);
  background     : var(--bp-linen);
  border-bottom  : 2px dashed rgba(6,49,44,.18);
  display        : flex;
  align-items    : center;
  justify-content: center;
}
.bp-hero__ph-inner {
  text-align: center;
  color     : rgba(6,49,44,.45);
  padding   : 24px;
}
.bp-hero__ph-inner svg { margin: 0 auto 16px; display: block; }
.bp-hero__ph-inner p {
  font-family  : var(--bp-serif);
  font-size    : 26px;
  font-weight  : 300;
  margin-bottom: 10px;
  color        : rgba(6,49,44,.6);
}
.bp-hero__ph-inner span {
  font-size  : 13px;
  line-height: 1.7;
  color      : rgba(6,49,44,.45);
}
.bp-hero__ph-inner strong { color: rgba(6,49,44,.7); }


/* ══════════════════════════════════════════════
   10. NOSOTROS
══════════════════════════════════════════════ */
.bp-nosotros { background: var(--bp-white); }

/* Override body text specifically for Nosotros — bigger & more readable */
.bp-nosotros .bp-section__body {
  font-size  : 17px;
  font-weight: 400;
  color      : rgba(6,49,44,.88);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* Quad card grid */
.bp-quad-grid {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  gap                  : 16px;
}

.bp-quad-card {
  position     : relative;
  height       : 220px;
  border-radius: var(--bp-radius);
  overflow     : hidden;
  background   : var(--bp-emerald);
  display      : flex;
  flex-direction: column;
  justify-content: flex-end;
  padding      : 20px;
  transition   : transform var(--bp-transition);
}
.bp-quad-card--b {
  background: var(--bp-emerald2);
}
.bp-quad-card:hover { transform: translateY(-4px); }

.bp-quad-card__img {
  position  : absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset     : 0;
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  opacity   : .7;
  transition: opacity var(--bp-transition);
}
.bp-quad-card:hover .bp-quad-card__img { opacity: .85; }

.bp-quad-card__num {
  font-family   : var(--bp-serif);
  font-size     : 48px;
  font-weight   : 300;
  color         : rgba(178,228,232,.2);
  position      : absolute;
  top           : 12px;
  right         : 16px;
  line-height   : 1;
  pointer-events: none;
}
.bp-quad-card__label {
  position      : relative;
  z-index       : 1;
  font-family   : var(--bp-sans);
  font-size     : 12px;
  font-weight   : 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : var(--bp-white);
}


/* ══════════════════════════════════════════════
   11. RESEÑA — TIMELINE
══════════════════════════════════════════════ */
.bp-resena { text-align: center; }

.bp-timeline {
  position  : relative;
  max-width : 1000px;
  margin    : 0 auto;
  text-align: left;
}

.bp-timeline__spine {
  position  : absolute;
  top       : 0; bottom: 0;
  left      : 50%;
  width     : 1px;
  background: var(--bp-ice);
  transform : translateX(-50%);
}

.bp-tl-row {
  display              : grid;
  grid-template-columns: 1fr 32px 1fr;
  align-items          : center;
  margin-bottom        : 48px;
  gap                  : 0;
}
.bp-tl-row:last-child { margin-bottom: 0; }

.bp-tl-dot {
  width        : 16px;
  height       : 16px;
  border-radius: 50%;
  background   : var(--bp-ice);
  border       : 3px solid var(--bp-linen);
  box-shadow   : 0 0 0 2px var(--bp-emerald);
  justify-self : center;
  flex-shrink  : 0;
  position     : relative;
  z-index      : 1;
}

.bp-tl-card--left,
.bp-tl-card--right {
  background   : var(--bp-emerald);
  border       : none;
  padding      : 32px 36px;
  border-radius: var(--bp-radius);
  transition   : transform var(--bp-transition), box-shadow var(--bp-transition);
}
.bp-tl-card--left  { margin-right: 24px; text-align: right; }
.bp-tl-card--right { margin-left : 24px; }
.bp-tl-card--left:hover,
.bp-tl-card--right:hover {
  transform : translateY(-4px);
  box-shadow: 0 12px 40px rgba(6,49,44,.25);
}

/* Year eyebrow on green card → ice colour */
.bp-tl-card--left  .bp-eyebrow,
.bp-tl-card--right .bp-eyebrow {
  color: var(--bp-ice);
}

.bp-tl-card--empty { min-height: 1px; }

.bp-tl-card__title {
  font-family  : var(--bp-serif);
  font-size    : clamp(20px, 2.4vw, 26px);
  font-weight  : 400;
  color        : #ffffff;
  margin-bottom: 12px;
  line-height  : 1.2;
}
.bp-tl-card__body {
  font-size  : 15px;
  font-weight: 300;
  color      : rgba(250,250,250,.85);
  line-height: 1.78;
}


/* ══════════════════════════════════════════════
   12. PROYECTOS
══════════════════════════════════════════════ */
.bp-proyectos { padding-bottom: 0; }

.bp-proj-grid {
  display              : grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows       : 360px;
  gap                  : 0;
  margin-top           : 0;
}

.bp-proj-card {
  position  : relative;
  overflow  : hidden;
  cursor    : pointer;
}
.bp-proj-card--tall { grid-row: span 1; height: 480px; }

.bp-proj-card__img {
  position  : absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset     : 0;
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bp-proj-card:hover .bp-proj-card__img { transform: scale(1.06); }

.bp-proj-card__img-placeholder {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset   : 0;
}
.bp-proj-card__img-glow {
  position  : absolute;
  bottom    : -40px;
  left      : 50%;
  transform : translateX(-50%);
  width     : 200px;
  height    : 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178,228,232,.15) 0%, transparent 70%);
}

.bp-proj-card__overlay {
  position  : absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset     : 0;
  background: linear-gradient(to top, rgba(6,49,44,.85) 0%, rgba(6,49,44,.2) 60%, transparent 100%);
  z-index   : 1;
  transition: background var(--bp-transition);
}
.bp-proj-card:hover .bp-proj-card__overlay {
  background: linear-gradient(to top, rgba(6,49,44,.95) 0%, rgba(6,49,44,.4) 70%, transparent 100%);
}

.bp-proj-card__body {
  position : absolute;
  bottom   : 0; left: 0; right: 0;
  z-index  : 2;
  padding  : 28px 28px 32px;
}

.bp-proj-card__cat {
  display       : block;
  font-family   : var(--bp-sans);
  font-size     : 10px;
  font-weight   : 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color         : var(--bp-ice);
  margin-bottom : 8px;
}
.bp-proj-card__title {
  font-family: var(--bp-serif);
  font-size  : clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  color      : var(--bp-white);
  margin-bottom: 12px;
}
.bp-proj-card__desc {
  font-size  : 13px;
  color      : rgba(250,250,250,.8);
  line-height: 1.65;
  max-height : 0;
  overflow   : hidden;
  transition : max-height 0.4s ease, opacity 0.4s ease;
  opacity    : 0;
}
.bp-proj-card:hover .bp-proj-card__desc {
  max-height: 120px;
  opacity   : 1;
}
.bp-proj-card__line {
  width     : 40px;
  height    : 1px;
  background: var(--bp-ice);
  margin-top: 16px;
  opacity   : .5;
  transition: width 0.4s ease, opacity 0.4s ease;
}
.bp-proj-card:hover .bp-proj-card__line {
  width  : 70px;
  opacity: 1;
}

.bp-proj-card__year {
  position      : absolute;
  top           : 20px;
  right         : 20px;
  z-index       : 2;
  font-family   : var(--bp-sans);
  font-size     : 10px;
  font-weight   : 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color         : rgba(178,228,232,.8);
  background    : rgba(6,49,44,.4);
  padding       : 5px 10px;
  border-radius : var(--bp-radius);
  backdrop-filter: blur(4px);
}


/* ══════════════════════════════════════════════
   13. QUOTE STRIP
══════════════════════════════════════════════ */
.bp-quote-strip {
  background : var(--bp-emerald);
  padding    : 80px clamp(20px, 8vw, 140px);
  text-align : center;
}

.bp-quote-strip__text {
  font-family: var(--bp-serif);
  font-size  : clamp(22px, 3vw, 34px);
  font-weight: 300;
  font-style : italic;
  color      : var(--bp-white);
  line-height: 1.5;
  max-width  : 820px;
  margin     : 0 auto;
}

.bp-quote-strip__author {
  font-family   : var(--bp-sans);
  font-size     : 12px;
  font-weight   : 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color         : rgba(178,228,232,.7);
  font-style    : normal;
}


/* ══════════════════════════════════════════════
   14. BLOG
══════════════════════════════════════════════ */

/* Section wrapper */
.bp-blog-section { background: var(--bp-linen); }

.bp-blog-section__header {
  display        : flex;
  align-items    : flex-end;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : 20px;
  margin-bottom  : 8px;
}
.bp-blog-section__header .bp-section__title { margin-bottom: 0; }

/* Placeholder card — slightly muted */
.bp-blog-card--placeholder { opacity: .82; }
.bp-blog-card--placeholder .bp-blog-card__title a,
.bp-blog-card--placeholder .bp-blog-card__excerpt,
.bp-blog-card--placeholder .bp-blog-card__read-more { cursor: default; pointer-events: none; }

.bp-blog-card {
  background   : var(--bp-white);
  border-radius: var(--bp-radius);
  overflow     : hidden;
  border       : 1px solid rgba(6,49,44,.06);
  transition   : box-shadow var(--bp-transition), transform var(--bp-transition);
  height       : 100%;
  display      : flex;
  flex-direction: column;
}
.bp-blog-card:hover {
  box-shadow: 0 12px 40px rgba(6,49,44,.12);
  transform : translateY(-4px);
}

.bp-blog-card__img-wrap {
  position   : relative;
  overflow   : hidden;
  display    : block;
  flex-shrink: 0;
  height     : 200px; /* Safari < 15 fallback — fixed height */
}
@supports (aspect-ratio: 1) {
  .bp-blog-card__img-wrap {
    aspect-ratio: 16 / 10;
    height      : auto;
  }
}
.bp-blog-card__img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.bp-blog-card:hover .bp-blog-card__img { transform: scale(1.05); }

.bp-blog-card__img-placeholder {
  width     : 100%;
  height    : 100%;
  background: var(--bp-emerald);
  display   : flex;
  align-items: center;
  justify-content: center;
}
.bp-blog-card__img-placeholder span {
  font-family: var(--bp-serif);
  font-size  : 56px;
  font-weight: 300;
  color      : rgba(178,228,232,.2);
}
.bp-blog-card__img-placeholder--0 { background: linear-gradient(135deg, #06312C, #083830); }
.bp-blog-card__img-placeholder--1 { background: linear-gradient(135deg, #083830, #0d5048); }
.bp-blog-card__img-placeholder--2 { background: linear-gradient(135deg, #0a4a42, #06312C); }

.bp-blog-card__cat {
  position      : absolute;
  top           : 16px;
  left          : 16px;
  font-family   : var(--bp-sans);
  font-size     : 10px;
  font-weight   : 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background    : var(--bp-emerald);
  color         : var(--bp-ice);
  padding       : 5px 12px;
  border-radius : var(--bp-radius);
}

.bp-blog-card__body {
  padding    : 28px 28px 32px;
  display    : flex;
  flex-direction: column;
  flex       : 1;
}
.bp-blog-card__date {
  font-family   : var(--bp-sans);
  font-size     : 11px;
  font-weight   : 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color         : var(--bp-emerald3);
  margin-bottom : 12px;
  display       : block;
}
.bp-blog-card__title {
  font-family: var(--bp-serif);
  font-size  : 22px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 14px;
  flex       : 1;
}
.bp-blog-card__title a { color: var(--bp-emerald); transition: color var(--bp-transition); }
.bp-blog-card__title a:hover { color: var(--bp-emerald3); }

.bp-blog-card__excerpt {
  font-size  : 14px;
  color      : rgba(6,49,44,.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.bp-blog-card__read-more {
  display    : inline-flex;
  align-items: center;
  gap        : 6px;
  font-family: var(--bp-sans);
  font-size  : 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color      : var(--bp-emerald);
  border-bottom : 1px solid var(--bp-ice);
  padding-bottom: 3px;
  align-self : flex-start;
  transition : color var(--bp-transition), border-color var(--bp-transition);
}
.bp-blog-card__read-more:hover {
  color       : var(--bp-emerald3);
  border-color: var(--bp-emerald3);
}


/* ══════════════════════════════════════════════
   15. CONTACTO
══════════════════════════════════════════════ */
.bp-contacto { background: var(--bp-white); }

/* Contact info */
.bp-contact-info { display: flex; flex-direction: column; gap: 0; }

.bp-contact-info__row {
  display    : flex;
  align-items: flex-start;
  gap        : 16px;
  padding    : 20px 0;
  border-bottom: 1px solid rgba(6,49,44,.07);
}
.bp-contact-info__row:first-child { padding-top: 0; }
.bp-contact-info__row:last-child  { border-bottom: none; }

.bp-contact-info__icon {
  width       : 44px;
  height      : 44px;
  border-radius: 50%;
  background  : var(--bp-linen);
  display     : flex;
  align-items : center;
  justify-content: center;
  flex-shrink : 0;
}

.bp-contact-info__label {
  display       : block;
  font-family   : var(--bp-sans);
  font-size     : 10px;
  font-weight   : 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color         : var(--bp-emerald3);
  margin-bottom : 4px;
}
.bp-contact-info__value {
  display    : block;
  font-size  : 14px;
  font-weight: 300;
  color      : var(--bp-emerald);
  line-height: 1.5;
}
a.bp-contact-info__value:hover { text-decoration: underline; }

/* Form card */
.bp-contact-form-card {
  background   : var(--bp-linen);
  padding      : clamp(32px, 5vw, 56px);
  border-radius: var(--bp-radius);
  border       : 1px solid rgba(6,49,44,.07);
}
.bp-contact-form-card__title {
  font-family: var(--bp-serif);
  font-size  : 28px;
  font-weight: 400;
  color      : var(--bp-emerald);
  margin-bottom: 8px;
}
.bp-contact-form-card__sub {
  font-size  : 14px;
  color      : rgba(6,49,44,.65);
  margin-bottom: 32px;
}

/* Inputs */
.bp-form__input {
  display     : block;
  width       : 100%;
  padding     : 14px 18px;
  font-family : var(--bp-sans);
  font-size   : 14px;
  font-weight : 300;
  color       : var(--bp-emerald);
  background  : var(--bp-white);
  border      : 1.5px solid rgba(6,49,44,.15);
  border-radius: var(--bp-radius);
  outline     : none;
  transition  : border-color var(--bp-transition), box-shadow var(--bp-transition);
  appearance  : none;
}
.bp-form__input::placeholder { color: rgba(6,49,44,.4); }
.bp-form__input:focus {
  border-color: var(--bp-emerald);
  box-shadow  : 0 0 0 3px rgba(6,49,44,.07);
}

.bp-form__select { cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2306312C' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.bp-form__textarea { resize: vertical; min-height: 120px; }

.bp-form__feedback {
  padding      : 12px 16px;
  border-radius: var(--bp-radius);
  font-size    : 14px;
  margin-bottom: 16px;
}
.bp-form__feedback.is-success { background: rgba(178,228,232,.3); color: var(--bp-emerald); border: 1px solid var(--bp-ice); }
.bp-form__feedback.is-error   { background: rgba(220,53,69,.1); color: #dc3545; border: 1px solid rgba(220,53,69,.25); }

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

.bp-spinner {
  animation: bp-spin 0.8s linear infinite;
  display   : block;
}
@keyframes bp-spin {
  to { transform: rotate(360deg); }
}


/* ══════════════════════════════════════════════
   16. FOOTER — two-zone: linen top columns + emerald bottom bar
══════════════════════════════════════════════ */
.bp-footer { background: var(--bp-linen); }

/* ── Top columns zone (light background) ── */
.bp-footer__top {
  background   : var(--bp-linen);
  padding      : clamp(48px, 5vw, 68px) 0;
  border-bottom: 1px solid rgba(6,49,44,.1);
}

/* Brand */
.bp-footer__brand {
  display    : flex;
  align-items: center;
  gap        : 12px;
  margin-bottom: 20px;
  text-decoration: none;
}
/* Footer logo image */
.bp-footer__logo {
  height   : 140px;
  width    : auto;
  max-width: 420px;
}
/* Text hidden — logo image only */
.bp-footer__brand-text { display: none; }
.bp-footer__tagline {
  font-size  : 15px;
  font-weight: 400;
  line-height: 1.75;
  color      : rgba(6,49,44,.82);
  margin-bottom: 24px;
}

/* Social */
.bp-footer__social { display: flex; gap: 10px; }
.bp-footer__social-btn {
  width        : 36px;
  height       : 36px;
  border-radius: 50%;
  border       : 1.5px solid rgba(6,49,44,.22);
  display      : flex;
  align-items  : center;
  justify-content: center;
  font-family  : var(--bp-sans);
  font-size    : 11px;
  font-weight  : 600;
  letter-spacing: 0;
  color        : rgba(6,49,44,.55);
  transition   : background var(--bp-transition), border-color var(--bp-transition), color var(--bp-transition);
}
a.bp-footer__social-btn:hover {
  background  : var(--bp-emerald);
  border-color: var(--bp-emerald);
  color       : var(--bp-ice);
}

/* Column headings */
.bp-footer__heading {
  font-family   : var(--bp-sans);
  font-size     : 12px;
  font-weight   : 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color         : var(--bp-emerald);
  margin-bottom : 18px;
  padding-bottom: 10px;
  border-bottom : 1.5px solid rgba(6,49,44,.15);
}
.bp-footer__links { list-style: none; padding: 0; }
.bp-footer__links li { margin-bottom: 10px; }
.bp-footer__links a, .bp-footer__links li {
  font-size  : 15px;
  font-weight: 400;
  color      : rgba(6,49,44,.85);
  transition : color var(--bp-transition);
}
.bp-footer__links a:hover { color: var(--bp-emerald); text-decoration: underline; }

/* Contact info */
.bp-footer__contact-info p {
  font-size    : 15px;
  font-weight  : 400;
  color        : rgba(6,49,44,.85);
  margin-bottom: 8px;
}

/* Newsletter */
.bp-footer__newsletter { margin-top: 22px; }
.bp-footer__newsletter-label {
  font-size     : 11px;
  font-weight   : 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color         : var(--bp-emerald);
  margin-bottom : 12px;
}
.bp-footer__newsletter-form {
  display: flex;
  gap    : 0;
}
.bp-footer__newsletter-input {
  flex         : 1;
  padding      : 11px 14px;
  font-family  : var(--bp-sans);
  font-size    : 13px;
  background   : var(--bp-white);
  border       : 1.5px solid rgba(6,49,44,.18);
  border-right : none;
  border-radius: var(--bp-radius) 0 0 var(--bp-radius);
  color        : var(--bp-emerald);
  outline      : none;
}
.bp-footer__newsletter-input::placeholder { color: rgba(6,49,44,.35); }
.bp-footer__newsletter-input:focus { border-color: var(--bp-emerald); }
.bp-footer__newsletter-btn {
  padding      : 11px 18px;
  background   : var(--bp-emerald);
  color        : var(--bp-ice);
  font-size    : 16px;
  font-weight  : 600;
  border-radius: 0 var(--bp-radius) var(--bp-radius) 0;
  transition   : background var(--bp-transition);
  cursor       : pointer;
  border       : none;
}
.bp-footer__newsletter-btn:hover { background: var(--bp-emerald3); }

/* ── Bottom bar (dark emerald) ── */
.bp-footer__bottom {
  padding   : 22px 0;
  background: var(--bp-emerald);
}
.bp-footer__bottom-inner {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : 12px;
  font-size      : 13px;
  font-weight    : 400;
  color          : rgba(250,250,250,.88);
}
.bp-footer__bottom-inner a { color: var(--bp-ice); transition: color var(--bp-transition); }
.bp-footer__bottom-inner a:hover { color: var(--bp-ice); }
.bp-footer__legal { display: flex; gap: 24px; }


/* ══════════════════════════════════════════════
   17. RESPONSIVE
══════════════════════════════════════════════ */

/* Tablets / wide mobile (< 992px) */
@media (max-width: 991.98px) {
  /* Hide desktop nav, show toggle */
  .bp-nav         { display: none !important; }
  .bp-nav__toggle { display: flex !important; }

  /* Mobile drawer: override the base `display:none !important` only when JS opens it */
  .bp-nav__mobile-drawer.is-open { display: block !important; }

  .bp-proj-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows       : 320px;
  }
  .bp-proj-card--tall { height: auto; }

  .bp-timeline__spine { display: none; }
  .bp-tl-row {
    grid-template-columns: 1fr;
    gap                  : 12px;
  }
  .bp-tl-card--left  { margin-right: 0; text-align: left; }
  .bp-tl-card--right { margin-left : 0; }
  .bp-tl-card--empty { display: none; }
  .bp-tl-dot         { justify-self: flex-start; margin-left: 20px; }

  .bp-quad-grid { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════
   18. FLOATING WIDGETS — Back to Top + WhatsApp
══════════════════════════════════════════════ */

/* ── Back to Top ── */
.bp-back-top {
  position      : fixed;
  bottom        : 32px;
  right         : 32px;
  z-index       : 990;
  width         : 48px;
  height        : 48px;
  border-radius : 50%;
  background    : var(--bp-emerald);
  color         : #fff;
  border        : none;
  cursor        : pointer;
  display       : flex;
  align-items   : center;
  justify-content: center;
  box-shadow    : 0 4px 16px rgba(6,49,44,.35);
  opacity       : 0;
  transform     : translateY(14px);
  transition    : opacity .3s ease, transform .3s ease, background var(--bp-transition);
  pointer-events: none;
}
.bp-back-top.is-visible {
  opacity       : 1;
  transform     : translateY(0);
  pointer-events: all;
}
.bp-back-top:hover  { background: var(--bp-emerald3); }
.bp-back-top:active { transform: translateY(2px); }
.bp-back-top svg    { width: 22px; height: 22px; }

/* ── WhatsApp ── */
.bp-whatsapp {
  position      : fixed;
  bottom        : 32px;
  left          : 32px;
  z-index       : 990;
  width         : 56px;
  height        : 56px;
  border-radius : 50%;
  background    : #25D366;
  color         : #fff;
  display       : flex;
  align-items   : center;
  justify-content: center;
  box-shadow    : 0 4px 20px rgba(37,211,102,.45);
  transition    : transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.bp-whatsapp:hover {
  transform : scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.60);
  color     : #fff;
}
.bp-whatsapp:active { transform: scale(1.02); }
.bp-whatsapp svg    { width: 30px; height: 30px; }

/* Pulse ring on WhatsApp button */
.bp-whatsapp::before {
  content      : '';
  position     : absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  inset        : -4px;
  border-radius: 50%;
  border       : 2px solid rgba(37,211,102,.4);
  animation    : bp-wa-pulse 2.2s ease-out infinite;
}
@keyframes bp-wa-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 575.98px) {
  .bp-back-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
  .bp-whatsapp { bottom: 20px; left : 20px; width: 50px; height: 50px; }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
  .bp-proj-grid {
    grid-template-columns: 1fr;
    grid-auto-rows       : 280px;
  }
  .bp-proj-card { height: 280px; }

  .bp-quad-grid { grid-template-columns: 1fr 1fr; }
  .bp-quad-card { height: 160px; margin-top: 0 !important; }

  .bp-section__header-row {
    flex-direction: column;
    align-items   : flex-start;
  }

  .bp-footer__bottom-inner {
    flex-direction: column;
    align-items   : flex-start;
  }
  .bp-footer__legal { flex-direction: column; gap: 8px; }
}

/* Small mobile (< 480px) */
@media (max-width: 479.98px) {
  .bp-stats-bar { grid-template-columns: 1fr 1fr; }
  .bp-hero__actions { flex-direction: column; align-items: center; }
  .bp-btn { width: 100%; justify-content: center; }
  .bp-section__actions { flex-direction: column; }
  .bp-contact-form-card { padding: 28px 20px; }
}
