@import url('https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap');

/* ========================
   GLOBAL STYLES
======================== */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #222;
  background: #f9fafb;
}


h1,
h2,
h3,
h4{
  margin-top: 0;
  margin-bottom: 0.75rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

header {
  background: linear-gradient(to left, #111827, #505761, #1f2937);
  color: #fff;
  padding: 1rem;
}

table {
            border-collapse: collapse;
            width: 300px;
            margin: 20px 0;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
            text-align: right;
        }
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }

.header-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-right: 1rem;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

header nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

header nav a {
  margin-right: 0; /* override desktop spacing */
}

.cf-style {
  margin-top: 10px;
}

.attn-grab {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 17px;
}

.sub-space{
  margin-bottom: .08rem;
}

.racing-sans-one-regular {
  font-family: "Racing Sans One", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.logo-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Sticky mobile header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .main-nav a {
    font-size: 1.1rem;
    margin-right: 0;
  }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
  z-index: 998;
}

.site-header.open + .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
.nav-close {
  display: none;
}

@media (max-width: 768px) {
.nav-close {
  display: block;
  position: absolute;
  top: -.1rem;
  left: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  z-index: 1001;
}
}

@media (max-width: 768px) and (hover: hover) {
  .nav-close:hover {
    color: #6b7280;
    opacity: 0.8;
  }
}

/* BUTTONS */
.btn-call {
  background: #f97316;
  color: #fff !important;
}

.btn {
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  border-color: transparent !important;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
}

/* Button Gradient */
.btn-gradient {
  color: #fff !important;
  background: linear-gradient(to left, #94d845, #16a34a);
  border: 0;
  text-shadow: 1px 1px 4px #36303059;
}
.btn-gradient:hover,
.btn-gradient:active,
.btn-gradient:focus {
  color: #fff;
  background: linear-gradient(to right, #64c82d, #16a34a);
}

.cta-icons {
  display: inline-flex;
  gap: 18px;
  align-items: center;
}

.cta-icon {
  width: 64px;
  height: 64px;
  display:inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.6);
  transition: all 0.25s ease;
  text-decoration: none;
}

/* Icon size */
.cta-icon svg {
  width: 36px;
  height: 36px;
  transition: transform 0.25s ease;
}

.cta-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.cta-icon:hover svg {
  transform: scale(1.2);
}


/* HERO / SECTION */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 2.25rem 1.5rem;
  overflow: hidden;
  z-index: 1;
}

/* Background IMAGE layer */
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  background-image: url("images/header.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Gradient OVERLAY layer (original hero background) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(80, 87, 97, 0.85), rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.95));
  z-index: -1;
}

section {
  padding: 1rem 1.25rem;
}

.hero,
.cta {
  width: 100%;
  max-width: none;
}

.services,
.pricing,
.contact-focus,
.hours-container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}


/* =========================
   SERVICES SECTION
   ========================= */

.services {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  --accentColor: #2563eb;
}

/* ---------- LIST LAYOUT ---------- */

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

/* ---------- LIST ITEMS ---------- */

.services-list li {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: default;
}

/* ---------- ICON (SVG / IMG) ---------- */

.services-list li img,
.services-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- SUBTLE HOVER (DESKTOP ONLY) ---------- */

@media (hover: hover) {
  .services-list li:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease-in-out 0.1s;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 1rem;
  }

  .services-list li {
    font-size: 0.92rem;
  }
}

.services .services-subheading {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.services-cta {
  font-weight: 600;
  letter-spacing: 0.02em;            
}

.services .frutiger-button {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 3rem;
  text-decoration:none;
}

.frutiger-button {
  cursor: pointer;
  position: relative;
  border-radius: 6px;
  border: none;
  text-shadow: 1px 1px #000a;
  background: none;
  box-shadow: 0 4px 6px #0008;
  transition: 0.3s all;
  text-decoration: none;
}

.frutiger-button:hover {
  box-shadow: 0 6px 12px #0009;
}

.frutiger-button:active {
  box-shadow: #0000;
}

.inner {
  position: relative;
  padding: 1em;
  border-radius: 6px;
  background: #374151;
  overflow: hidden;
  transition: inherit;
}

.inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-65deg, #0000 40%, #fff7 50%, #0000 70%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  /* Use the new 8s total duration */
  animation: glide 6s ease infinite;
}

