/* =========================================================
   Orange County Pro Outdoor & Home
   THEME: Clear / White + Green + Dark Coffee
   Mobile-first • Tablet • Desktop
   File: styles.css
========================================================= */

/* ---------- Theme Tokens ---------- */
:root{
  /* Core palette */
  --bg: #f7f5ef;            /* warm white */
  --bg2: #fffdf7;           /* cleaner white */
  --surface: rgba(255,255,255,.82);
  --surface2: rgba(255,255,255,.92);
  --stroke: rgba(63, 46, 33, .14);   /* coffee stroke */
  --stroke2: rgba(63, 46, 33, .10);

  --text: #1f1a14;          /* deep coffee */
  --muted: rgba(31, 26, 20, .72);
  --muted2: rgba(31, 26, 20, .60);

  --coffee: #2e2015;
  --coffee2: #3f2e21;       /* dark coffee */
  --green: #2f7d32;         /* trusted green */
  --green2:#1f5f23;         /* deeper green */
  --leaf:  rgba(47,125,50,.14);
  --leaf2: rgba(47,125,50,.22);

  /* Effects */
  --shadow: 0 18px 55px rgba(46,32,21,.18);
  --shadow2: 0 10px 30px rgba(46,32,21,.12);
  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
  --pad: 18px;

  --ring: 0 0 0 4px rgba(47,125,50,.18);
}

/* ---------- Base / Reset ---------- */
*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 15% 10%, rgba(47,125,50,.14), transparent 55%),
    radial-gradient(900px 540px at 85% 15%, rgba(63,46,33,.12), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
strong{color: var(--coffee)}
img{max-width:100%; display:block}
::selection{background: rgba(47,125,50,.18)}

.container{
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.center{
  display:flex;
  justify-content:center;
  margin-top:18px;
}

/* =========================================================
   Buttons
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.65);
  color: var(--coffee);
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(46,32,21,.08);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  user-select:none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.85);
  box-shadow: 0 16px 34px rgba(46,32,21,.12);
}
.btn:active{transform: translateY(0px)}
.btn:focus-visible{outline:none; box-shadow: var(--ring)}

.btn--primary{
  background: linear-gradient(135deg, rgba(47,125,50,1), rgba(31,95,35,1));
  border-color: rgba(31,95,35,.35);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(47,125,50,.22);
}
.btn--primary:hover{
  background: linear-gradient(135deg, rgba(47,125,50,1), rgba(31,95,35,.92));
  box-shadow: 0 22px 50px rgba(47,125,50,.26);
}
.btn--ghost{
  background: rgba(255,255,255,.55);
  border-color: var(--stroke2);
}
.btn--block{width:100%}
.btn--sm{padding: 10px 14px; font-weight: 900}
.btn--lg{padding: 14px 18px; font-size: 1.02rem}

/* ---------- Icon Button ---------- */
.iconbtn{
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.72);
  color: var(--coffee);
  padding: 10px 12px;
  cursor:pointer;
  box-shadow: 0 12px 26px rgba(46,32,21,.10);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.iconbtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 35px rgba(46,32,21,.14);
}
.iconbtn:active{transform: translateY(0px)}
.iconbtn:focus-visible{outline:none; box-shadow: var(--ring)}

/* =========================================================
   Sticky Call Bar
========================================================= */
.callbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke2);
}
.callbar__inner{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 0;
  gap: 10px;
}
.callbar__left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width:0;
}
.callbar__text{
  font-size:.92rem;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47,125,50,.14);
}
.callbar__right{
  display:flex;
  gap:10px;
  flex:0 0 auto;
}

/* =========================================================
   Header / Mini Nav
========================================================= */
.header{
  position: sticky;
  top: 52px;
  z-index: 40;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke2);
}
.nav{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 1000;
}
.brand__mark{
  width:38px; height:38px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(47,125,50,.12);
  border:1px solid rgba(47,125,50,.22);
  box-shadow: 0 12px 30px rgba(47,125,50,.14);
  letter-spacing:.6px;
  color: var(--green2);
}
.brand__name{
  font-size: 1rem;
  color: var(--coffee);
}

.nav__toggle{
  display:inline-flex;
  flex-direction:column;
  gap:5px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.70);
  border-radius: 14px;
  padding: 10px;
  cursor:pointer;
  box-shadow: 0 10px 24px rgba(46,32,21,.08);
}
.nav__toggle span{
  width:22px; height:2px;
  background: rgba(46,32,21,.88);
  border-radius:999px;
}

