/* Visual builder: sections, 12-column grid and components. Colours and fonts come from the theme (--brand, --accent...). */

/* ---------- Sections ---------- */
.gp-section { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.gp-section > .gp-container { position: relative; z-index: 2; width: min(var(--container, 1160px), 100% - 2.5rem); margin-inline: auto; }
.gp-section[data-width="full"] > .gp-container { width: 100%; padding-inline: clamp(1rem, 3vw, 2.5rem); }
.gp-section[data-width="narrow"] > .gp-container { width: min(820px, 100% - 2.5rem); }
.gp-section.gp-tight { padding: 2rem 0; }
.gp-section.gp-tall { min-height: 80vh; display: flex; align-items: center; }
.gp-section.gp-tall > .gp-container { flex: none; }
.gp-section.gp-light { background-color: var(--mist); }
.gp-section.gp-dark { background-color: var(--dark); color: #E7EEF3; }
.gp-section.gp-brand { background-color: var(--brand); color: #fff; }
.gp-section.gp-gradient { background-image: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.gp-section.gp-dark h1, .gp-section.gp-dark h2, .gp-section.gp-dark h3, .gp-section.gp-dark h4,
.gp-section.gp-brand h1, .gp-section.gp-brand h2, .gp-section.gp-brand h3, .gp-section.gp-brand h4,
.gp-section.gp-gradient h1, .gp-section.gp-gradient h2, .gp-section.gp-gradient h3,
.gp-on-dark h1, .gp-on-dark h2, .gp-on-dark h3, .gp-on-dark h4 { color: #fff; }
.gp-section.gp-dark .muted, .gp-section.gp-brand .muted, .gp-section.gp-gradient .muted, .gp-on-dark .muted { color: rgba(255,255,255,.78); }
.gp-on-dark { color: #fff; }
.gp-parallax { background-attachment: fixed; }
@media (hover: none), (max-width: 860px) { .gp-parallax { background-attachment: scroll; } }
.gp-section.gp-overlay::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--gp-overlay, rgba(10, 20, 30, .55)); pointer-events: none; }
.gp-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gp-video-bg video, .gp-video-bg iframe { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: 177.78vh; height: 56.25vw; transform: translate(-50%, -50%); border: 0; object-fit: cover; }
.gp-shape { position: absolute; left: 0; right: 0; z-index: 2; line-height: 0; pointer-events: none; }
.gp-shape svg { width: 100%; height: 70px; display: block; }
.gp-shape-bottom { bottom: -1px; }
.gp-shape-top { top: -1px; transform: rotate(180deg); }

/* ---------- Grid ---------- */
.gp-row { display: flex; flex-wrap: wrap; margin-inline: -14px; row-gap: 28px; }
.gp-row.gp-gap-0 { margin-inline: 0; row-gap: 0; }
.gp-row.gp-gap-0 > .gp-col { padding-inline: 0; }
.gp-row.gp-gap-lg { margin-inline: -24px; row-gap: 48px; }
.gp-row.gp-gap-lg > .gp-col { padding-inline: 24px; }
.gp-row.gp-middle { align-items: center; }
.gp-row.gp-bottom { align-items: flex-end; }
.gp-row.gp-center { justify-content: center; }
.gp-col { flex: 0 0 100%; max-width: 100%; padding-inline: 14px; min-width: 0; min-height: 20px; }
.gp-col-sm-1{flex:0 0 8.3333%;max-width:8.3333%}.gp-col-sm-2{flex:0 0 16.6667%;max-width:16.6667%}.gp-col-sm-3{flex:0 0 25%;max-width:25%}.gp-col-sm-4{flex:0 0 33.3333%;max-width:33.3333%}.gp-col-sm-5{flex:0 0 41.6667%;max-width:41.6667%}.gp-col-sm-6{flex:0 0 50%;max-width:50%}.gp-col-sm-7{flex:0 0 58.3333%;max-width:58.3333%}.gp-col-sm-8{flex:0 0 66.6667%;max-width:66.6667%}.gp-col-sm-9{flex:0 0 75%;max-width:75%}.gp-col-sm-10{flex:0 0 83.3333%;max-width:83.3333%}.gp-col-sm-11{flex:0 0 91.6667%;max-width:91.6667%}.gp-col-sm-12{flex:0 0 100%;max-width:100%}
@media (min-width: 768px) {
.gp-col-md-1{flex:0 0 8.3333%;max-width:8.3333%}.gp-col-md-2{flex:0 0 16.6667%;max-width:16.6667%}.gp-col-md-3{flex:0 0 25%;max-width:25%}.gp-col-md-4{flex:0 0 33.3333%;max-width:33.3333%}.gp-col-md-5{flex:0 0 41.6667%;max-width:41.6667%}.gp-col-md-6{flex:0 0 50%;max-width:50%}.gp-col-md-7{flex:0 0 58.3333%;max-width:58.3333%}.gp-col-md-8{flex:0 0 66.6667%;max-width:66.6667%}.gp-col-md-9{flex:0 0 75%;max-width:75%}.gp-col-md-10{flex:0 0 83.3333%;max-width:83.3333%}.gp-col-md-11{flex:0 0 91.6667%;max-width:91.6667%}.gp-col-md-12{flex:0 0 100%;max-width:100%}
}
@media (min-width: 992px) {
.gp-col-lg-1{flex:0 0 8.3333%;max-width:8.3333%}.gp-col-lg-2{flex:0 0 16.6667%;max-width:16.6667%}.gp-col-lg-3{flex:0 0 25%;max-width:25%}.gp-col-lg-4{flex:0 0 33.3333%;max-width:33.3333%}.gp-col-lg-5{flex:0 0 41.6667%;max-width:41.6667%}.gp-col-lg-6{flex:0 0 50%;max-width:50%}.gp-col-lg-7{flex:0 0 58.3333%;max-width:58.3333%}.gp-col-lg-8{flex:0 0 66.6667%;max-width:66.6667%}.gp-col-lg-9{flex:0 0 75%;max-width:75%}.gp-col-lg-10{flex:0 0 83.3333%;max-width:83.3333%}.gp-col-lg-11{flex:0 0 91.6667%;max-width:91.6667%}.gp-col-lg-12{flex:0 0 100%;max-width:100%}
}
.gp-hide-mobile { } @media (max-width: 767px) { .gp-hide-mobile { display: none !important; } }
@media (min-width: 768px) and (max-width: 991px) { .gp-hide-tablet { display: none !important; } }
@media (min-width: 992px) { .gp-hide-desktop { display: none !important; } }
.gp-text-center { text-align: center; } .gp-text-center p { margin-inline: auto; }
.gp-text-right { text-align: right; }
.gp-spacer { height: 40px; }
.gp-sep { border: 0; height: 2px; background: var(--line); margin: 1.5rem 0; }
.gp-sep.gp-sep-short { width: 70px; background: var(--brand); height: 3px; border-radius: 3px; }
.gp-text-center .gp-sep-short { margin-inline: auto; }

/* ---------- Basic ---------- */
.gp-eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .7rem; }
.gp-on-dark .gp-eyebrow, .gp-dark .gp-eyebrow, .gp-brand .gp-eyebrow, .gp-gradient .gp-eyebrow { color: rgba(255,255,255,.85); }
.gp-display { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.07; }
.gp-hl { color: var(--brand); }
.gp-gradient-text { background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gp-lead { font-size: 1.2rem; color: var(--ink-soft); }
.gp-on-dark .gp-lead, .gp-dark .gp-lead, .gp-brand .gp-lead, .gp-gradient .gp-lead { color: rgba(255,255,255,.85); }
.btn.light { background: #fff; color: var(--brand) !important; }
.btn.ghost-light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.btn.lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn .gp-svg { width: 18px; height: 18px; vertical-align: -3px; margin-left: .3rem; }
.gp-btns { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: 1.4rem; }
.gp-text-center .gp-btns { justify-content: center; }
.gp-dual { display: inline-flex; align-items: center; position: relative; }
.gp-dual .btn:first-child { border-radius: var(--radius) 0 0 var(--radius); padding-right: 2rem; }
.gp-dual .btn:last-child { border-radius: 0 var(--radius) var(--radius) 0; padding-left: 2rem; background: var(--accent); }
.gp-or { position: absolute; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); font: 700 .8rem var(--sans); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 2; }
.gp-img { border-radius: calc(var(--radius) * 1.6); width: 100%; object-fit: cover; }
.gp-img-shadow { box-shadow: 0 25px 50px -20px rgba(15, 30, 45, .35); }
.gp-svg { width: 1em; height: 1em; display: inline-block; }
.gp-icon { display: inline-grid; place-items: center; color: var(--brand); font-size: 2.2rem; line-height: 1; }
.gp-icon.gp-boxed { width: 64px; height: 64px; border-radius: 18px; font-size: 1.7rem; background: color-mix(in srgb, var(--brand) 12%, white); }
.gp-icon.gp-round { width: 64px; height: 64px; border-radius: 50%; font-size: 1.6rem; background: var(--brand); color: #fff; }
.gp-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .65rem; }
.gp-list li { display: flex; gap: .7rem; align-items: flex-start; }
.gp-list li .gp-svg { color: var(--brand); flex: 0 0 auto; margin-top: .3rem; font-size: 1.05rem; }
.gp-on-dark .gp-list li .gp-svg, .gp-dark .gp-list li .gp-svg { color: var(--accent); }
.gp-badge { display: inline-block; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); font-weight: 700; font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; }
.gp-video { position: relative; aspect-ratio: 16/9; border-radius: calc(var(--radius) * 1.4); overflow: hidden; background: #000; }
.gp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gp-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Cards and boxes ---------- */
.gp-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); padding: 1.8rem; height: 100%; position: relative; transition: transform .25s, box-shadow .25s; color: var(--ink); }
.gp-card.gp-hover:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(15, 30, 45, .35); }
.gp-infobox h3 { margin: 1rem 0 .4rem; font-size: 1.25rem; }
.gp-infobox p { color: var(--ink-soft); margin-bottom: .6rem; }
.gp-infobox .gp-more { font-weight: 600; text-decoration: none; }
.gp-infobox.gp-left { display: flex; gap: 1.1rem; align-items: flex-start; }
.gp-infobox.gp-left h3 { margin-top: 0; }
.gp-highlight { background: var(--brand); color: #fff; border: 0; }
.gp-highlight h3, .gp-highlight p { color: #fff; }
.gp-highlight .gp-icon { color: #fff; }
.gp-ribbon { position: absolute; top: 18px; right: -8px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 4px 0 0 4px; letter-spacing: .05em; text-transform: uppercase; }
.gp-ribbon::after { content: ""; position: absolute; right: 0; bottom: -8px; border: 4px solid transparent; border-top-color: color-mix(in srgb, var(--accent) 60%, black); border-left-color: color-mix(in srgb, var(--accent) 60%, black); }

.gp-flip { perspective: 1200px; min-height: 260px; height: 100%; }
.gp-flip-inner { position: relative; width: 100%; height: 100%; min-height: 260px; transition: transform .7s; transform-style: preserve-3d; }
.gp-flip:hover .gp-flip-inner, .gp-flip:focus-within .gp-flip-inner { transform: rotateY(180deg); }
.gp-flip-front, .gp-flip-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: calc(var(--radius) * 1.4); padding: 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.gp-flip-front { background: var(--paper); border: 1px solid var(--line); }
.gp-flip-back { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; transform: rotateY(180deg); }
.gp-flip-back h3, .gp-flip-back p { color: #fff; }

.gp-ibanner { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.4); min-height: 320px; background: linear-gradient(135deg, var(--brand), var(--dark)); background-size: cover; background-position: center; color: #fff; display: flex; align-items: flex-end; }
.gp-ibanner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.65)); transition: opacity .3s; }
.gp-ibanner-body { position: relative; padding: 1.8rem; transform: translateY(2.4rem); transition: transform .35s; }
.gp-ibanner-body h3 { color: #fff; margin-bottom: .4rem; }
.gp-ibanner-body p { color: rgba(255,255,255,.88); opacity: 0; transition: opacity .35s; margin: 0; }
.gp-ibanner:hover .gp-ibanner-body { transform: none; }
.gp-ibanner:hover .gp-ibanner-body p { opacity: 1; }

/* ---------- Numbers ---------- */
.gp-counter { text-align: center; }
.gp-counter .gp-num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; color: var(--brand); line-height: 1; }
.gp-on-dark .gp-counter .gp-num, .gp-dark .gp-counter .gp-num, .gp-brand .gp-counter .gp-num, .gp-gradient .gp-counter .gp-num { color: #fff; }
.gp-counter p { margin: .5rem auto 0; color: var(--ink-soft); }
.gp-on-dark .gp-counter p, .gp-dark .gp-counter p, .gp-brand .gp-counter p, .gp-gradient .gp-counter p { color: rgba(255,255,255,.82); }
.gp-progress { margin-bottom: 1.2rem; }
.gp-progress-label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .4rem; }
.gp-progress-track { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.gp-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: inherit; transition: width 1.4s ease; }
.gp-countdown { display: flex; gap: 1rem; flex-wrap: wrap; }
.gp-text-center .gp-countdown { justify-content: center; }
.gp-countdown > div { min-width: 90px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem .5rem; color: var(--ink); }
.gp-countdown b { display: block; font: 700 2.2rem/1 var(--serif); color: var(--brand); }
.gp-countdown small { color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }

/* ---------- Timeline, price, table ---------- */
.gp-timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--line); }
.gp-tl-item { position: relative; padding-bottom: 2rem; }
.gp-tl-item::before { content: ""; position: absolute; left: calc(-2rem - 9px); top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--brand); }
.gp-tl-date { font-weight: 700; color: var(--brand); font-size: .9rem; }
.gp-tl-item h3 { margin: .2rem 0 .3rem; }
.gp-price { text-align: center; }
.gp-price .gp-amount { font: 700 3rem/1 var(--serif); color: var(--ink); margin: 1rem 0; }
.gp-price .gp-amount small { font: 500 1rem var(--sans); color: var(--ink-soft); }
.gp-price ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .6rem; color: var(--ink-soft); }
.gp-price.gp-featured { border: 2px solid var(--brand); box-shadow: 0 25px 50px -25px color-mix(in srgb, var(--brand) 60%, transparent); }
.gp-infotable { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.gp-infotable th { background: var(--brand); color: #fff; text-align: left; padding: .9rem 1rem; }
.gp-infotable td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.gp-infotable tr:nth-child(even) td { background: var(--mist); }

/* ---------- Tabs and accordion ---------- */
.gp-tab-nav { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; }
.gp-tab-btn { background: none; border: 0; padding: .8rem 1.2rem; font: 600 1rem var(--sans); color: var(--ink-soft); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.gp-tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }
.gp-tab-panel { display: none; }
.gp-tab-panel.active { display: block; }
details.gp-acc { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: .8rem; background: var(--paper); color: var(--ink); }
details.gp-acc summary { padding: 1.1rem 1.3rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.gp-acc summary::-webkit-details-marker { display: none; }
details.gp-acc summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); transition: transform .2s; }
details.gp-acc[open] summary::after { transform: rotate(45deg); }
details.gp-acc > div { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* ---------- Testimonials, team, logos ---------- */
.gp-testi { text-align: left; }
.gp-testi .gp-quote { color: var(--brand); font-size: 2rem; opacity: .35; }
.gp-testi p { font-size: 1.08rem; }
.gp-person { display: flex; gap: .8rem; align-items: center; margin-top: 1rem; }
.gp-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; object-fit: cover; }
.gp-stars { color: #F5B301; letter-spacing: 2px; }
.gp-team { text-align: center; }
.gp-team .gp-photo { width: 100%; aspect-ratio: 1/1; border-radius: calc(var(--radius) * 1.4); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 20%, white), color-mix(in srgb, var(--accent) 25%, white)); object-fit: cover; margin-bottom: 1rem; display: grid; place-items: center; font: 700 3rem var(--serif); color: var(--brand); }
.gp-team h3 { margin-bottom: .2rem; }
.gp-team .gp-role { color: var(--brand); font-weight: 600; font-size: .95rem; }
.gp-logos { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; justify-content: center; opacity: .75; }
.gp-logos span { font: 700 1.3rem var(--serif); color: var(--ink-soft); letter-spacing: .02em; }
.gp-logos img { height: 40px; width: auto; filter: grayscale(1); }

