/*
Theme Name: Hello Elementor Child — STEMA
Template: hello-elementor
Description: STEMA child theme. Global design system + header/footer templates.
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,400;0,600;1,400&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

/* ---------- RESET / BASE ---------- */
html, body { margin: 0; padding: 0; background: #0D0D0D; color: #F2F0EB; font-family: 'Barlow', sans-serif; line-height: 1.7; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { font-family: 'Bebas Neue', sans-serif; color: #fff; letter-spacing: 2px; margin: 0 0 16px; font-weight: 400; }
h1 { font-size: clamp(48px, 8vw, 100px); line-height: 1; }
h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.05; }
h3 { font-size: 36px; }
p { margin: 0 0 18px; font-size: 17px; }
a { color: inherit; text-decoration: none; }
::selection { background: #C0152A; color: #fff; }

.eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: #C0152A; display: inline-block; margin-bottom: 18px; }
.red-bar { display: block; width: 80px; height: 4px; background: #C0152A; margin: 16px 0 32px; }
.stema-section { padding: 120px 60px; }
@media (max-width: 768px) { .stema-section { padding: 60px 24px; } }

/* Force full-width for Elementor Header/Footer template */
body.elementor-page { margin: 0 !important; padding: 0 !important; }
body.elementor-page .elementor-section,
body.elementor-page .elementor-container { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.elementor-page .elementor-column,
body.elementor-page .elementor-widget-wrap,
body.elementor-page .elementor-element-populated { padding: 0 !important; margin: 0 !important; }
body.elementor-page .elementor-widget-html { margin: 0 !important; }

/* ---------- HEADER ---------- */
.stema-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9990; display: flex; align-items: center; justify-content: space-between; padding: 20px 60px; background: transparent; transition: all .3s ease; border-bottom: 1px solid rgba(192,21,42,0); }
.stema-header.scrolled { background: rgba(13,13,13,.95); backdrop-filter: blur(8px); padding: 8px 60px; border-bottom: 1px solid rgba(192,21,42,.4); }
.stema-hamburger,
.stema-hamburger:hover,
.stema-hamburger:focus,
.stema-hamburger:active { display: flex !important; align-items: center !important; gap: 12px !important; cursor: pointer !important; color: #fff !important; background: none !important; border: none !important; box-shadow: none !important; outline: none !important; padding: 0 !important; }
.stema-hamburger:hover { color: #C0152A !important; }
.stema-hamburger:hover svg { stroke: #C0152A !important; }
.stema-hamburger svg { width: 28px; height: 28px; transition: stroke .2s; }
.stema-hamburger span { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; }
.stema-logo img { width: 220px; transition: width .3s ease; }
.stema-header.scrolled .stema-logo img { width: 150px; }
.stema-contact { display: flex; gap: 16px; align-items: center; }
.stema-contact a.stema-contact-link { color: #fff; display: flex; align-items: center; gap: 0; text-decoration: none; overflow: hidden; transition: color .2s; }
.stema-contact a.stema-contact-link:hover { color: #C0152A; }
.stema-contact a.stema-contact-link .stema-contact-label { max-width: 0; opacity: 0; white-space: nowrap; overflow: hidden; transition: max-width .35s ease, opacity .25s ease, padding .35s ease; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding-right: 0; }
.stema-contact a.stema-contact-link:hover .stema-contact-label { max-width: 260px; opacity: 1; padding-right: 10px; font-weight: 700; }
.stema-contact svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 768px) {
  .stema-header { padding: 16px 20px; }
  .stema-logo img { width: 150px; }
  .stema-header.scrolled .stema-logo img { width: 120px; }
  .stema-contact { gap: 12px; }
  .stema-contact a.stema-contact-link .stema-contact-label { display: none; }
}

/* ---------- OVERLAY NAV ---------- */
.stema-nav-overlay { position: fixed; inset: 0; background: rgba(13,13,13,.97); z-index: 9999; transform: translateX(-100%); transition: transform .4s cubic-bezier(.77,0,.175,1); display: flex; padding: 80px 60px; }
.stema-nav-overlay.active { transform: translateX(0); }
.stema-nav-left { flex: 0 0 60%; display: flex; flex-direction: column; justify-content: center; }
.stema-nav-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.stema-nav-menu li { list-style: none; }
.stema-nav-menu > li > a,
.stema-nav-overlay .stema-nav-menu > li > a:link,
.stema-nav-overlay .stema-nav-menu > li > a:visited { font-family: 'Bebas Neue', sans-serif !important; font-size: clamp(36px, 5vw, 64px) !important; color: #fff !important; letter-spacing: 3px !important; transition: color .2s !important; display: inline-block !important; text-decoration: none !important; background: none !important; border: none !important; padding: 0 !important; }
.stema-nav-overlay .stema-nav-menu > li > a:hover,
.stema-nav-overlay .stema-nav-menu > li > a:focus,
.stema-nav-overlay .stema-nav-menu > li > a:active { color: #C0152A !important; background: none !important; }
.stema-nav-menu .sub-menu { list-style: none; padding-left: 40px; max-height: 0; overflow: hidden; transition: max-height .3s ease; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.stema-nav-menu > li:hover > .sub-menu,
.stema-nav-menu > li:focus-within > .sub-menu { max-height: 500px; padding-top: 8px; padding-bottom: 8px; }
.stema-nav-overlay .stema-nav-menu .sub-menu a,
.stema-nav-overlay .stema-nav-menu .sub-menu a:link,
.stema-nav-overlay .stema-nav-menu .sub-menu a:visited { font-family: 'Barlow Condensed', sans-serif !important; font-size: 18px !important; color: #C0152A !important; letter-spacing: 2px !important; text-transform: uppercase !important; text-decoration: none !important; background: none !important; }
.stema-nav-overlay .stema-nav-menu .sub-menu a:hover { color: #fff !important; }
.stema-nav-right { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: center; color: #8A8A8A; font-size: 14px; padding-left: 40px; }
.stema-nav-right .nav-label { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: #C0152A; letter-spacing: 3px; }
.stema-nav-close,
.stema-nav-close:hover,
.stema-nav-close:focus,
.stema-nav-close:active { position: absolute !important; top: 40px !important; right: 60px !important; color: #fff !important; font-size: 40px !important; cursor: pointer !important; background: none !important; border: none !important; box-shadow: none !important; outline: none !important; line-height: 1 !important; padding: 0 !important; transition: color .2s !important; }
.stema-nav-close:hover { color: #C0152A !important; }
body.nav-open { overflow: hidden; }
@media (max-width: 768px) { .stema-nav-overlay { padding: 80px 24px; flex-direction: column; } .stema-nav-left, .stema-nav-right { flex: none; width: 100%; padding-left: 0; } }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; background: #0D0D0D center/cover no-repeat; overflow: hidden; text-align: center; padding: 120px 24px; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; }
.hero h1 { opacity: 0; transform: translateY(-30px); animation: fadeInDown 1.2s .3s forwards; text-shadow: 0 3px 16px rgba(0,0,0,.5); }
.hero h2, .hero h3, .hero p { text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero-image-wrap { position: relative; display: inline-block; margin-top: 40px; opacity: 0; transform: translateY(40px); animation: fadeInUp 1.4s .5s forwards; max-width: 900px; width: 100%; }
.hero-image-wrap img { width: 100%; transition: filter .4s ease; }
.hero-image-wrap:hover img { filter: blur(6px); }
.hero-hover-overlay { position: absolute; inset: 0; background: rgba(192,21,42,.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .4s ease; }
.hero-image-wrap:hover .hero-hover-overlay { opacity: 1; }
.hero-hover-overlay span { font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px, 5vw, 64px); color: #fff; letter-spacing: 4px; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #fff; animation: bounce 2s infinite; z-index: 3; }
@keyframes fadeInDown { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ---------- INFO CARDS ---------- */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); background: #1A1A1A; }
.info-card { background: #C0152A; padding: 60px 40px; color: #fff; cursor: pointer; transition: background .35s ease; min-height: 340px; display: flex; flex-direction: column; }
.info-card:hover { background: #8B0F1E; }
.info-card .card-icon { font-size: 48px; margin-bottom: 24px; transition: transform .3s ease; }
.info-card:hover .card-icon { transform: translateY(-8px); }
.info-card .card-label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.info-card .card-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 2px; margin-bottom: 12px; }
.info-card .card-desc { opacity: 0; max-height: 0; overflow: hidden; transition: all .35s ease; font-size: 15px; }
.info-card:hover .card-desc { opacity: 1; max-height: 200px; }
@media (max-width: 900px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .info-cards { grid-template-columns: 1fr; } }

/* ---------- COUNTER ---------- */
.counter-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: #0D0D0D; padding: 100px 40px; }
.counter-item { text-align: center; border-right: 1px solid #2E2E2E; padding: 20px; }
.counter-item:last-child { border-right: none; }
.counter-item .num { font-family: 'Bebas Neue', sans-serif; font-size: 88px; color: #C0152A; line-height: 1; }
.counter-item .lbl { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-top: 8px; }
@media (max-width: 900px) { .counter-bar { grid-template-columns: repeat(2, 1fr); gap: 40px; } .counter-item { border-right: none; } }

/* ---------- CATEGORY GRID ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #0D0D0D; }
.cat-card { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; opacity: 0; transform: translateY(40px); transition: opacity .6s ease, transform .6s ease; display: block; }
.cat-card.in-view { opacity: 1; transform: translateY(0); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.6)); z-index: 1; }
.cat-card .cat-label { position: absolute; bottom: 20px; left: 20px; z-index: 2; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; color: #fff; letter-spacing: 3px; text-transform: uppercase; }
.cat-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: #C0152A; transition: width .3s ease; z-index: 2; }
.cat-card:hover::after { width: 100%; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- SERVICE SECTIONS ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.service-row.reverse .service-img-wrap { order: 2; }
.service-row.reverse .service-text { order: 1; }
.service-img-wrap { position: relative; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s ease; }
.service-img-wrap:hover img { filter: brightness(.3) blur(2px); }
.service-img-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .4s ease; font-family: 'Bebas Neue', sans-serif; font-size: 64px; color: #fff; letter-spacing: 4px; }
.service-img-wrap:hover .service-img-label { opacity: 1; }
.service-text { padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; background: #1A1A1A; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; } .service-row.reverse .service-img-wrap, .service-row.reverse .service-text { order: unset; } .service-text { padding: 60px 24px; } }

.gallery-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #0D0D0D; padding: 2px 0; }
.gallery-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; transition: transform .3s ease; }
.gallery-row img:hover { transform: scale(1.04); }
@media (max-width: 900px) { .gallery-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- TIMELINE ---------- */
.timeline-scroll { overflow-x: auto; overflow-y: hidden; white-space: nowrap; cursor: grab; padding: 60px 0; background: #0D0D0D; }
.timeline-scroll:active { cursor: grabbing; }
.timeline-inner { display: inline-flex; gap: 60px; padding: 0 60px; align-items: flex-start; }
.timeline-node { width: 320px; white-space: normal; position: relative; padding-top: 40px; }
.timeline-node::before { content: ''; position: absolute; top: 20px; left: 0; right: -60px; height: 2px; background: #C0152A; }
.timeline-node:last-child::before { right: 0; }
.timeline-node img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 16px; }
.timeline-node .year { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: #C0152A; line-height: 1; }
.timeline-node .desc { font-size: 15px; color: #F2F0EB; margin-top: 8px; }

/* ---------- TEAM ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 80px 60px; background: #1A1A1A; }
.team-card { background: #0D0D0D; border-top: 4px solid #C0152A; padding: 32px; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s; }
.team-card.in-view { opacity: 1; transform: translateY(0); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 20px; }
.team-card .dept { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 4px; color: #C0152A; text-transform: uppercase; }
.team-card .name { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: #fff; margin: 4px 0 8px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- PROJECT L3 ---------- */
.proj-detail { display: grid; grid-template-columns: 40% 60%; gap: 40px; padding: 160px 60px 80px; background: #0D0D0D; align-items: flex-start; }
.steckbrief { background: #1A1A1A; border-top: 4px solid #C0152A; padding: 40px; position: sticky; top: 120px; }
.steckbrief dt { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 3px; color: #C0152A; text-transform: uppercase; margin-top: 20px; }
.steckbrief dd { margin: 4px 0 0; font-size: 16px; color: #F2F0EB; }
.proj-images { display: flex; flex-direction: column; gap: 24px; }
.proj-images img { width: 100%; }
@media (max-width: 900px) { .proj-detail { grid-template-columns: 1fr; padding: 120px 24px 60px; } .steckbrief { position: static; } }

.proj-nav { display: flex; justify-content: space-between; align-items: center; padding: 40px 60px; background: #1A1A1A; border-top: 1px solid #2E2E2E; gap: 16px; flex-wrap: wrap; }
.proj-nav a { color: #fff; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 3px; text-transform: uppercase; font-size: 13px; }
.proj-nav .center-btn { border: 1px solid #C0152A; padding: 14px 28px; transition: all .2s; }
.proj-nav .center-btn:hover { background: #C0152A; color: #fff; }

.cta-strip { background: #C0152A; padding: 80px 60px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin: 0; }
.cta-strip a { background: #fff; color: #C0152A; padding: 20px 40px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 3px; text-transform: uppercase; font-size: 14px; transition: all .2s; }
.cta-strip a:hover { background: #0D0D0D; color: #fff; }

/* ---------- CAREER ---------- */
.job-slides { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; background: #0D0D0D; }
.job-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.job-slide img { width: 100%; height: 100%; object-fit: cover; }
.job-text { background: #1A1A1A; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.job-text .tagline { font-family: 'Barlow', sans-serif; font-style: italic; color: #C0152A; font-size: 18px; margin-bottom: 16px; }
.job-text h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: 3px; color: #C0152A; text-transform: uppercase; margin: 24px 0 8px; }
.job-text ul { list-style: none; padding: 0; margin: 0; }
.job-text li { padding: 6px 0 6px 24px; position: relative; font-size: 15px; }
.job-text li::before { content: '✓'; position: absolute; left: 0; color: #C0152A; font-weight: 700; }
.job-text .apply-btn { display: inline-block; background: #C0152A; color: #fff; padding: 16px 32px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 3px; font-size: 14px; text-transform: uppercase; margin-top: 32px; align-self: flex-start; transition: background .2s; }
.job-text .apply-btn:hover { background: #8B0F1E; }
@media (max-width: 900px) { .job-slide { grid-template-columns: 1fr; } .job-text { padding: 40px 24px; } }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 55% 45%; gap: 60px; padding: 160px 60px 100px; }
.contact-info iframe { width: 100%; height: 320px; border: 0; margin-top: 40px; filter: grayscale(.5) invert(.9) hue-rotate(180deg); }
.contact-form input, .contact-form textarea { width: 100%; background: #1A1A1A; border: 1px solid #2E2E2E; color: #F2F0EB; padding: 14px 16px; margin-bottom: 16px; font-family: 'Barlow', sans-serif; font-size: 15px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #C0152A; outline: none; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button { width: 100%; background: #C0152A; color: #fff; border: none; padding: 20px; font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 3px; cursor: pointer; transition: background .2s; }
.contact-form button:hover { background: #8B0F1E; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; padding: 120px 24px 60px; } }

/* ---------- CERTIFICATE ---------- */
.cert-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 60px; align-items: center; border-bottom: 1px solid #2E2E2E; }
.cert-row.reverse .cert-img { order: 2; }
.cert-image-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.cert-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cert-download-overlay { position: absolute; inset: 0; background: rgba(192,21,42,.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; color: #fff; font-size: 48px; }
.cert-image-wrap:hover .cert-download-overlay { opacity: 1; }
.cert-download-btn { display: inline-block; border: 2px solid #C0152A; padding: 14px 32px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 3px; font-size: 13px; color: #C0152A; text-transform: uppercase; margin-top: 24px; transition: all .2s; }
.cert-download-btn:hover { background: #C0152A; color: #fff; }
@media (max-width: 900px) { .cert-row { grid-template-columns: 1fr; padding: 60px 24px; } .cert-row.reverse .cert-img { order: unset; } }

/* ---------- FOOTER ---------- */
.stema-footer { background: #0D0D0D; border-top: 2px solid #C0152A; padding: 80px 60px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 60px; }
.footer-grid h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; letter-spacing: 4px; color: #C0152A; text-transform: uppercase; margin: 0 0 20px; }
.footer-grid p, .footer-grid a { font-size: 14px; color: #F2F0EB; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a:hover { color: #C0152A; }
.footer-tagline { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: #C0152A; letter-spacing: 3px; margin-top: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid #2E2E2E; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .2s; }
.footer-social a:hover { border-color: #C0152A; color: #C0152A; }
.footer-bottom { border-top: 1px solid #2E2E2E; padding: 24px 0; text-align: center; font-size: 12px; color: #8A8A8A; }
.footer-bottom a,
.footer-bottom a:link,
.footer-bottom a:visited { margin: 0 12px; color: #C0152A !important; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #8B0F1E !important; text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

#back-to-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; background: #C0152A; color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; border: none; opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s; }
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: #8B0F1E; }

/* ============================================================
   WPForms — STEMA dark theme overrides
   ============================================================ */
.contact-form-wrap { padding: 0; }
.contact-form-wrap .form-variant[hidden] { display: none !important; }

.wpforms-container,
.wpforms-container-full { max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }

.wpforms-container .wpforms-field { padding: 0 0 18px !important; border: none !important; }
.wpforms-container .wpforms-field-label,
.wpforms-container label.wpforms-field-label,
.wpforms-container .wpforms-field-sublabel { color: #F2F0EB !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 13px !important; letter-spacing: 3px !important; text-transform: uppercase !important; font-weight: 500 !important; margin-bottom: 8px !important; display: block !important; }
.wpforms-container .wpforms-field-label .wpforms-required-label { color: #C0152A !important; }

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container input[type="password"],
.wpforms-container select,
.wpforms-container textarea {
  width: 100% !important;
  background: #1A1A1A !important;
  border: 1px solid #2E2E2E !important;
  border-radius: 0 !important;
  color: #F2F0EB !important;
  padding: 14px 16px !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 15px !important;
  box-shadow: none !important;
  transition: border-color .2s ease !important;
}
.wpforms-container textarea { min-height: 140px !important; resize: vertical !important; }
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus { border-color: #C0152A !important; outline: none !important; }
.wpforms-container ::placeholder { color: #6A6A6A !important; }

.wpforms-container .wpforms-field-description { color: #8A8A8A !important; font-size: 13px !important; margin-top: 4px !important; }

/* Error states */
.wpforms-container .wpforms-error { color: #ff6670 !important; font-size: 12px !important; margin-top: 6px !important; }
.wpforms-container input.wpforms-error,
.wpforms-container textarea.wpforms-error,
.wpforms-container select.wpforms-error { border-color: #C0152A !important; }

/* File upload — classic */
.wpforms-container .wpforms-field-file-upload input[type="file"] { background: #1A1A1A !important; border: 1px dashed #2E2E2E !important; padding: 16px !important; color: #F2F0EB !important; cursor: pointer !important; }
.wpforms-container .wpforms-field-file-upload input[type="file"]:hover { border-color: #C0152A !important; }
/* File upload — modern (dropzone) */
.wpforms-container .dropzone,
.wpforms-container .wpforms-uploader { background: #1A1A1A !important; border: 2px dashed #2E2E2E !important; color: #F2F0EB !important; }
.wpforms-container .dropzone:hover { border-color: #C0152A !important; }

/* Submit button */
.wpforms-container .wpforms-submit-container { padding: 8px 0 0 !important; margin: 0 !important; }
.wpforms-container button.wpforms-submit,
.wpforms-container input.wpforms-submit {
  width: 100% !important;
  background: #C0152A !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 20px !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 20px !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background .2s ease !important;
  box-shadow: none !important;
}
.wpforms-container button.wpforms-submit:hover,
.wpforms-container input.wpforms-submit:hover { background: #8B0F1E !important; }

/* Confirmation message */
.wpforms-confirmation-container,
.wpforms-confirmation-container-full { background: rgba(192,21,42,.12) !important; border: 1px solid #C0152A !important; color: #F2F0EB !important; padding: 24px !important; border-radius: 0 !important; }

/* Hide WPForms Lite upsell banners on frontend */
.wpforms-container .wpforms-notice-info,
.wpforms-container .wpforms-admin-notice { display: none !important; }