.nav__links{
  position:absolute;
  left: var(--pad);
  right: var(--pad);
  top: 108px;
  display:none;
  flex-direction:column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.nav__links a{
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nav__links a:hover{
  color: var(--coffee);
  background: rgba(47,125,50,.08);
  border-color: rgba(47,125,50,.18);
}
.nav__links .nav__cta{
  color:#fff;
  background: linear-gradient(135deg, rgba(47,125,50,1), rgba(31,95,35,1));
  border-color: rgba(31,95,35,.32);
  font-weight: 1000;
}
.nav__links.is-open{display:flex}
/* =========================================================
   HERO (complete + stable, mobile-first)
   Includes: hero layout + media card + carousel (12 slides)
========================================================= */

.hero{
  position:relative;
  padding: 26px 0 12px;
  overflow:hidden; /* prevents any accidental horizontal bleed */
}

.hero__bg{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}

.blur{ filter: blur(48px); opacity:.9; }

.blob{
  position:absolute;
  width:380px;
  height:380px;
  border-radius:999px;
}
.blob--1{ left:-140px; top:-90px; background: rgba(47,125,50,.24); }
.blob--2{ right:-160px; top:30px; background: rgba(63,46,33,.18); }

.grid-overlay{
  position:absolute;
  inset:-1px;
  background:
    linear-gradient(to right, rgba(63,46,33,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63,46,33,.06) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image: radial-gradient(closest-side at 50% 18%, rgba(0,0,0,.75), transparent 72%);
  opacity:.55;
}

/* Layout */
.hero__inner{
  display:grid;
  gap:18px;
  align-items:start;
}

.hero__content{ position:relative; z-index:2; min-width:0; }
.hero__media{ position:relative; z-index:2; min-width:0; }

/* Pill */
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.68);
  border-radius:999px;
  color: var(--muted);
  width: fit-content;
  box-shadow: 0 10px 26px rgba(46,32,21,.08);
}
.pill__icon{
  width:26px; height:26px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(47,125,50,.12);
  border: 1px solid rgba(47,125,50,.22);
  color: var(--green2);
}

/* Title + lead */
.h1{
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height:1.06;
  letter-spacing:-0.9px;
  margin:14px 0 10px;
  color: var(--coffee);
}
.accent{
  background: linear-gradient(135deg, rgba(47,125,50,1), rgba(31,95,35,1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:0 0 16px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height:1.60;
}

/* CTAs */
.hero__cta{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:14px 0;
}

/* Badges */
.hero__badges{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:12px;
}
.badge{
  padding:12px;
  border-radius:18px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 30px rgba(46,32,21,.08);
}
.badge__title{ font-weight:1000; color: var(--coffee); }
.badge__text{ color: var(--muted2); margin-top:4px; font-size:.95rem; }

/* Media card */
.card{
  border-radius: var(--radius);
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.78);
  padding:14px;
  box-shadow: var(--shadow2);
  min-width:0;
}
.card--media{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}

.card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.card__bottom{
  display:grid;
  gap:10px;
  margin-top:12px;
}

/* Status pill */
.status{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(47,125,50,.10);
  border: 1px solid rgba(47,125,50,.22);
  color: var(--coffee);
  font-weight:900;
  font-size:.92rem;
}
.status__dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47,125,50,.12);
}

/* =========================================================
   Carousel (fixes “stretched layout” with 12 slides)
========================================================= */

.carousel{
  margin-top:6px;
  width:100%;
  min-width:0;     /* critical if any parent is flex */
  overflow:hidden; /* prevents page-wide stretch */
}

.carousel__track{
  display:flex;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  scroll-behavior:smooth;

  border-radius:16px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.64);
}

.carousel__slide{
  flex: 0 0 100%;
  width:100%;
  min-width:100%;
  max-width:100%;
  margin:0;
  padding:10px;
  box-sizing:border-box;
}

.carousel__img{
  height: 220px;
  border-radius:14px;
  border:1px solid var(--stroke2);
  background: rgba(47,125,50,.06);

  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.carousel__slide figcaption{
  margin-top:10px;
  color: var(--muted);
  font-weight:900;
}

.carousel__controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  width:100%;
  min-width:0;
}

