/* ==========================================================================
   ROVÉ HAIR SALON — FOOTER V2
   Namespace: .rv-footer (fully isolated, no conflicts with .main-footer)
   ========================================================================== */

/* ---------- Custom Properties (scoped) ---------- */
.rv-footer {
  --rvf-dark: #33332e;
  --rvf-darker: #2a2a25;
  --rvf-darkest: #1f1f1b;
  --rvf-cream: #e8ccbf;
  --rvf-rose: #be8c83;
  --rvf-rose-light: #bf8c82;
  --rvf-blush: #f4e3de;
  --rvf-offwhite: #fcf8f7;
  --rvf-white: #ffffff;
  --rvf-muted: #a8a8a0;
  --rvf-border: rgba(255, 255, 255, 0.08);
  --rvf-border-light: rgba(255, 255, 255, 0.15);
  --rvf-font-body: commuters-sans, sans-serif;
  --rvf-font-display: "SaolDisplay-Light", Georgia, serif;
  --rvf-font-script: "abramo", cursive;
  --rvf-transition: all 0.3s ease;
  --rvf-container: 1400px;
}

/* ---------- Reset / Base ---------- */
.rv-footer *,
.rv-footer *::before,
.rv-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.rv-footer {
  background-color: var(--rvf-dark);
  color: var(--rvf-white);
  font-family: var(--rvf-font-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rv-footer a {
  color: var(--rvf-white);
  text-decoration: none;
  transition: var(--rvf-transition);
}

.rv-footer a:hover {
  color: var(--rvf-cream);
}

.rv-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rv-footer h3,
.rv-footer h4 {
  margin: 0;
}

/* ---------- Container ---------- */
.rv-footer__container {
  max-width: var(--rvf-container);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .rv-footer__container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   UNIFIED FOOTER GRID
   ========================================================================== */
.rv-footer__main {
  padding: 60px 0 50px;
}

.rv-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.3fr;
  grid-template-rows: auto;
  column-gap: 45px;
  row-gap: 35px;
}

/* Column placement */
.rv-footer__col--about {
  grid-column: 1;
  grid-row: 1;
}

.rv-footer__col--explore {
  grid-column: 2;
  grid-row: 1;
}

.rv-footer__col--services {
  grid-column: 3;
  grid-row: 1;
}

.rv-footer__col--visit {
  grid-column: 4;
  grid-row: 1;
}

/* Row 2 items */
.rv-footer__mini-nl {
  grid-column: 1;
  grid-row: 2;
}

.rv-footer__grid-map {
  grid-column: 2 / 4;
  grid-row: 2;
  min-height: 280px;
  overflow: hidden;
}

.rv-footer__cta-block {
  grid-column: 4;
  grid-row: 2;
}

.rv-footer__grid-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.7;
  transition: all 0.5s ease;
}

.rv-footer__grid-map:hover iframe {
  filter: grayscale(0.3) contrast(1);
  opacity: 1;
}

/* ---------- Responsive Grid ---------- */
@media (max-width: 1100px) {
  .rv-footer__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 45px 40px;
  }

  .rv-footer__col--about,
  .rv-footer__col--explore,
  .rv-footer__col--services,
  .rv-footer__col--visit,
  .rv-footer__mini-nl,
  .rv-footer__cta-block {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  /* Reorder so nav columns come before newsletter/map/CTA */
  .rv-footer__col--about   { order: 1; }
  .rv-footer__col--explore { order: 2; }
  .rv-footer__col--services { order: 3; }
  .rv-footer__col--visit   { order: 4; }
  .rv-footer__mini-nl      { order: 5; }
  .rv-footer__grid-map {
    order: 6;
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 250px;
  }
  .rv-footer__cta-block    { order: 7; grid-column: 1 / -1; }

  .rv-footer__mini-nl {
    border-top: none;
    padding-top: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .rv-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .rv-footer__grid-map {
    min-height: 220px;
  }

  .rv-footer__mini-nl {
    text-align: center;
  }

  .rv-footer__mini-nl-tagline {
    text-align: center;
  }

  .rv-footer__cta-block {
    padding: 35px 20px;
  }

  .rv-footer__cta-block .rv-footer__social {
    justify-content: center;
  }

  .rv-footer__about-cta {
    display: block;
    text-align: center;
  }
}

/* ---------- Column Headings ---------- */
.rv-footer__heading {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rvf-cream);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.rv-footer__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--rvf-rose);
}

