/*
Theme Name: Hüpfburgverleih
Theme URI: https://pascalebeier.de
Author: Pascale Beier
Author URI: https://pascalebeier.de
Description: WordPress Theme für den Hüpfburgverleih Multisite
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huepfburgverleih
Tags:
*/

/* =========================================
   1. GLOBAL TEXTURE & BASICS
   ========================================= */

body {
  background-color: var(--wp--preset--color--brand-bg);
  /* The paper noise texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Fix for buttons to allow flex alignment if icons are added */
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--wp--preset--shadow--sticker);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* =========================================
   2. BLOCK STYLE: STICKER CARD
   (Registered for: Group)
   ========================================= */

.is-style-sticker-card {
  background-color: white;
  border-radius: var(--wp--preset--border-radius--brand-radius);
  box-shadow: var(--wp--preset--shadow--sticker);
  border: 2px solid white;
  padding: var(--wp--preset--spacing--40); /* Fallback padding */
  transition: transform 0.3s ease;
}

.is-style-sticker-card:hover {
  transform: scale(1.01);
}

/* =========================================
   3. BLOCK STYLE: HAND ACCENT
   (Registered for: Paragraph)
   ========================================= */

.is-style-hand-accent {
  font-family: var(--wp--preset--font-family--hand);
  color: var(--wp--preset--color--brand-purple);
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.4;
}

/* =========================================
   4. BLOCK STYLE: POLAROID
   (Registered for: Image)
   ========================================= */

/* The Container (Figure) */
.wp-block-image.is-style-polaroid {
  background-color: white;
  padding: 1rem 1rem 3.5rem 1rem; /* Extra bottom padding for the caption */
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  position: relative;
  box-sizing: border-box;
  transform: rotate(2deg);
  transition: transform 0.3s ease, z-index 0s linear 0.3s;
  overflow: visible; /* Allows tape to stick out */
}

.wp-block-image.is-style-polaroid:hover {
  transform: scale(1.02) rotate(0deg);
  z-index: 50;
  transition: transform 0.3s ease, z-index 0s;
}

.wp-block-image.is-style-polaroid img {
  border: 1px solid #f0f0f0;
  display: block;
  width: 100%;
  height: auto;
}

.wp-block-image.is-style-polaroid figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--wp--preset--font-family--hand);
  color: var(--wp--preset--color--brand-coal);
  font-size: 1.4rem;
  padding: 0.5rem;
  margin: 0;
  line-height: 1.2;
}

.wp-block-image.is-style-polaroid::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 110px;
  height: 32px;
  background-color: rgba(255, 240, 150, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  z-index: 20;
  pointer-events: none;
  opacity: 0.95;
}

/* =========================================
   5. BLOCK STYLES: ROTATION
   (Registered for: Group, Image, Heading)
   ========================================= */

[class*="is-style-rotate-"] {
  transition: transform 0.3s ease;
}

.is-style-rotate-left {
  transform: rotate(-2deg);
}

.is-style-rotate-right {
  transform: rotate(2deg);
}

[class*="is-style-rotate-"]:hover {
  transform: rotate(0deg);
}

/* =========================================
   6. UTILITIES (Fallback / Manual)
   ========================================= */

.rotate-1 { transform: rotate(1deg); }
.rotate-2 { transform: rotate(2deg); }
.rotate-3 { transform: rotate(3deg); }
.rotate-neg-1 { transform: rotate(-1deg); }
.rotate-neg-2 { transform: rotate(-2deg); }
.rotate-neg-3 { transform: rotate(-3deg); }

/* =========================================
   7. HERO DECORATIONS (Blobs & Doodles)
   ========================================= */

.hero-section-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.hero-blob-orange {
  background-color: var(--wp--preset--color--brand-orange);
  width: 300px;
  height: 300px;
  top: 10%;
  right: -50px;
}

.hero-blob-purple {
  background-color: var(--wp--preset--color--brand-purple);
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
}

.hero-doodle-svg {
  position: absolute;
  top: 5%;
  left: 2%;
  width: 150px;
  opacity: 0.1;
  pointer-events: none;
  transform: rotate(-12deg);
  z-index: 0;
}

/* =========================================
   8. LAYOUT + HEADER
   ========================================= */

:root {
  --huepf-header-height: 8rem;
  --huepf-page-offset: 2rem;
}

.site-main-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.admin-bar .site-main-header {
  top: 32px;
}

.site-main-header > .wp-block-group.alignwide {
  min-height: var(--huepf-header-height);
  gap: 1.25rem;
}