.carousel__dots{
  display:flex;
  gap:6px;
  align-items:center;
  justify-content:center;
  flex:1;
  min-width:0;
  flex-wrap:wrap;
}

.dotbtn{
  width:9px;
  height:9px;
  border-radius:999px;
  border:1px solid rgba(63,46,33,.22);
  background: rgba(63,46,33,.12);
  cursor:pointer;
  transition: width .15s ease, background .15s ease, border-color .15s ease;
}
.dotbtn.is-active{
  width:26px;
  background: rgba(47,125,50,.85);
  border-color: rgba(31,95,35,.85);
}

.carousel__img.ph{
  background:
    radial-gradient(700px 260px at 30% 20%, rgba(47,125,50,.18), transparent 60%),
    rgba(255,255,255,.65);
}

/* =========================================================
   Responsive hero layout
========================================================= */

@media (min-width: 860px){
  .hero__inner{
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items:start;
  }

  .hero__cta{
    flex-direction:row;
    align-items:center;
    gap:12px;
  }

  .hero__badges{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

/* =========================================================
   Sections
========================================================= */
.section{padding: 56px 0}
.section--alt{
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(47,125,50,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.35));
  border-top: 1px solid var(--stroke2);
  border-bottom: 1px solid var(--stroke2);
}
.section__head{margin-bottom: 18px}
.h2{
  margin: 0;
  font-size: clamp(1.45rem, 3.6vw, 2.2rem);
  letter-spacing: -0.4px;
  color: var(--coffee);
}
.muted{
  color: var(--muted);
  margin: 8px 0 0;
  line-height:1.60;
}

/* =========================================================
   TRUST strip
========================================================= */
.strip{
  padding: 14px 0;
  border-top: 1px solid var(--stroke2);
  border-bottom: 1px solid var(--stroke2);
  background: rgba(255,255,255,.55);
}
.strip__inner{display:grid; gap: 10px}
.strip__item{
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.74);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(46,32,21,.08);
}
.strip__kicker{color: rgba(31,95,35,.95); font-weight: 1000}
.strip__text{color: var(--muted); margin-top: 4px}

/* =========================================================
   SERVICES (new image cards)
   NOTE: This overrides the old .grid.cards / .card service styles
========================================================= */
#services.services{
  position: relative;
}

#services.services .services__head{
  max-width: 760px;
}

#services.services .services__grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Card */
#services.services .svc{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(63,46,33,.14);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 40px rgba(46,32,21,.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#services.services .svc:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(46,32,21,.14);
  border-color: rgba(47,125,50,.20);
}

/* Media */
#services.services .svc__media{
  position: relative;
  height: 168px;
  overflow: hidden;
  background:
    radial-gradient(850px 320px at 20% 0%, rgba(47,125,50,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.70));
}

#services.services .svc__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
  transform: none;
  translate: 0;
}

/* Soft overlay for readability */
#services.services .svc__media::after{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;

  /* smoother blend — no hard band */
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.28) 60%,
    rgba(255,255,255,.70) 82%,
    rgba(255,255,255,.92) 100%);
}


/* Badge */
#services.services .svc__badge{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(47,125,50,.20);
  color: rgba(31,95,35,.95);
  font-weight: 1000;
  font-size: .85rem;
  box-shadow: 0 10px 26px rgba(46,32,21,.10);
  backdrop-filter: blur(10px);
}

/* Body */
#services.services .svc__body{
  padding: 14px 14px 16px;
}

#services.services .svc__title{
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 1100;
  letter-spacing: -0.2px;
  color: var(--coffee);
}

#services.services .svc__desc{
  margin: 0 0 12px;
  color: rgba(31,26,20,.72);
  line-height: 1.55;
}

/* Chips */
#services.services .svc__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

#services.services .svc__chip{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,125,50,.18);
  background: rgba(47,125,50,.07);
  color: rgba(31,95,35,.95);
  font-weight: 900;
  font-size: .86rem;
}

/* Call link */
#services.services .svc__call{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 1000;
  color: rgba(31,95,35,.98);
  text-decoration: none;
  width: fit-content;
  position: relative;
}
#services.services .svc__call::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width: 100%;
  height: 2px;
  background: rgba(47,125,50,.38);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
  border-radius: 999px;
}
#services.services .svc__call:hover::after{
  transform: scaleX(1);
}
#services.services .svc__call:focus-visible{
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