/* ---------- Carousel and gallery ---------- */
.gp-carousel { position: relative; }
.gp-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.gp-track::-webkit-scrollbar { display: none; }
.gp-slide { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.gp-carousel[data-per-view="1"] .gp-slide { flex-basis: 100%; }
.gp-carousel[data-per-view="2"] .gp-slide { flex-basis: calc((100% - 24px) / 2); }
.gp-carousel[data-per-view="4"] .gp-slide { flex-basis: calc((100% - 72px) / 4); }
@media (max-width: 860px) { .gp-slide, .gp-carousel[data-per-view] .gp-slide { flex-basis: 86%; } }
.gp-car-nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }
.gp-car-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.gp-car-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.gp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gp-gallery img, .gp-gallery .gp-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
.gp-ph { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, white), color-mix(in srgb, var(--accent) 30%, white)); display: grid; place-items: center; color: var(--brand); font-size: 2.4rem; }
.gp-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: grid; place-items: center; z-index: 1000; cursor: zoom-out; }
.gp-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }

/* ---------- Modal, hotspot ---------- */
.gp-modal { position: fixed; inset: 0; background: rgba(10, 20, 30, .6); display: none; align-items: center; justify-content: center; z-index: 900; padding: 1rem; }
.gp-modal.open { display: flex; }
.gp-modal-box { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) * 1.6); padding: 2rem; max-width: 560px; width: 100%; position: relative; max-height: 90vh; overflow: auto; }
.gp-modal-close { position: absolute; top: .6rem; right: .8rem; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink-soft); }
.gp-hotspot { position: relative; border-radius: calc(var(--radius) * 1.4); overflow: hidden; min-height: 320px; background: linear-gradient(135deg, var(--mist), color-mix(in srgb, var(--brand) 15%, white)); background-size: cover; background-position: center; }
.gp-hotspot img { width: 100%; }
.gp-spot { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 30%, transparent); cursor: pointer; }
.gp-spot::after { content: attr(data-tip); position: absolute; bottom: 140%; left: 50%; transform: translateX(-50%); background: var(--dark); color: #fff; font-size: .85rem; padding: .45rem .7rem; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.gp-spot:hover::after, .gp-spot:focus::after { opacity: 1; }

/* ---------- Typed text, animation ---------- */
.gp-typed { color: var(--brand); border-right: 3px solid currentColor; padding-right: 4px; animation: gp-caret 1s step-end infinite; }
.gp-on-dark .gp-typed, .gp-dark .gp-typed, .gp-gradient .gp-typed { color: var(--accent); }
@keyframes gp-caret { 50% { border-color: transparent; } }
[data-gp-anim] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
[data-gp-anim="fade"] { transform: none; }
[data-gp-anim="zoom"] { transform: scale(.92); }
[data-gp-anim="left"] { transform: translateX(-36px); }
[data-gp-anim="right"] { transform: translateX(36px); }
[data-gp-anim].gp-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-gp-anim] { opacity: 1; transform: none; transition: none; } .gp-flip-inner { transition: none; } }