.site-main-header .wp-block-site-logo {
  margin: 0;
  flex: 0 0 auto;
}

.site-main-header .custom-logo {
  width: clamp(200px, 22vw, 260px);
  height: auto;
}

.site-main-header__nav {
  margin-left: auto;
}

.site-main-header__nav .wp-block-navigation__container {
  gap: 2.05rem;
}

.site-main-header__nav .wp-block-navigation-item__content {
  text-decoration: none;
  color: #4b5568;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.02rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-main-header__nav .wp-block-navigation-item__content:hover,
.site-main-header__nav .wp-block-navigation-item__content:focus-visible {
  color: var(--wp--preset--color--brand-orange);
}

.site-main-header__nav .wp-block-navigation-item.site-main-header__nav-cta > .wp-block-navigation-item__content {
  background: var(--wp--preset--color--brand-purple);
  color: #fff;
  border-radius: 9999px;
  padding: 0.75rem 1.7rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.site-main-header__nav .wp-block-navigation-item.site-main-header__nav-cta > .wp-block-navigation-item__content:hover,
.site-main-header__nav .wp-block-navigation-item.site-main-header__nav-cta > .wp-block-navigation-item__content:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================
   9. HERO
   ========================================= */

.hero-section-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--huepf-header-height) + 0.2rem);
  padding-bottom: 5rem;
  background-color: var(--wp--preset--color--brand-cream);
  background-image:
    radial-gradient(58rem 26rem at 95% 13%, rgba(242, 148, 0, 0.16), rgba(242, 148, 0, 0) 55%),
    radial-gradient(44rem 28rem at -2% 100%, rgba(148, 105, 173, 0.14), rgba(148, 105, 173, 0) 60%);
}

body.admin-bar .hero-section-wrapper {
  padding-top: calc(var(--huepf-header-height) + 32px + 0.2rem);
}

