/* Remodeling Florida — site styles (hand-written, no framework).
   Breakpoints mirror the original: laptop ≤1366, tablet ≤1024, mobile ≤767. */

@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/tenor-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/karla-latin.woff2) format('woff2'); }
@font-face { font-family: 'Karla'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/karla-italic-latin.woff2) format('woff2'); }

:root {
  --black: #000;
  --white: #fff;
  --text: #132810;
  --accent: #F1F1EC;   /* light warm grey */
  --tan: #D7D0C5;
  --charcoal: #333;
  --grey: #838383;
  --line: #E8E8E8;
  --off-white: #F7F7F7;
  --display: 'Tenor Sans', sans-serif;
  --sans: 'Karla', sans-serif;
  --gutter: 5%;
  --max: 1300px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
p + p { margin-top: 0.9em; }
button { font: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--black); color: var(--white); padding: 12px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
.invert { filter: invert(1); }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (max-width: 1366px) { .container { width: calc(100% - 2 * var(--gutter)); } }
.section-gap { margin-top: 120px; }

/* ---------- Typography ---------- */
.t-display, .t-h1, .t-h2, .t-h2b, .t-h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.2; color: var(--black); }
.t-display { font-size: 110px; }
.t-h1 { font-size: 80px; }
.t-h2 { font-size: 60px; }
.t-h2b { font-size: 50px; }
.t-h3 { font-size: 30px; }
.t-cap { text-transform: capitalize; }
.t-card { font-family: var(--sans); font-size: 30px; font-weight: 600; line-height: 1.466; text-transform: capitalize; color: var(--black); }
.t-lead { font-size: 18px; font-weight: 500; line-height: 1.444; color: var(--black); }
.t-body { font-size: 16px; line-height: 1.5; color: var(--text); }
@media (max-width: 1024px) {
  .t-display { font-size: 80px; }
  .t-h1 { font-size: 70px; }
  .t-h2 { font-size: 50px; }
}
@media (max-width: 767px) {
  .t-display { font-size: 35px; }
  .t-h1 { font-size: 32px; }
  .t-h2, .t-h2b { font-size: 28px; }
  .t-h3, .t-card { font-size: 25px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 16px; text-transform: capitalize; text-align: center; color: var(--black); background: var(--tan); border: 1px solid var(--grey); border-radius: 0; padding: 16px 24px; cursor: pointer; transition: background-color .3s, color .3s; }
.btn--tan:hover, .btn--tan:focus-visible { background: var(--accent); }
.btn--light { background: var(--accent); }
.btn--light:hover, .btn--light:focus-visible { background: var(--tan); }
.btn--dark { background: var(--black); color: var(--white); border: 0; text-transform: uppercase; }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--tan); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 0; min-height: 123px; }
.site-header__logo img { width: 309px; height: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav__list a { display: flex; align-items: center; padding: 10px 16px; margin: 0 5px; font-size: 16px; font-weight: 500; line-height: 20px; text-transform: uppercase; color: var(--black); transition: color .4s; }
.site-nav__list li:first-child a { margin-left: 0; }
.site-nav__list a:hover, .site-nav__list a:focus-visible, .site-nav__list a.is-current { color: var(--tan); }
.site-nav__mobile-only { display: none; }
.site-header__cta { flex: none; }
.menu-toggle { display: none; width: 33px; height: 33px; padding: 5.5px; border: 0; background: var(--accent); color: var(--black); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,.06); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 15px var(--gutter); font-weight: 500; text-transform: uppercase; color: var(--black); border-top: 1px solid var(--line); }
.mobile-nav a:hover, .mobile-nav a.is-current { color: var(--tan); }
@media (max-width: 1024px) {
  .site-header .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 767px) {
  .site-header__inner { min-height: 0; }
  .site-header__logo img { width: 200px; }
}

/* ---------- Footer ---------- */
.site-footer__top { background: var(--accent); }
.site-footer__top-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px 20px; padding: 74px 0; }
.site-footer__logo img { width: 309px; }
.site-footer__top .site-nav__list li:last-child a { margin-right: 0; }
.site-footer__bar { background: var(--charcoal); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 30px 60px; padding: 16px var(--gutter); }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 45px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: var(--black); }
.contact-list--light a { color: var(--white); font-weight: 500; }
.contact-list img { width: 20px; height: 20px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--white); align-items: center; justify-content: center; color: #69727D; transition: opacity .3s; }
.social a:hover { opacity: .8; }
.social svg { width: 12px; height: 12px; fill: var(--black); }
@media (max-width: 767px) {
  .site-footer__top-inner { flex-direction: column; justify-content: center; padding: 74px 0; }
  .site-footer__top .site-nav__list { flex-wrap: wrap; justify-content: center; }
  .site-footer__bar { flex-direction: column; gap: 20px; }
  .contact-list--light { flex-direction: column; align-items: center; }
}