/* CTA spacing */
#services.services .services__cta{
  margin-top: 18px;
}

/* Tablet */
@media (min-width: 720px){
  #services.services .services__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  #services.services .svc__media{ height: 176px; }

  /* Layout adjustments */
  .hero__inner{grid-template-columns: 1.1fr .9fr; gap: 18px}
  .hero__cta{flex-direction:row}
  .hero__badges{grid-template-columns: repeat(3, 1fr)}
  .strip__inner{grid-template-columns: repeat(3, 1fr)}
  .reviews{grid-template-columns: repeat(3, 1fr)}
  .area-grid{grid-template-columns: repeat(3, 1fr)}
  .ba{grid-template-columns: 1.1fr .9fr}
  .contact{grid-template-columns: 1.05fr .95fr}
  .contact__cta{flex-direction:row}
  .footer__inner{flex-direction:row; align-items:center}

  .nav__links{
    position: static;
    display:flex;
    flex-direction:row;
    padding:0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter:none;
    gap: 6px;
  }
  .nav__toggle{display:none}
  .nav__links a{padding: 10px 12px}
}

/* Desktop */
@media (min-width: 1024px){
  #services.services .services__grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  #services.services .svc__media{ height: 190px; }

  .social-grid{grid-template-columns: repeat(3, 1fr)}
  .carousel__img{height: 260px}
  .ba__frame{height: 340px}
}

/* =========================================================
   Areas
========================================================= */
.area-grid{display:grid; gap: 12px; margin-top: 14px}
.area{
  border-radius: 18px;
  padding: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 26px rgba(46,32,21,.08);
}
.area__title{font-weight: 1000; margin-bottom: 6px; color: var(--coffee)}
.area__text{color: var(--muted); line-height:1.60}

/* ========= Before/After (scalable) ========= */

.baSection .section__head{margin-bottom:14px}

.baGrid{
  display:grid;
  gap:16px;
}

/* 2 cols on tablet, 3 on desktop */
@media (min-width:740px){
  .baGrid{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (min-width:1080px){
  .baGrid{grid-template-columns:repeat(3, minmax(0,1fr))}
}

.baItem{
  border:1px solid var(--stroke2, rgba(0,0,0,.10));
  background: rgba(255,255,255,.78);
  border-radius:18px;
  overflow:hidden;
  box-shadow: var(--shadow2, 0 12px 28px rgba(0,0,0,.08));
}

.baItem__head{
  padding:14px 14px 10px;
}
.baItem__title{
  margin:0;
  font-weight:1000;
  letter-spacing:.2px;
}
.baItem__desc{
  margin:6px 0 0;
  color: var(--muted, rgba(0,0,0,.65));
  line-height:1.35;
}

/* Frame */
.baFrame{
  position:relative;
  height: 290px;
  background:#000;
  overflow:hidden;
  border-top:1px solid var(--stroke2, rgba(0,0,0,.10));
}

/* Images as backgrounds (cover) */
.baImg{
  position:absolute;
  inset:0;
  background: #111 center/cover no-repeat;
}
.baImg--after{
  width:55%;
  border-right:1px solid rgba(255,255,255,.35);
}

/* Range overlay */
.baRange{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor: ew-resize;
}

/* Handle */
.baHandle{
  position:absolute;
  top:50%;
  left:55%;
  transform:translate(-50%,-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
  pointer-events:none;
  font-weight:1000;
}

.baCTA{margin-top:14px}

/* =========================================================
   Reviews
========================================================= */
.review__top{display:flex; align-items:center; gap:10px; margin-bottom: 10px}
.avatar{
  width:40px; height:40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 1000;
  background: rgba(47,125,50,.12);
  border: 1px solid rgba(47,125,50,.22);
  color: var(--green2);
}
.review__name{font-weight: 1000; color: var(--coffee)}
.review__stars{
  color: rgba(47,125,50,.95);
  font-weight: 1000;
  letter-spacing: 1px;
}
.review p{margin: 0; color: var(--muted); line-height: 1.60}

/* =========================================================
   Social Buttons
========================================================= */
.social-grid{
  display:grid;
  gap: 12px;
  margin-top: 14px;
}
.social-btn{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.74);
  box-shadow: 0 10px 26px rgba(46,32,21,.08);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.social-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.90);
  box-shadow: 0 18px 35px rgba(46,32,21,.12);
}
.social-btn__icon{
  width:42px; height:42px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(47,125,50,.10);
  border: 1px solid rgba(47,125,50,.20);
  font-weight: 1000;
  color: var(--green2);
}
.social-btn__text strong{display:block; color: var(--coffee)}
.social-btn__text em{
  display:block;
  font-style: normal;
  color: var(--muted);
  margin-top: 2px;
}

/* =========================================================
   Contact + Form
========================================================= */
.contact{display:grid; gap: 14px}
.contact__cta{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin: 12px 0 0;
}

/* Mini FAQ */
.mini-faq details{
  border-radius: 16px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.70);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(46,32,21,.08);
}
.mini-faq details + details{margin-top: 10px}
.mini-faq summary{
  cursor:pointer;
  font-weight: 1000;
  color: var(--coffee);
}
.mini-faq p{color: var(--muted); margin: 8px 0 0; line-height:1.60}