@keyframes glide {

  0% {
    background-position: 130%;
    opacity: 1;
  }

  50% {
    background-position: -166%;
    opacity: 0;
  }
 
  100% {
    background-position: -166%;
    opacity: 0;
  }
}


.top-white {
  position: absolute;
  border-radius: inherit;
  inset: 0 -8em;
  background: radial-gradient(
    circle at 50% -270%,
    #fff 45%,
    #fff6 52%,
    #fff0 60%
  );
  transition: inherit;
}

.inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: inherit;
  box-shadow: inset 0 2px 8px -2px #0000;
}

.frutiger-button:active .inner::after {
  box-shadow: inset 0 2px 8px -2px #000a;
}

.text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  transition: inherit;
}


/* service list motion */
@media (hover: hover) {
  .services-list .services-cta:hover {
    transform: translateY(-2px);
  }
}

.cta {
  background: rgb(230, 230, 225, 30%);
  text-align: center;
  padding: 2rem 1.25rem;
}

.pricing-accordion {
  list-style: none;
  padding: 0;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
}

.pricing-label {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  justify-content: space-between;
  gap: 0.75rem;
  background: #eef2ff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  color: #2563eb;
  white-space: nowrap;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.pricing-toggle .label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: #111827;
}

.label-title {
  font-weight: 700;
  line-height: 1.2;
}

.label-sub {
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.2;
}

.price-prefix {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #2563eb;
}

.pricing-item {
  border-bottom: 1px solid #e5e7eb;
}

.pricing-toggle {
  min-width: 0;
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
}

.pricing-toggle > * {
  min-width: 0;
}

.pricing-toggle .icon {
  font-size: 1.25rem;
  transition: transform 200ms ease;
}

.pricing-toggle[aria-expanded="true"] .icon {
  transform: rotate(45deg); /* + turns into × */
}

.pricing-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 300ms ease,
    opacity 200ms ease;
}

.pricing-content p {
  margin: 0 0 1rem 0;
  color: #3b3b3b;
  font-size: 0.95rem;
}

.pricing-item.open .pricing-content {
  opacity: 1;
}

.pricing-toggle[aria-expanded="true"] .price-value {
  /*color: #2563eb;           */
  transform: scale(1.12);
}

.pricing-toggle[aria-expanded="true"] .pricing-label {
  background: #e0e7ff;
}

.pricing-toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.pricing {
  position: relative;
  padding-bottom: 10rem;
}

.pricing-accent {
  position: absolute;
  right: 0;
  /*bottom: -3.5rem;*/
  width: 55vw;
  max-width: 520px;
  min-width: 320px;

  /* desktop MUST NOT be interactive */
  pointer-events: none;
  cursor: default;

  z-index: 1;
}

.pricing-accordion,
.pricing-accordion *,
.pricing p,
.pricing .btn {
  position: relative;
  z-index: 2;
}

/*
.promo-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
*/

/* ======================== MOBILE ONLY ======================== */
@media (max-width: 768px) {

  /* Stack content naturally on mobile */
  .pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Image placement + tap behavior */
  .pricing-accent {
    position: relative;     /* override desktop absolute */
    right: auto;
    bottom: auto;

    width: 85vw;
    max-width: 420px;
    margin: 1rem auto;

    order: 1;               /* image above button */
    z-index: 10;

    pointer-events: auto;   /* mobile clickable */
    cursor: zoom-in;
  }

  /* Expanded image view */
  .pricing-accent.expanded {
    position: fixed;
    inset: 0;
    margin: auto;

    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;

    z-index: 9999;
    background: #fff;
    cursor: zoom-out;
  }

  /* Overlay behind expanded image */
  .pricing-accent-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);

    z-index: 9998;

    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
  }

  .pricing-accent-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Force button below image */
  .pricing .btn {
    order: 2;
  }

  /* All other pricing content above image & button */
  .pricing > *:not(.pricing-accent):not(.btn) {
    order: 0;
  }
}