.hero-main-content {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.hero-main-content > .wp-block-columns {
  align-items: center;
  gap: 4rem;
}

.hero-main-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.hero-main-title__dark {
  font-family: var(--wp--preset--font-family--body);
  color: #4f596d;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.hero-main-title__accent {
  font-family: var(--wp--preset--font-family--hand);
  color: var(--wp--preset--color--brand-purple);
  font-size: clamp(3.7rem, 9vw, 6rem);
  line-height: 0.9;
  transform: rotate(-2deg);
}

.hero-main-title__underline {
  display: block;
  width: clamp(12rem, 43vw, 26rem);
  height: 0.34rem;
  border-radius: 9999px;
  background: var(--wp--preset--color--brand-orange);
  transform: rotate(-1.5deg);
  margin-top: 0.12rem;
}

.hero-subline {
  max-width: 32rem;
  color: #3f4a5e;
  line-height: 1.35;
  margin-top: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.hero-cta-row {
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.hero-primary-btn .wp-block-button__link {
  min-width: 18.5rem;
  min-height: 4rem;
  font-size: 1.25rem;
  border: 2px solid #fff;
  line-height: 1.2;
  padding: 1rem 2.2rem;
}

.hero-primary-btn .wp-block-button__link::after {
  content: "\203a";
  display: inline-block;
  margin-left: 0.7rem;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-secondary-btn .wp-block-button__link {
  background: #fff;
  color: var(--wp--preset--color--brand-purple);
  border: 2px solid var(--wp--preset--color--brand-purple);
  box-shadow: none;
  min-width: 16.4rem;
  min-height: 4rem;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-secondary-btn .wp-block-button__link:hover {
  background: #f8f4fb;
  color: var(--wp--preset--color--brand-purple);
}

.hero-secondary-btn .wp-block-button__link::before {
  content: "\25cc";
  margin-right: 0.65rem;
  font-size: 1.25rem;
}

.hero-trust-badges {
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #5c6170;
  font-family: var(--wp--preset--font-family--hand);
  font-size: 1.3rem;
  line-height: 1.35;
  font-weight: 700;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-item::before {
  color: #b084cc;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.05rem;
}

.hero-trust-item--shield::before {
  content: "\25cd";
}

.hero-trust-item--truck::before {
  content: "\25a3";
}

.polaroid-container {
  padding-left: 0.5rem;
}

.polaroid-container .wp-block-image {
  max-width: 45.5rem;
  width: 100%;
  margin-left: auto;
}

.polaroid-container .wp-block-image.is-style-polaroid {
  transform: rotate(2.2deg);
}

.polaroid-container .wp-block-image.is-style-polaroid figcaption {
  font-size: 2rem;
}

/* =========================================
   10. PRODUCTS + CPT
   ========================================= */

.products-section,
.huepf-products-archive {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.huepf-products-archive {
  padding-top: calc(var(--huepf-header-height) + var(--huepf-page-offset));
}

body.admin-bar .huepf-products-archive {
  padding-top: calc(var(--huepf-header-height) + var(--huepf-page-offset) + 32px);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-kicker {
  margin: 0;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-kicker.is-uppercase {
  text-transform: uppercase;
}

.products-title {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 1.1;
}

.products-divider {
  width: 6rem;
  margin: 1.5rem auto 0;
  border-width: 4px;
  border-radius: 9999px;
}

.huepf-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 3.25rem;
  position: relative;
  z-index: 2;
}

.huepf-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.55rem;
  border: 2px solid var(--wp--preset--color--brand-purple);
  color: var(--wp--preset--color--brand-purple);
  background: #fff;
  border-radius: var(--wp--preset--border-radius--brand-radius);
  text-decoration: none;
  box-shadow: var(--wp--preset--shadow--sticker);
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.huepf-filter-chip:hover {
  transform: none;
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.12);
}

.huepf-filter-chip.is-active {
  background: var(--wp--preset--color--brand-purple);
  color: #fff;
  border-color: #fff;
}

.huepf-products-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.products-section > .huepf-filter-bar,
.products-section > .huepf-products-grid,
.huepf-products-archive > .huepf-filter-bar,
.huepf-products-archive > .huepf-products-grid {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-left: auto;
  margin-right: auto;
}

.huepf-products-grid > .wp-block-column {
  margin: 0;
  min-width: 0;
}

.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--wp--preset--shadow--sticker);
  border-radius: 5px;
  padding: 0.75rem 0.75rem 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.huepf-products-grid > .wp-block-column:nth-child(odd) .product-card {
  transform: rotate(-0.8deg);
}

.huepf-products-grid > .wp-block-column:nth-child(even) .product-card {
  transform: rotate(0.8deg);
}

.product-card:hover {
  transform: scale(1.02) rotate(0deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.product-card-image {
  margin: 0 0 0.9rem;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.huepf-price-badge {
  display: inline-block;
  margin: -2.45rem 0 0.8rem;
  padding: 0.3rem 0.92rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wp--preset--color--brand-purple);
  border-top-right-radius: 1rem;
  border: 1px solid #ddd;
  font-family: var(--wp--preset--font-family--hand);
  font-size: 1.25rem;
}

.product-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.9rem;
  line-height: 1.15;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
}

.product-card-copy {
  color: #64666c;
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.wp-block-group.product-card .product-card-cta {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  margin-inline: 0;
  margin-top: auto;
  background: var(--wp--preset--color--brand-coal);
  color: #fff;
  padding: 0.66rem 0.95rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.wp-block-group.product-card .product-card-cta:hover {
  background: var(--wp--preset--color--brand-purple);
  color: #fff;
}

/* =========================================
   11. HOW + REVIEWS
   ========================================= */

.how-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.how-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle, #ffffff 1.3px, transparent 1.3px);
  background-size: 20px 20px;
}

.how-section > * {
  position: relative;
  z-index: 1;
}

.how-title {
  display: inline-block;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  border-bottom: 4px solid var(--wp--preset--color--brand-orange);
  padding-bottom: 0.35rem;
}

.how-subline {
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.45rem;
  opacity: 0.9;
}

.how-grid {
  margin-top: 3rem;
  gap: 3rem;
}

.how-step {
  text-align: center;
}

.how-icon {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 9999px;
  background: #fff;
  color: var(--wp--preset--color--brand-purple);
  border: 4px solid var(--wp--preset--color--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.reviews-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.reviews-title-small {
  font-family: var(--wp--preset--font-family--hand);
  font-size: 1.45rem;
  font-weight: 400;
  color: #7f858e;
}

.reviews-rating {
  color: var(--wp--preset--color--brand-orange);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.reviews-rating strong {
  color: var(--wp--preset--color--brand-coal);
  margin-left: 0.45rem;
}

.reviews-grid {
  margin-top: 3rem;
  gap: 2rem;
}

.review-card {
  background: #fff;
  padding: 2rem;
  border: 2px solid #fff;
  box-shadow: var(--wp--preset--shadow--sticker);
  transition: transform 0.25s ease;
}

.review-card:hover {
  transform: rotate(0deg);
}

.review-card p:first-child {
  font-size: 1.06rem;
  line-height: 1.65;
  color: #3a3d44;
}

.review-author {
  border-top: 1px solid #ececf0;
  margin-top: 1.15rem;
  padding-top: 1rem;
  margin-bottom: 0;
}

.review-author span {
  color: #8a8f97;
  font-family: var(--wp--preset--font-family--hand);
  font-size: 1.05rem;
}

/* =========================================
   12. SINGLE PRODUCT
   ========================================= */

.huepf-product-single {
  padding-top: calc(var(--huepf-header-height) + var(--huepf-page-offset));
  padding-bottom: 5rem;
}

body.admin-bar .huepf-product-single {
  padding-top: calc(var(--huepf-header-height) + var(--huepf-page-offset) + 32px);
}

.huepf-product-single__layout {
  gap: 3rem;
}

.huepf-product-single__image img {
  border-radius: 1rem;
  box-shadow: var(--wp--preset--shadow--sticker);
}

.huepf-product-single__title {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.huepf-product-single__excerpt {
  color: #555f70;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.12rem;
  line-height: 1.6;
}

.huepf-product-single__content {
  margin-top: 1.5rem;
}

.huepf-product-single__content > * + * {
  margin-top: 1.5rem;
}

.huepf-product-single__content h2,
.huepf-product-single__content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.huepf-product-single__content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.huepf-product-single__content li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.huepf-product-single__content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.2rem;
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: center;
  border-radius: 9999px;
  color: var(--wp--preset--color--brand-orange);
  background: #fff;
  border: 1px solid #f0e7d4;
}

.huepf-detail-panel {
  background: #eceef2;
  border-radius: 1.5rem;
  border: 1px solid #dce1ea;
  padding: 1.4rem;
}

.huepf-detail-panel h3 {
  margin-top: 0;
}

.huepf-detail-panel .wp-block-columns {
  margin-top: 1rem;
  gap: 1.5rem;
}

.huepf-detail-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.huepf-detail-specs {
  margin-top: 1.6rem;
  gap: 1.3rem;
}

.huepf-detail-spec-card {
  border: 1px solid #dce1ea;
  border-radius: 1.25rem;
  background: #fff;
  text-align: center;
  padding: 1.15rem 1rem;
}

.huepf-detail-spec-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.huepf-detail-spec-card p {
  margin: 0;
  color: #6f7787;
}

.huepf-product-single__booking {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 2rem;
  box-shadow: var(--wp--preset--shadow--sticker);
  padding: 1.6rem;
  position: sticky;
  top: calc(var(--huepf-header-height) + 1rem);
}

.huepf-product-price-detail {
  margin: 0 0 1.05rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.huepf-product-price-detail strong {
  color: var(--wp--preset--color--brand-purple);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  font-family: var(--wp--preset--font-family--heading);
}

.huepf-product-price-detail span {
  color: #8d94a3;
  font-size: 1rem;
}

.huepf-product-price-detail strong:only-child {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.huepf-product-single__booking h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.huepf-product-single__booking .wp-block-buttons {
  margin-top: 1rem;
}

.huepf-product-single__booking .wp-block-button__link {
  width: 100%;
  justify-content: center;
}

.huepf-product-single__hint {
  color: #8a93a3;
  margin-bottom: 0;
  font-size: 0.97rem;
  line-height: 1.4;
}

.huepf-product-single__separator {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  border-color: #edf0f5;
}

.huepf-whatsapp-inline-link,
.huepf-whatsapp-inline-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  color: var(--wp--preset--color--brand-purple);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--heading);
}

.huepf-whatsapp-inline-link:hover {
  text-decoration: underline;
}

.huepf-product-single__quote-wrap {
  margin-top: 2.5rem;
}

.huepf-quote-section {
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #f7f8fb 0%, #f1f3f7 100%);
  border: 1px solid #dfe3eb;
  box-shadow: 0 12px 30px rgba(31, 42, 68, 0.08);
  padding: 1.6rem;
  scroll-margin-top: calc(var(--huepf-header-height) + 1rem);
}

.huepf-quote-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.huepf-quote-subtitle {
  margin: 0.35rem 0 1.15rem;
  color: #677086;
  font-size: 1rem;
  line-height: 1.45;
}

.huepf-quote-section__intro {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.huepf-quote-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid var(--wp--preset--color--brand-purple);
  color: var(--wp--preset--color--brand-purple);
  border-radius: var(--wp--preset--border-radius--brand-radius);
  background: #fff;
  padding: 0.72rem 1.2rem;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.huepf-quote-whatsapp:hover {
  background: var(--wp--preset--color--brand-purple);
  color: #fff;
  transform: translateY(-1px);
}

.huepf-quote-or {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: #6c7485;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.huepf-quote-or::before,
.huepf-quote-or::after {
  content: "";
  flex: 1 1 auto;
  min-width: 1.8rem;
  height: 1px;
  background: #cfd6e4;
}

.huepf-quote-or::before {
  margin-right: 0.35rem;
}

.huepf-quote-or::after {
  margin-left: 0.35rem;
}

.huepf-quote-notice {
  border-radius: 0.8rem;
  padding: 0.82rem 0.95rem;
  font-weight: 600;
  margin: 0 0 1.1rem;
}

.huepf-quote-notice.is-success {
  background: #ebf9f0;
  color: #145632;
  border: 1px solid #a7dbb8;
}

.huepf-quote-notice.is-warning {
  background: #fff5e6;
  color: #7b4e00;
  border: 1px solid #f2d7a5;
}

.huepf-quote-notice.is-error {
  background: #fff0f0;
  color: #8a1d1d;
  border: 1px solid #efb2b2;
}

.huepf-quote-form {
  margin: 0;
}

.huepf-quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.05rem;
}

.huepf-quote-field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  line-height: 1;
}

.huepf-quote-field--full {
  grid-column: 1 / -1;
}

.huepf-quote-field span {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 700;
  color: #434b5c;
  line-height: 1.25;
}

.huepf-quote-field input,
.huepf-quote-field textarea {
  width: 100%;
  border: 1px solid #c9d0dc;
  background: #fff;
  border-radius: 0.72rem;
  padding: 0.78rem 0.9rem;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.4;
  font-family: var(--wp--preset--font-family--body);
  color: #242833;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.huepf-quote-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.huepf-quote-field input:focus,
.huepf-quote-field textarea:focus {
  border-color: var(--wp--preset--color--brand-purple);
  box-shadow: 0 0 0 3px rgba(148, 105, 173, 0.16);
  outline: 0;
  outline-offset: 0;
}

.huepf-quote-submit {
  margin-top: 1.2rem;
  min-width: 12rem;
  border: 0;
  border-radius: var(--wp--preset--border-radius--brand-radius);
  background: var(--wp--preset--color--brand-orange);
  color: #fff;
  padding: 0.82rem 1.5rem;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.16rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--wp--preset--shadow--sticker);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.huepf-quote-submit:hover {
  background: #d98500;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

@media (min-width: 783px) {
  .huepf-quote-section__intro {
    flex-direction: row;
    align-items: center;
  }
}

/* =========================================
   13. FOOTER
   ========================================= */

.site-main-footer {
  position: relative;
  overflow: hidden;
}

.footer-skyline {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 6rem;
  opacity: 0.2;
  pointer-events: none;
}

.footer-skyline svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  color: #fff;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.footer-grid {
  margin-top: 2.6rem;
  margin-bottom: 3rem;
  gap: 2.5rem;
}

.footer-col-title {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.2;
}

.footer-lead {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.625;
  font-weight: 500;
}

.footer-seal {
  width: 8rem;
  height: 8rem;
  padding: 0.5rem;
  border: 2px solid var(--wp--preset--color--brand-orange);
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  transform: rotate(-6deg);
  opacity: 0.8;
}

.footer-seal p {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.footer-seal-top,
.footer-seal-bottom {
  color: var(--wp--preset--color--brand-orange);
  font-family: var(--wp--preset--font-family--heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-seal-middle {
  color: #fff;
  font-family: var(--wp--preset--font-family--hand);
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social-links {
  margin-top: 1rem;
}

.footer-links li {
  margin-bottom: 0.72rem;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 500;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--wp--preset--color--brand-orange);
  text-underline-offset: 4px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--wp--preset--color--brand-orange);
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 0;
  padding-top: 2rem;
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 500;
}

/* =========================================
   14. RESPONSIVE TUNING
   ========================================= */

@media (min-width: 1024px) {
  .hero-section-wrapper {
    padding-top: var(--huepf-header-height);
    padding-bottom: 8rem;
  }

  body.admin-bar .hero-section-wrapper {
    padding-top: calc(var(--huepf-header-height) + 32px);
  }

  .products-section,
  .huepf-products-archive,
  .how-section,
  .reviews-section,
  .huepf-product-single {
    padding-bottom: 8rem;
  }

  .products-section,
  .how-section,
  .reviews-section {
    padding-top: 5rem;
  }

  .huepf-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .huepf-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --huepf-header-height: 7rem;
    --huepf-page-offset: 1.25rem;
  }

  .site-main-header .custom-logo {
    width: 190px;
  }

  .site-main-header > .wp-block-group.alignwide {
    min-height: var(--huepf-header-height);
  }

  .site-main-header__nav .wp-block-navigation__container {
    gap: 1rem;
  }

  .site-main-header__nav .wp-block-navigation__responsive-container-open,
  .site-main-header__nav .wp-block-navigation__responsive-container-close {
    color: var(--wp--preset--color--brand-coal);
  }

  .site-main-header__nav .wp-block-navigation__responsive-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }

  .site-main-header__nav .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    align-items: flex-start;
    gap: 1rem;
  }

  .site-main-header__nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    font-size: 2rem;
    padding: 0.2rem 0;
  }

  .site-main-header__nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item.site-main-header__nav-cta > .wp-block-navigation-item__content {
    font-size: 1.5rem;
    padding: 0.75rem 1.35rem;
  }

  .hero-blob,
  .hero-doodle-svg {
    display: none;
  }

  .hero-main-content > .wp-block-columns {
    gap: 2rem;
  }

  .hero-main-title__dark {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
  }

  .hero-main-title__accent {
    font-size: clamp(3.7rem, 16vw, 4.6rem);
  }

  .hero-subline {
    max-width: none;
    font-size: 1.25rem;
  }

  .hero-cta-row {
    gap: 1rem;
  }

  .hero-cta-row .wp-block-button {
    width: 100%;
  }

  .hero-primary-btn .wp-block-button__link,
  .hero-secondary-btn .wp-block-button__link {
    width: 100%;
    min-width: 0;
    min-height: 0;
    justify-content: center;
  }

  .hero-primary-btn .wp-block-button__link {
    font-size: 1.25rem;
  }

  .hero-secondary-btn .wp-block-button__link {
    font-size: 1.12rem;
  }

  .hero-trust-badges {
    gap: 1.25rem;
    font-size: 1.2rem;
  }

  .polaroid-container {
    padding-left: 0;
  }

  .polaroid-container .wp-block-image.is-style-polaroid {
    transform: none;
  }

  .product-card,
  .review-card {
    transform: none;
  }

  .huepf-product-single__booking {
    position: static;
  }

  .huepf-product-single__layout {
    gap: 1.75rem;
  }

  .huepf-product-single__quote-wrap {
    margin-top: 1.5rem;
  }

  .huepf-quote-section {
    padding: 1.15rem;
    border-radius: 1rem;
  }

  .huepf-quote-title {
    font-size: 1.45rem;
  }

  .huepf-quote-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.95rem;
  }

  .huepf-quote-section__intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }

  .huepf-quote-or::before,
  .huepf-quote-or::after {
    display: none;
  }

  .huepf-quote-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .huepf-quote-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .huepf-quote-submit {
    width: 100%;
  }

  .footer-grid {
    margin-top: 2rem;
    gap: 2rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-main-header {
    top: 46px;
  }

  body.admin-bar .hero-section-wrapper {
    padding-top: calc(var(--huepf-header-height) + 46px + 0.2rem);
  }

  body.admin-bar .huepf-products-archive,
  body.admin-bar .huepf-product-single {
    padding-top: calc(var(--huepf-header-height) + var(--huepf-page-offset) + 46px);
  }
}

@media (max-width: 600px) {
  .hero-section-wrapper {
    background-image: none;
  }

  .hero-subline {
    font-size: 1.25rem;
  }

  .hero-main-title__dark {
    font-size: clamp(1.9rem, 12vw, 2.45rem);
  }

  .hero-main-title__accent {
    font-size: clamp(3.7rem, 18vw, 4.6rem);
  }

  .huepf-filter-chip {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
    font-size: 1.1rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .site-main-footer {
    padding-top: 6.5rem;
  }

  .footer-skyline {
    height: 4.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link,
  [class*="is-style-rotate-"],
  .product-card,
  .review-card,
  .huepf-filter-chip {
    transition: none;
  }

  .product-card:hover,
  .review-card:hover,
  .wp-block-button__link:hover,
  .huepf-filter-chip:hover {
    transform: none;
  }
}