/* Form card */
.form{
  border-radius: 22px;
  border: 1px solid rgba(63,46,33,.14);
  background: rgba(255,255,255,.86);
  padding: 14px;
  box-shadow: var(--shadow);
}
.form__head{margin-bottom: 10px}
.form__title{font-weight: 1100; font-size: 1.2rem; color: var(--coffee)}
.form__sub{color: var(--muted); margin-top: 4px}

.field{display:block; margin-top: 10px}
.field span{
  display:block;
  font-weight: 1000;
  color: rgba(46,32,21,.92);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(63,46,33,.18);
  background: rgba(255,255,255,.92);
  color: var(--coffee);
  outline:none;
  box-shadow: inset 0 0 0 1px rgba(47,125,50,.05);
}
.field textarea{resize: vertical; min-height: 110px}
.field input::placeholder,
.field textarea::placeholder{color: rgba(46,32,21,.38)}

.field input:focus,
.field select:focus,
.field textarea:focus{
  box-shadow: var(--ring);
  border-color: rgba(47,125,50,.32);
}

.form__fine{
  margin: 10px 0 0;
  color: var(--muted2);
  font-size: .92rem;
}
.form__fine a{color: rgba(31,95,35,.95); font-weight: 1000}
.form__status{
  margin-top: 10px;
  color: rgba(46,32,21,.85);
  font-weight: 900;
}

/* =========================================================
   Footer
========================================================= */
.footer{
  padding: 28px 0 16px;
  border-top: 1px solid var(--stroke2);
  background: rgba(255,255,255,.60);
}
.footer__inner{
  display:flex;
  flex-direction:column;
  gap: 12px;
  align-items:flex-start;
  justify-content:space-between;
}
.brand--footer .brand__name{font-size:1.05rem}
.footer__right{display:flex; flex-wrap:wrap; gap: 10px}
.footer__bottom{
  margin-top: 14px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  color: var(--muted2);
  font-weight: 800;
  font-size: .92rem;
}
.footer__bottom a{color: rgba(31,95,35,.95)}
/* =========================================================
   Popup (UPDATED for new HTML with image)
========================================================= */
.popup{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 80;
}
.popup.is-open{display:block}

.popup__backdrop{
  position:absolute;
  inset:0;
  background: rgba(46,32,21,.52);
  backdrop-filter: blur(6px);
}

/* Panel */
.popup__panel{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, calc(100% - 28px));
  border-radius: 22px;
  border: 1px solid rgba(63,46,33,.18);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* Head */
.popup__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(63,46,33,.10);
  background: rgba(255,255,255,.92);
}

.popup__headText{min-width:0}
.popup__title{
  font-weight: 1100;
  font-size: 1.18rem;
  color: var(--coffee);
  letter-spacing: -0.2px;
}
.popup__sub{
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Media */
.popup__media{
  position: relative;
  height: 180px;
  overflow: hidden;
  background: rgba(47,125,50,.06);
  border-bottom: 1px solid rgba(63,46,33,.10);
}
.popup__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* Overlay (soft, no banding) */
.popup__mediaOverlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.22) 62%,
    rgba(255,255,255,.62) 82%,
    rgba(255,255,255,.92) 100%);
}