footer {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

.promo-group {
    display: inline-block;
    text-align: left; /* keep promo-text left-aligned within the group */
    position: relative; /* for absolute badge positioning */
  margin-top: 1rem;
  
  }

.promo-text {
    font-weight: 600;
    margin-top: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    padding-bottom: 0.75rem; /* reserve space for overlapping badge */
  
  }

  .promo-badge {
    position: absolute;
    left: 50%;
    top: 100%; /* start at bottom of promo-text */
    transform: translate(-50%, -50%); /* center horizontally and vertically overlap */
    display: inline-block;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e5e7eb;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
  }

  .service-hr-container{
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ========================
   FORM LAYOUT
======================== */
.form-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap:nowrap;
  align-items: flex-start;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.6rem; /* spacing between stacked fields */
}

form input,
form textarea {
  font-family: Arial, sans-serif;
  padding: 0.95rem 0.75rem 0.45rem; /* balanced padding for label + text */
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  line-height: 1.3;
  width: 100%;
}


/* Labels */
form label {
  font-weight: 600;
  margin-bottom: 0; /* handled by floating labels in modal */
}

/* Error message */
.error-message,
.error {
  display: block;
  min-height: 1rem; /* reserve space */
  margin-top: 0.15rem; /* tighter spacing under input */
  color: #dc2626;
  font-size: 0.85rem;
}

.error-message:empty, error:empty {
  display: none;
}

/* Highlight invalid/valid */
input.invalid,
textarea.invalid {
  border: 2px solid #dc2626;
  background-color: #ffeaea;
}

input.valid,
textarea.valid {
  border: 2px solid #16a34a;
  background-color: #e6ffed;
}

/* ========================
   MODAL STYLES
======================== */
#estimate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#estimate-overlay.active {
  display: flex;
}

#estimate-modal {
  background: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 14px;
  position: relative;
}

#close-estimate {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========================
   FLOATING LABELS (MODAL)
======================== */
.float-group {
  position: relative;
  margin-bottom: 0.6rem; /* space between inputs */
}

.float-group input,
.float-group textarea {
  padding: 0.95rem 0.75rem 0.45rem;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
  box-sizing: border-box;
}

.float-group textarea {
  padding-top: 1.05rem;
  line-height: 1.45;
}

.float-group label {
  position: absolute;
  left: 0.75rem;
  top: 0.95rem; /* baseline aligns with input text */
  font-size: 0.9rem;
  color: #64748b;
  pointer-events: none;
  background: #fff;
  padding: 0 0.25rem;
  line-height: 1;
  transition: all 150ms ease;
}

.float-group input:focus + label,
.float-group input:not(:placeholder-shown) + label,
.float-group textarea:focus + label,
.float-group textarea:not(:placeholder-shown) + label {
  top: 0.35rem; /* floats above input */
  font-size: 0.75rem;
  color: #64748b;
  transform: none;
}

/* Submit button in modal */
#estimate-modal .btn {
  margin-top: 0.5rem;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 640px) {
  nav {
    margin-top: 1rem;
  }

  .hero::before {
    background-position: center top;
  }
}

@media (max-width: 768px) {
  .hero::before {
    background-position: center top;
  }
}

@media (max-width: 480px) {
  .pricing-toggle {
    padding: 1.25rem 0;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .pricing-toggle .label {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  body {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 85px;
    right: 0;
    width: min(85vw, 320px);
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    transform: translateX(100%);
    transition: transform 280ms ease;
    z-index: 1000;

    height: auto;
    max-height: calc(100vh - var(--header-height, 85px));
  }

  .site-header.open .main-nav {
    transform: translateX(0);
  }
}