@media (max-width: 600px) {
  .rv-footer__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   COLUMN 1: LOGO + ABOUT + NEWSLETTER
   ========================================================================== */

/* Logo above heading */
.rv-footer__logo {
  display: block;
  max-width: 140px;
  width: 100%;
  margin-bottom: 25px;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .rv-footer__logo {
    margin-left: auto;
    margin-right: auto;
  }
}

.rv-footer__about-text {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.rv-footer__about-cta {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rvf-cream);
  border: 1px solid var(--rvf-cream);
  padding: 10px 24px;
  transition: var(--rvf-transition);
}

.rv-footer__about-cta:hover {
  background-color: var(--rvf-cream);
  color: var(--rvf-dark);
}

/* ---------- Compact Newsletter ---------- */
.rv-footer__mini-nl {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 1px solid var(--rvf-border);
  padding-top: 20px;
}

.rv-footer__mini-nl-tagline {
  font-family: var(--rvf-font-script);
  font-size: 26px;
  color: var(--rvf-cream);
  margin-bottom: 5px;
  font-weight: 400;
  line-height: 1.2;
}

.rv-footer__mini-nl-subtitle {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rvf-muted);
  margin-bottom: 18px;
  font-weight: 300;
}

.rv-footer__mini-nl-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rv-footer__mini-nl-fields input[type="text"],
.rv-footer__mini-nl-fields input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rvf-border-light);
  border-bottom: none;
  color: var(--rvf-white);
  padding: 12px 15px;
  font-family: var(--rvf-font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
  outline: none;
  transition: var(--rvf-transition);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.rv-footer__mini-nl-fields input[type="text"]:focus,
.rv-footer__mini-nl-fields input[type="email"]:focus {
  border-color: var(--rvf-cream);
  background: rgba(255, 255, 255, 0.1);
}

.rv-footer__mini-nl-fields input::placeholder {
  color: var(--rvf-muted);
  font-weight: 300;
}

.rv-footer__mini-nl-fields button[type="submit"] {
  width: 100%;
  background-color: var(--rvf-rose);
  color: var(--rvf-white);
  border: 1px solid var(--rvf-rose);
  padding: 12px 20px;
  font-family: var(--rvf-font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--rvf-transition);
  white-space: nowrap;
  font-weight: 400;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.rv-footer__mini-nl-fields button[type="submit"]:hover {
  background-color: var(--rvf-cream);
  border-color: var(--rvf-cream);
  color: var(--rvf-dark);
}

.rv-footer__mini-nl-fields button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form Messages */
.rv-footer__nl-message {
  margin-top: 10px;
  font-size: 12px;
  min-height: 18px;
  letter-spacing: 0.03em;
}

.rv-footer__nl-message--success {
  color: var(--rvf-cream);
}

.rv-footer__nl-message--error {
  color: #e8a0a0;
}

/* Social icons */
.rv-footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 600px) {
  .rv-footer__social {
    justify-content: center;
  }
}

.rv-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rvf-border-light);
  color: var(--rvf-white);
  font-size: 14px;
  transition: var(--rvf-transition);
}

.rv-footer__social a:hover {
  background-color: var(--rvf-rose);
  border-color: var(--rvf-rose);
  color: var(--rvf-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   COLUMNS 2 & 3: EXPLORE & SERVICES LINKS
   ========================================================================== */
.rv-footer__links li {
  margin-bottom: 10px;
}

.rv-footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  display: inline-block;
  position: relative;
  padding-left: 0;
  transition: var(--rvf-transition);
}

.rv-footer__links a::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--rvf-cream);
  transition: width 0.3s ease;
}

.rv-footer__links a:hover {
  color: var(--rvf-cream);
  padding-left: 5px;
}

.rv-footer__links a:hover::before {
  width: 100%;
}

/* ==========================================================================
   COLUMN 4: VISIT US — HOURS & CONTACT
   ========================================================================== */