/* ---------- Home hero ---------- */
.home-hero { position: relative; min-height: 1411px; overflow: hidden; }
.home-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: 0 0; }
.home-hero__title { position: relative; z-index: 1; padding-top: 120px; text-align: center; }
.home-hero__title h1 { color: var(--white); max-width: 1146px; margin-inline: auto; }
.home-hero__blur { position: absolute; left: 0; right: 0; bottom: -16px; height: 440px; background: rgba(215, 208, 197, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.overlap-block { position: relative; z-index: 2; }
.overlap-block--hero { margin-top: -291px; }
.overlap-block__img { width: 100%; aspect-ratio: 1300 / 711; object-fit: cover; }
.text-cta-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 40px; }
.text-cta-row__text { flex: 1 1 auto; }
.text-cta-row .btn-row { flex: none; }
@media (max-width: 1024px) {
  .home-hero { min-height: 1000px; }
  .text-cta-row { flex-direction: column; text-align: center; }
  .text-cta-row .btn-row { justify-content: center; }
}
@media (max-width: 767px) {
  .home-hero { min-height: 800px; }
  .home-hero__title { padding-top: 80px; }
  .home-hero__blur { display: none; }
  .overlap-block--hero { margin-top: -200px; }
  .overlap-block--hero .btn-row { flex-direction: column; align-items: center; }
}

/* ---------- Centered intro ---------- */
.intro-center { text-align: center; }
.intro-center h2 { max-width: 1120px; margin-inline: auto; }
.intro-center p { max-width: 850px; margin: 20px auto 0; }

/* ---------- Feature cards over image ---------- */
.feature-cards { display: grid; margin-top: 116px; }
.feature-cards > * { grid-area: 1 / 1; }
.feature-cards__bg { margin-top: 60px; min-height: 375px; background-size: cover; background-position: center; }
.feature-cards__row { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; gap: 38px; }
.feature-card { width: 359px; padding: 60px; border: 1px solid var(--black); display: flex; flex-direction: column; gap: 20px; }
.feature-card p { color: var(--black); }
.feature-card--light { background: var(--accent); }
.feature-card--tan { background: var(--tan); }
@media (max-width: 767px) {
  .feature-cards__row { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .feature-card { width: 100%; }
  .feature-cards__bg { margin-top: 450px; min-height: 500px; }
}

/* ---------- Card grid (posts) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card__media img { width: 100%; aspect-ratio: 406 / 400; object-fit: cover; }
.card__title { margin-top: 38px; }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Carousel (generic) ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform var(--carousel-speed, 0ms) ease; will-change: transform; }
.carousel__slide { flex: 0 0 100%; min-width: 0; }
.carousel--fade .carousel__track { display: grid; transition: none; }
.carousel--fade .carousel__slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.carousel--fade .carousel__slide.is-active { visibility: visible; opacity: 1; }
.carousel__arrow { width: 50px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.carousel__arrow img { width: 50px; height: 50px; }
.carousel__nav--center { display: flex; justify-content: center; gap: 30px; margin-top: 30px; }
.carousel__arrow--side { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.carousel__arrow--side.carousel__arrow--prev { left: var(--gutter); }
.carousel__arrow--side.carousel__arrow--next { right: var(--gutter); }

/* ---------- Testimonials ---------- */
.testimonials { background-repeat: no-repeat; background-position: center; background-size: contain; padding: 200px 0 138px; margin-top: 100px; }
.testimonials__title { line-height: 1; text-align: center; }
.testimonials .carousel { margin-top: 30px; }
.testimonial { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 0; min-height: 545px; }
.testimonial__stars { display: flex; gap: 10px; justify-content: center; }
.testimonial__stars img { width: 16px; height: 15px; }
.testimonial__name { margin-top: 39px; font-size: 20px; font-weight: 600; line-height: 1.444; color: var(--black); }
.testimonial__body { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 30px; }
.testimonial__quote { flex: none; width: 188px; height: 141px; }
.testimonial__text { max-width: 900px; font-size: 24px; line-height: 1.444; color: var(--text); }
@media (max-width: 1024px) {
  .testimonials { padding: 150px 0 110px; background-image: none !important; }
  .testimonial { min-height: 0; }
  .testimonial__body { flex-direction: column; gap: 20px; }
  .testimonial__text { font-size: 20px; }
}
@media (max-width: 767px) {
  .testimonials { padding: 120px 0 100px; }
  .testimonials .carousel { margin-top: 60px; }
  .testimonial__body { flex-direction: column; gap: 20px; }
  .testimonial__text { font-size: 18px; }
}

/* ---------- Parallax feature ---------- */
.parallax-feature { position: relative; min-height: 1222px; overflow: hidden; }
.parallax-feature__bg { position: absolute; left: 0; right: 0; top: -15%; height: 130%; background-size: cover; background-position: center; will-change: transform; }
.parallax-feature__title { position: relative; z-index: 1; padding-top: 107px; text-align: center; }
.parallax-feature__title h2 { color: var(--white); }
.parallax-feature + .overlap-block { margin-top: -356px; }
@media (max-width: 1024px) {
  .parallax-feature { min-height: 700px; }
  .parallax-feature + .overlap-block { margin-top: -200px; }
}

/* ---------- Process slider ---------- */
.process { margin-top: 140px; }
.process .carousel__viewport { padding-inline: 70px; }
.process .carousel__track { gap: 10px; }
.process__slide { display: flex; align-items: center; gap: 30px; padding: 0 65px; background: var(--white); min-height: 498px; }
.process__slide--tan { background: var(--tan); }
.process__text { flex: 1; max-width: 512px; }
.process__text p { margin-top: 20px; color: var(--text); }
.process__media { flex: 1; display: flex; justify-content: flex-end; }
.process__media img { width: 512px; aspect-ratio: 516 / 502; object-fit: cover; }
.process .carousel__viewport { overflow: hidden; }
@media (max-width: 1024px) {
  .process__slide { flex-direction: column; align-items: stretch; padding: 50px 52px; }
  .process__text { max-width: none; }
  .process__media img { width: 100%; }
}
@media (max-width: 767px) {
  .process .carousel { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 30px; }
  .process .carousel__viewport { padding-inline: 0; flex: 0 0 100%; }
  .process__slide { padding: 0 var(--gutter); gap: 60px; min-height: 0; }
  .process .carousel__arrow--side { position: static; transform: none; margin-top: 60px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 499fr 662fr; gap: 135px; margin-top: 140px; margin-bottom: 104px; }
.contact__media { background-size: cover; background-position: center; min-height: 400px; }
.contact__intro { margin-top: 0; color: var(--text); }
.contact__divider { border: 0; border-top: 1px solid var(--line); margin: 31px 0; }
.form { display: flex; flex-direction: column; gap: 20px; margin-top: 65px; }
.form__field { width: 100%; font-family: var(--sans); font-size: 15px; line-height: 21px; color: var(--black); background: var(--white); border: 1px solid var(--tan); border-radius: 0; padding: 15px 24px; min-height: 40px; }
.form__field::placeholder { color: var(--black); opacity: 1; }
.form__field:focus { outline: 1px solid var(--grey); outline-offset: 0; }
textarea.form__field { resize: vertical; min-height: 115px; }
.form__check { font-size: 15px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__captcha:empty { display: none; }
.form__submit { align-self: flex-start; }
.form__message { font-size: 15px; }
.form__message.is-success { color: #2d7a3a; }
.form__message.is-error { color: #b3261e; }
.form__field.is-invalid { border-color: #b3261e; }
@media (max-width: 1024px) { .contact { gap: 60px; } }
@media (max-width: 767px) {
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .form__submit { align-self: stretch; }
  .contact-list { flex-direction: column; gap: 10px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; display: flex; align-items: center; min-height: 635px; background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.page-hero__inner { position: relative; z-index: 1; text-align: center; color: var(--white); }
.page-hero__title { color: var(--white); }
.page-hero__text { max-width: 850px; margin: 30px auto 0; font-size: 14px; color: var(--white); }
@media (max-width: 767px) { .page-hero { min-height: 400px; } }

/* ---------- Accordion ---------- */
.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }
.accordion__heading { margin: 0; }
.accordion__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--black); }
.accordion__title { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.accordion__icon { width: 35px; height: 35px; flex: none; }
.accordion__icon--minus, .accordion__toggle[aria-expanded="true"] .accordion__icon--plus { display: none; }
.accordion__toggle[aria-expanded="true"] .accordion__icon--minus { display: block; }
.accordion__panel { overflow: hidden; transition: height .4s ease; }
.accordion__content { padding: 0 0 20px; color: var(--text); }
@media (max-width: 767px) { .accordion__title { font-size: 22px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--accent); padding: 80px var(--gutter) 99px; }
.faq__inner { max-width: 610px; margin-inline: auto; }
.faq__intro { margin-top: 12px; font-size: 18px; font-weight: 300; line-height: 1.444; color: var(--text); }
.faq__btn { margin: 27px 0 0; }
.faq .accordion { margin-top: 80px; }
.faq .accordion__toggle { padding: 20px 0; }
.faq .accordion__title { width: 483px; max-width: 100%; }
@media (max-width: 767px) { .faq .accordion__title { width: 100%; font-size: 25px; } }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; gap: 30px; }
.gallery--cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery__item { display: block; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
@media (max-width: 767px) { .gallery--cols-2, .gallery--cols-3 { grid-template-columns: 1fr; } }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox__btn { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; font-size: 40px; line-height: 1; padding: 16px; opacity: .8; }
.lightbox__btn:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 22px; left: 24px; color: #fff; font-size: 14px; opacity: .8; }

/* ---------- Generic rich text ---------- */
.prose { color: var(--text); }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); font-weight: 400; color: var(--black); margin: 1.2em 0 .5em; line-height: 1.2; }
.prose h2 { font-size: 36px; }
.prose h3 { font-size: 28px; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose a { text-decoration: underline; }

/* ---------- 404 ---------- */
.not-found { padding: 160px 0; text-align: center; }
.not-found .t-lead { margin-top: 20px; }
.not-found .btn-row { justify-content: center; margin-top: 40px; }