/* Caption on image */
.popup__mediaCaption{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display:flex;
  flex-direction:column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(47,125,50,.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(46,32,21,.12);
}
.popup__mediaCaption strong{
  color: var(--coffee);
  font-weight: 1100;
}
.popup__mediaCaption span{
  color: var(--muted);
  font-weight: 800;
  font-size: .95rem;
}

/* Body */
.popup__body{
  padding: 14px;
}

.popup__cta{
  display:grid;
  gap:10px;
}

.popup__mini{
  display:grid;
  gap:10px;
  margin-top: 12px;
}

.mini-card{
  border-radius: 16px;
  border: 1px solid rgba(63,46,33,.12);
  background: rgba(255,255,255,.86);
  padding: 12px;
  color: var(--muted);
  box-shadow: 0 10px 22px rgba(46,32,21,.08);
}
.mini-card strong{
  color: var(--coffee);
  font-weight: 1100;
}

/* Fine line + call link */
.popup__fine{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(63,46,33,.18);
  display:flex;
  flex-direction:column;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.popup__callLink{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  width: fit-content;
  color: rgba(31,95,35,.98);
  font-weight: 1100;
  position: relative;
}
.popup__callLink::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background: rgba(47,125,50,.38);
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .18s ease;
  border-radius: 999px;
}
.popup__callLink:hover::after{transform: scaleX(1)}
.popup__callLink:focus-visible{
  outline:none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

/* Tablet+ */
@media (min-width: 720px){
  .popup__media{height: 210px;}
  .popup__body{padding: 16px;}
}

/* ======================================================
   OA REELS — FACEBOOK EMBEDS (PRODUCTION)
   Control manual TOTAL: card height + iframe height
   ====================================================== */

/* === AJUSTA SOLO AQUÍ === */
:root{
  /* Card widths */
  --card-w: 260px;

  /* Video 1 */
  --c1: 460px; --i1: 760px;
  /* Video 2 */
  --c2: 285px; --i2: 720px;
  /* Video 3 */
  --c3: 290px; --i3: 700px;
  /* Video 4 */
  --c4: 290px; --i4: 720px;
  /* Video 5 */
  --c5: 290px; --i5: 700px;
  /* Video 6 */
  --c6: 290px; --i6: 700px;
  /* Video 7 */
  --c7: 340px; --i7: 760px;

  --bg: #f6f8fc;
  --ink: #0b1220;
  --muted: rgba(11,18,32,.65);
  --radius: 22px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.047);
  --brand: #1877F2;
}

/* Section */
.oaReels{
  padding: 32px 16px;
  background: var(--bg);
}

.oaReels__inner{
  max-width: 1200px;
  margin: auto;
}

/* Header */
.oaReels__kicker{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(24,119,242,.1);
  font:800 11px system-ui;
}

.oaReels__top{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.oaReels__title{
  margin:0;
  font:900 28px system-ui;
}

.oaReels__sub{
  margin:6px 0 0;
  font:600 14px system-ui;
  color:var(--muted);
}

.oaReels__cta{
  padding:12px 16px;
  background:var(--brand);
  color:#fff;
  border-radius:14px;
  text-decoration:none;
  font:800 14px system-ui;
}

/* Strip */
.oaReels__strip{
  margin-top:20px;
  display:flex;
  gap:18px;
  overflow-x:auto;
  padding:12px;
  scroll-behavior:smooth;
  border: #000 1px solid;
  border-radius: var(--radius);

}

/* Card */
.oaReel{
  flex:0 0 auto;
  width:var(--card-w);
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.oaReel__card{
  background:#000;
  border-radius:var(--radius);
  overflow:hidden;
  height: auto;
}

/* iframe base */
.oaReel iframe{
  width:100%;
  border:0;
  display:block;
}

/* ===== PER VIDEO CONTROL ===== */

.oaReel--1 .oaReel__card{ height:var(--c1); }
.oaReel--1 iframe{ height:var(--i1); }

.oaReel--2 .oaReel__card{ height:var(--c2); }
.oaReel--2 iframe{ height:var(--i2); }

.oaReel--3 .oaReel__card{ height:var(--c3); }
.oaReel--3 iframe{ height:var(--i3); }

.oaReel--4 .oaReel__card{ height:var(--c4); }
.oaReel--4 iframe{ height:var(--i4); }

.oaReel--5 .oaReel__card{ height:var(--c5); }
.oaReel--5 iframe{ height:var(--i5); }

.oaReel--6 .oaReel__card{ height:var(--c6); }
.oaReel--6 iframe{ height:var(--i6); }

.oaReel--7 .oaReel__card{ height:var(--c7); }
.oaReel--7 iframe{ height:var(--i7); }