.rv-footer__schedule {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  font-size: 13px;
}

.rv-footer__schedule tr {
  border-bottom: 1px solid var(--rvf-border);
}

.rv-footer__schedule tr:last-child {
  border-bottom: none;
}

.rv-footer__schedule tr:first-child td {
  padding-top: 0;
}

.rv-footer__schedule td {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.75);
}

.rv-footer__schedule td:first-child {
  font-weight: 400;
  color: var(--rvf-white);
  padding-right: 20px;
  white-space: nowrap;
}

.rv-footer__schedule td:last-child {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .rv-footer__schedule {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
  }
}

.rv-footer__address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.rv-footer__address a {
  color: rgba(255, 255, 255, 0.75);
}

.rv-footer__address a:hover {
  color: var(--rvf-cream);
}

.rv-footer__contact-links {
  margin-bottom: 15px;
}

.rv-footer__contact-links a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  transition: var(--rvf-transition);
}

.rv-footer__contact-links a:hover {
  color: var(--rvf-cream);
}

.rv-footer__contact-links a i {
  width: 20px;
  margin-right: 8px;
  color: var(--rvf-rose);
  font-size: 14px;
  text-align: center;
}

/* ---------- CTA Block ---------- */
.rv-footer__cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 24px;
  background: linear-gradient(135deg, rgba(190, 140, 131, 0.12) 0%, rgba(190, 140, 131, 0.06) 100%);
  border: 1px solid rgba(190, 140, 131, 0.25);
  border-radius: 2px;
}

.rv-footer__cta-tagline {
  font-family: var(--rvf-font-script);
  font-size: 34px;
  color: var(--rvf-offwhite);
  line-height: 1.2;
  margin-bottom: 8px;
}

.rv-footer__cta-text {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--rvf-muted);
  margin-bottom: 20px;
}

.rv-footer__book-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--rvf-white);
  background-color: var(--rvf-rose);
  border: 1px solid var(--rvf-rose);
  transition: var(--rvf-transition);
}

.rv-footer__book-btn:hover {
  background-color: transparent;
  color: var(--rvf-cream);
}

.rv-footer__cta-block .rv-footer__social {
  margin-top: 18px;
  justify-content: center;
}

/* ==========================================================================
   CANCELLATION POLICY
   ========================================================================== */
.rv-footer__policy {
  padding: 35px 0;
  border-top: 1px solid var(--rvf-border);
  text-align: center;
}

.rv-footer__policy-heading {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rvf-cream);
  margin-bottom: 12px;
}

.rv-footer__policy-text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--rvf-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   BOTTOM BAR
   ========================================================================== */
.rv-footer__bottom {
  background-color: var(--rvf-darker);
  padding: 25px 0;
}

.rv-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 768px) {
  .rv-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

.rv-footer__copyright {
  font-size: 12px;
  color: var(--rvf-muted);
  letter-spacing: 0.03em;
}

.rv-footer__copyright span {
  color: var(--rvf-cream);
}

.rv-footer__bottom-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .rv-footer__bottom-links {
    gap: 15px;
  }
}

.rv-footer__bottom-links a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rvf-muted);
}

.rv-footer__bottom-links a:hover {
  color: var(--rvf-cream);
}

.rv-footer__bottom-links .rv-footer__separator {
  width: 1px;
  height: 12px;
  background-color: var(--rvf-border-light);
}

/* ==========================================================================
   MOBILE PHONE BUTTON
   ========================================================================== */
#book-me-mobile {
  display: none;
}

@media screen and (max-width: 960px) {
  #book-me-mobile {
    display: inline-block;
    position: fixed;
    bottom: 3%;
    left: 3%;
    z-index: 99996 !important;
  }

  #book-me-mobile a {
    background: var(--rvf-rose-light, #bf8c82);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: montserrat, sans-serif;
    border-radius: 100%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--rvf-transition);
  }

  #book-me-mobile a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
.rv-footer__sr-only {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .rv-footer__grid-map,
  .rv-footer__mini-nl,
  .rv-footer__social,
  #book-me-mobile {
    display: none !important;
  }

  .rv-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .rv-footer a {
    color: #000 !important;
  }
}
