/* ============================
   HERO — MOBILE FIRST
   ============================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl) var(--space-md);
  color: var(--white);

  /* Pinned background image: stays still while the page scrolls over it */
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../images/hero-placeholder-mobile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* fixed attachment is unreliable on mobile, enabled at desktop below */
}

/* Text content */
.hero-content {
  max-width: 90%;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.hero-subtext,
.hero-subtext-2 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

/* Down arrow */
.hero-down {
  margin-top: var(--space-md);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 1.5s infinite;
}

.hero-down *{
    stroke: var(--primary);
}

/* Simple bounce animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Hide desktop CTAs on mobile */
.hero-ctas {
  display: none;
}

/* Show arrow on mobile */
.hero-down {
  display: inline-flex;
}

/* Mobile hero centered */
.hero-content {
  text-align: center;
  margin: 0 auto;
}

.hero-down {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}



@media (min-width: 768px) {

  /* Pinned parallax: image stays still, page scrolls over it */
  .hero {
    height: 590px;
    min-height: 590px;
    background-attachment: fixed;
  }

  /* Hide arrow on desktop */
  .hero-down {
    display: none;
  }

  /* Show CTAs on desktop */
  .hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
  }

  .hero-call {
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
  }

  .hero-schedule {
    background: var(--white);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
  }

   /* Desktop hero left-aligned */
  .hero-content {
    text-align: left;
    margin: 0;
  }

  /* Hide arrow on desktop */
  .hero-down {
    display: none;
  }

  /* Show CTAs on desktop */
  .hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
  }
}


/* ============================
   SERVICES — MOBILE FIRST
   ============================ */

.services {
  padding: var(--space-xl) var(--space-md);
  background: var(--white);
  text-align: center;
}

/* Header: title + orange block underline */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.services-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--secondary);
}

/* Orange block under title */
.O-block {
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 999px;
}

/* List of services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

/* Service card */
.service-card {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--primary); /* blue outline */
  border-radius: 8px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column; /* icon on top */
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

/* SVG icons */
.service-card svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary); /* your blue */
}

/* Label text */
.service-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary); /* blue text */
}


/* Footer button */
.services-footer {
  margin-top: var(--space-lg);
}

/* Footer button */
.services-cta {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

/* Hover state */
.services-cta:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (min-width: 768px) {

  .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
  }

  .service-card {
    max-width: 260px;
    padding: var(--space-lg);
  }

  .service-card svg {
    width: 48px;
    height: 48px;
  }

  .service-label {
    font-size: 1.1rem;
  }

  .services-footer {
    margin-top: var(--space-xl);
  }
}


@media (min-width: 1100px) {
  .services-list {
    max-width: 1000px;
    margin: 0 auto;
  }
}


/* ============================
   QUOTE SECTION
   ============================ */

.quote-section {
  background: var(--primary); /* your blue */
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

/* Title + underline */
.quote-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.quote-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--white);
}

/* White underline block */
.w-block {
  width: 60px;
  height: 4px;
  background: var(--white);
  border-radius: 999px;
}

/* Supporting text */
.quote-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  color: var(--white);
}

/* Contact button */
.quote-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.25s ease;
}

/* Hover state */
.quote-cta:hover {
  background: var(--white);
  color: var(--primary);
}


/* ============================
   ABOUT — MOBILE FIRST
   ============================ */

.about-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--gray);
  text-align: center;
}

/* Title + underline */
.about-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--secondary);
}

.o-block {
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 999px;
  margin: var(--space-xs) auto var(--space-md);
}

/* Text */
.about-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

/* Button (same as Services C--secondary) */
.about-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.25s ease;
  width: fit-content;
}

.about-cta:hover {
  background: var(--secondary);
  color: var(--white);
}

/* Hide image half on mobile (image isn't critical to read on small screens) */
.about-image {
  display: none;
}


@media (min-width: 768px) {

  /* Split section: left half text, right half pinned image, fixed height */
  .about-section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    height: 700px;
    text-align: left;
    overflow: hidden; /* anything the background overflows just disappears */
  }

  .about-content {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) var(--space-xl);
    text-align: left;
  }

  .o-block {
    margin: var(--space-xs) 0 var(--space-md);
  }

  /* Right half: pinned background image, fills the half entirely */
  .about-image {
    flex: 0 0 50%;
    max-width: 50%;
    display: block;

    background-image: url('../images/jose_pachecoph-man-5910041_1920.jpg');
    background-size: cover;       /* fills the half; overflow is cropped away */
    background-position: center 35%;
    background-repeat: no-repeat;
    background-attachment: fixed; /* stays still while the page scrolls */
  }
}