/* ---------- Live widgets placed in the builder ---------- */
.gp-widget-out > .section, .gp-widget-out > section { padding: 0; border: 0; background: transparent; }
.gp-widget-out > .section > .wrap, .gp-widget-out > section > .wrap { width: 100%; }
.gp-widget { min-height: 90px; border: 2px dashed color-mix(in srgb, var(--brand) 45%, white); border-radius: var(--radius); display: grid; place-items: center; color: var(--brand); font-weight: 600; background: color-mix(in srgb, var(--brand) 5%, white); padding: 1.5rem; text-align: center; }
.gp-widget::before { content: "Live: " attr(data-label); }

/* ---------- While editing (inside the builder) ---------- */
.gp-editing [data-gp-anim] { opacity: 1; transform: none; }
.gp-editing .gp-tab-panel { display: block; border: 1px dashed var(--line); padding: .8rem; margin-bottom: .8rem; }
.gp-editing .gp-modal { display: flex; position: relative; inset: auto; background: rgba(10,20,30,.08); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; z-index: 1; }
.gp-editing .gp-modal::before { content: "Pop-up (opens from its button on the live site)"; position: absolute; top: .4rem; left: .8rem; font-size: .75rem; color: var(--ink-soft); }
.gp-editing .gp-col:empty, .gp-editing .gp-container:empty { min-height: 60px; outline: 1px dashed #c9d3da; }
.gp-editing .gp-parallax { background-attachment: scroll; }

@media (max-width: 767px) {
  .gp-dual { flex-direction: column; } .gp-dual .btn { border-radius: var(--radius) !important; padding: .8rem 1.3rem !important; } .gp-or { position: static; transform: none; margin: .4rem 0; }
  .gp-text-right { text-align: left; }
}