/* ============================
   GOOGLE REVIEWS SECTION
   ============================ */

.reviews-section {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

/* Header */
.reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.google-logo {
  width: 180px; /* increased */
  height: auto;
  margin-bottom: 6px;
}

.reviews-header {
  margin-bottom: 2.5rem;
}

.reviews-title {
  font-size: 1.1rem; /* reduced from 1.6rem */
  font-weight: 600;
  color: var(--primary);
}

/* Wrapper */
.reviews-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.reviews-track {
  padding: 0 60px;
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 320px;   /* FIXED WIDTH */
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: left;
}


.review-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 40px rgba(0,0,0,0.12);
}

.review-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: var(--primary);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
}

.review-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.review-stars {
    color: #fbbc04;
    font-size: 1rem;
    margin-bottom: .75rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.25rem;
}

/* Arrows */
.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: var(--white);
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--primary);

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  cursor: pointer;
  font-size: 1.2rem;

  z-index: 10;
}

.review-arrow:hover {
  background: var(--primary);
  color: var(--white);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.reviews-rating {
    color: #fbbc04;
    font-size: 1.5rem;
}

.reviews-count {
    color: #777;
    font-size: .95rem;
}

.review-cta {
    display: inline-block;
    margin-top: 2rem;

    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {
  .review-card {
    flex: 0 0 80%;
  }

  .reviews-wrapper {
    padding: 0 40px;
  }
}

/* ============================
   CONTACT SECTION — MOBILE FIRST
   ============================ */

.contact-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--primary); 
  color: white; 
}

.contact-wrapper {
  padding: 12px 24px; /* adds space left + right */
}


.contact-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--white);
}

#W { 
  width: 60px;
  height: 4px;
  background: var(--white); 
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--white);
  background-color: transparent;
  color: var(--white);
  font-size: 1rem;
}

.contact-btn {
  padding: 14px;
  background: transparent; /* matches your design system */
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-btn:hover {
  background: white;
  color: var(--primary); /* invert on hover */
}


.map-widget {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.contact-info {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1rem;
  color: var(--white);
}

@media (min-width: 768px) {

  .contact-wrapper {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
  }

  .contact-left,
  .contact-right {
    flex: 1;
  }

  .w-block {
    margin-left: 0;
  }

  .contact-info {
    text-align: left;
  }

  .map-widget iframe {
    height: 350px;
  }
}


/* ============================
   FOOTER
   ============================ */

.footer {
  background: #000; /* black */
  color: white;
  padding: 3rem var(--space-md) 2rem;
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: .5rem;
}

.footer-col a {
  color: white;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.footer-desc {
  font-size: .95rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  background: white;
  color: black;
}

/* Footer Titles */
.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: .9rem;
  opacity: 0.8;
}

/* Desktop Layout */
@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================
   INNER PAGES
   ============================ */

.page-header-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.page-header-link:hover {
  opacity: 0.8;
}

.page-section {
  padding: var(--space-xl) var(--space-md);
}

.page-title {
  font-size: 1.8rem;
  text-transform: none;
}

.page-intro {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.image-box {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  margin: var(--space-lg) auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray);
}

.img-box-120 {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray);
}

.img-100 {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-page-section .about-text {
  margin-bottom: var(--space-md);
  color: var(--text);
}

.about-page-section .about-text:last-of-type {
  margin-bottom: 0;
}

.services-detail .services-intro {
  margin-bottom: var(--space-lg);
}

.services-detail .service-card {
  max-width: 360px;
}

.services-detail .img-box-120 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray);
}

.services-detail .service-card svg {
  width: 56px;
  height: 56px;
  stroke: var(--primary);
}

.services-detail .service-label {
  margin: 0;
}

.service-description {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 480px) {
  .page-section {
    padding-right: var(--space-lg);
    padding-left: var(--space-lg);
  }
}

@media (min-width: 768px) {
  .about-page-section .image-box {
    flex: 1;
    margin: 0;
  }

  .services-detail .service-card {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .page-section {
    padding-right: var(--space-xl);
    padding-left: var(--space-xl);
  }

  .page-title {
    font-size: 2rem;
  }
}