/*
REVELMONT public web
Figma-aligned production stylesheet v1
Target: Django/Wagtail public templates
*/

:root{
  --rv-navy:#101a2f;
  --rv-navy-2:#14233d;
  --rv-teal:#0f8199;
  --rv-teal-dark:#0b6f84;
  --rv-teal-soft:#eaf7fa;
  --rv-bg:#f5f7fb;
  --rv-card:#ffffff;
  --rv-surface-soft:#fafbfd;
  --rv-surface-muted:#f0f3f7;
  --rv-surface-accent:#f7fbfc;
  --rv-text:#1a2435;
  --rv-muted:#6b7688;
  --rv-line:#e4e9f0;
  --rv-green:#1aa56f;
  --rv-yellow:#d9a51d;
  --rv-radius:12px;
  --rv-radius-lg:18px;
  --rv-shadow:0 8px 28px rgba(16,26,47,.08);
  --rv-container:1180px;
}

*,
*::before,
*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  scroll-padding-top:88px;
}

body{
  margin:0;
  background:#fff;
  color:var(--rv-text);
  font-family:"Segoe UI Variable","Segoe UI",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{
  color:var(--rv-navy);
  line-height:1.08;
  letter-spacing:-.03em;
}
h1{font-size:clamp(2.65rem,5.1vw,4.7rem);margin-bottom:24px}
h2{font-size:clamp(2rem,3.5vw,3.15rem);margin-bottom:16px}
h3{font-size:1.18rem;margin-bottom:10px}

.container{
  width:min(calc(100% - 48px),var(--rv-container));
  margin-inline:auto;
}

.skip-link{
  position:fixed;
  left:16px;
  top:12px;
  z-index:9999;
  transform:translateY(-150%);
  padding:10px 14px;
  border-radius:8px;
  background:var(--rv-navy);
  color:#fff;
}
.skip-link:focus{transform:none}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(228,233,240,.9);
  backdrop-filter:blur(12px);
}
.site-header__inner{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:28px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:9px;
  flex:none;
}
.brand__mark{
  width:34px;
  height:28px;
  display:grid;
  place-items:center;
  background:var(--rv-teal);
  color:#fff;
  border-radius:7px;
  font-weight:900;
  font-size:.9rem;
  box-shadow:0 5px 14px rgba(15,129,153,.22);
}
.brand__text{
  color:var(--rv-navy);
  font-weight:850;
  letter-spacing:.045em;
  font-size:.96rem;
}
.desktop-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:24px;
}
.desktop-nav a{
  color:#526075;
  font-size:.86rem;
  font-weight:650;
  transition:.18s ease;
}
.desktop-nav a:hover{color:var(--rv-teal)}
.site-header__actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.header-phone{
  color:var(--rv-navy);
  font-size:.86rem;
  font-weight:700;
}
.menu-button{
  display:none;
  margin-left:auto;
  width:44px;
  height:42px;
  padding:10px;
  border:1px solid var(--rv-line);
  border-radius:9px;
  background:#fff;
  cursor:pointer;
}
.menu-button span{
  display:block;
  height:2px;
  margin:4px 0;
  background:var(--rv-navy);
  border-radius:2px;
}
.mobile-nav{
  border-top:1px solid var(--rv-line);
  background:#fff;
}
.mobile-nav[hidden]{display:none!important}
.mobile-nav__inner{
  padding:12px 0 20px;
  display:grid;
  gap:2px;
}
.mobile-nav a{padding:10px 4px;font-weight:650}

/* Buttons */
.button{
  min-height:42px;
  padding:11px 19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:7px;
  font-size:.88rem;
  font-weight:800;
  line-height:1.15;
  transition:transform .17s ease,box-shadow .17s ease,background .17s ease,border-color .17s ease;
}
.button:hover{transform:translateY(-1px)}
.button--small{min-height:38px;padding:9px 16px;font-size:.8rem}
.button--primary{
  color:#fff;
  background:var(--rv-teal);
  box-shadow:0 6px 18px rgba(15,129,153,.18);
}
.button--primary:hover{background:var(--rv-teal-dark)}
.button--secondary{
  color:var(--rv-teal-dark);
  background:#fff;
  border-color:#9bcbd6;
}
.button--secondary:hover{background:var(--rv-teal-soft)}
.button--light{
  color:var(--rv-navy);
  background:#fff;
  border-color:#fff;
}
.button--outline-light{
  color:#fff;
  background:transparent;
  border-color:rgba(255,255,255,.55);
}

/* Hero */
.hero{
  padding:56px 0 64px;
  background:#fff;
}
.hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);
  align-items:center;
  gap:58px;
}
.eyebrow{
  margin-bottom:12px;
  color:var(--rv-teal);
  font-size:.75rem;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.eyebrow--light{color:#83d6e6}
.hero__lead{
  max-width:680px;
  margin-bottom:23px;
  color:var(--rv-muted);
  font-size:1rem;
}
.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}
.hero__trust{
  display:flex;
  flex-wrap:wrap;
  gap:9px 22px;
  color:#687489;
  font-size:.78rem;
  font-weight:650;
}
.hero__trust span{
  position:relative;
  padding-left:15px;
}
.hero__trust span::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--rv-teal);
}
.hero-visual{
  min-height:355px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-visual>img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 9px 24px rgba(16,26,47,.12);
}
.hero-visual__fallback{
  width:100%;
  min-height:350px;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  color:#fff;
  background:linear-gradient(135deg,#233451,var(--rv-navy));
  border-radius:14px;
  box-shadow:var(--rv-shadow);
}
.hero-visual__fallback .technical-card,
.hero-visual__fallback .measurement-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
}
.hero-visual__fallback .technical-card{padding:18px}
.hero-visual__fallback .measurement-card{padding:18px}
.hero-visual__fallback strong{color:#fff}

/* Trust strip below hero */
.trust-strip{
  background:#fff;
  border-top:1px solid var(--rv-line);
  border-bottom:1px solid var(--rv-line);
}
.trust-strip__grid{
  min-height:96px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.trust-strip__grid>div{
  padding:22px 26px;
  border-right:1px solid var(--rv-line);
}
.trust-strip__grid>div:first-child{border-left:1px solid var(--rv-line)}
.trust-strip__grid strong{
  display:block;
  margin-bottom:4px;
  color:var(--rv-navy);
  font-size:.9rem;
}
.trust-strip__grid span{
  color:var(--rv-muted);
  font-size:.78rem;
}

/* Generic sections */
.section{padding:78px 0}
.section--muted{background:var(--rv-bg)}
.section-heading{
  max-width:780px;
  margin:0 auto 38px;
  text-align:center;
}
.section-heading>p,
.section-heading div+p{
  max-width:700px;
  margin:0 auto;
  color:var(--rv-muted);
}
.section-heading--center{text-align:center}
.section-lead{color:var(--rv-muted);font-size:1rem}

/* Services */
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.service-card{
  min-height:205px;
  padding:24px;
  background:#fff;
  border:1px solid var(--rv-line);
  border-radius:10px;
  box-shadow:0 2px 10px rgba(16,26,47,.025);
  transition:.18s ease;
}
.service-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--rv-shadow);
  border-color:#c8d6df;
}
.service-card--featured{
  background:#fff;
}
.service-card__number{
  display:inline-grid;
  place-items:center;
  min-width:38px;
  height:28px;
  margin-bottom:18px;
  padding:0 8px;
  color:var(--rv-teal-dark);
  background:var(--rv-teal-soft);
  border-radius:7px;
  font-size:.72rem;
  font-weight:850;
}
.service-card p{
  margin-bottom:14px;
  color:var(--rv-muted);
  font-size:.86rem;
}
.service-card a,
.text-link{
  color:var(--rv-teal-dark);
  font-size:.82rem;
  font-weight:800;
}

/* Why / split section */
.split-section{
  display:grid;
  grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);
  align-items:center;
  gap:66px;
}
.split-section__visual{min-height:290px}
.diagram{
  position:relative;
  min-height:290px;
  display:grid;
  place-items:center;
}
.diagram::before,
.diagram::after{
  content:"";
  position:absolute;
  background:var(--rv-line);
}
.diagram::before{left:12%;right:12%;top:50%;height:1px}
.diagram::after{top:18%;bottom:18%;left:50%;width:1px}
.diagram__node{
  position:absolute;
  z-index:2;
  min-width:106px;
  padding:12px 14px;
  text-align:center;
  border:1px solid var(--rv-line);
  border-radius:8px;
  background:#fff;
  color:var(--rv-navy);
  font-size:.76rem;
  font-weight:750;
  box-shadow:0 4px 14px rgba(16,26,47,.05);
}
.diagram__node--main{
  position:relative;
  min-width:130px;
  color:#fff;
  background:var(--rv-navy);
  border-color:var(--rv-navy);
}
.diagram__node:nth-child(2){top:8%;left:8%}
.diagram__node:nth-child(3){top:8%;right:8%}
.diagram__node:nth-child(4){bottom:8%;left:8%}
.diagram__node:nth-child(5){bottom:8%;right:8%}
.feature-list{
  margin:28px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px 30px;
}
.feature-list li{position:relative;padding-left:30px}
.feature-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--rv-teal);
  border-radius:50%;
  font-size:.65rem;
  font-weight:900;
}
.feature-list strong{
  display:block;
  margin-bottom:4px;
  color:var(--rv-navy);
  font-size:.88rem;
}
.feature-list span{color:var(--rv-muted);font-size:.8rem}

/* Process */
.process-grid{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.process-grid li{
  min-height:166px;
  padding:20px;
  background:#fff;
  border:1px solid var(--rv-line);
  border-radius:9px;
}
.process-grid li>span{
  color:var(--rv-teal);
  font-size:.72rem;
  font-weight:850;
}
.process-grid h3{margin-top:18px;font-size:1rem}
.process-grid p{margin-bottom:0;color:var(--rv-muted);font-size:.8rem}

/* Revize */
#revize.section{padding-top:0;padding-bottom:78px}
.revision-panel{
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);
  align-items:stretch;
  background:var(--rv-navy);
  border-radius:0;
  color:#fff;
}
.revision-panel>div:first-child{padding:46px 52px}
.revision-panel h2{color:#fff}
.revision-panel p,
.revision-panel li{color:#c3ccda}
.revision-panel ul{
  margin:20px 0 26px;
  padding-left:18px;
}
.revision-panel__visual{
  min-height:360px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#edf7f8,#c6d8dc);
}
.meter{
  width:min(78%,320px);
  padding:28px;
  border-radius:12px;
  background:#fff;
  color:var(--rv-navy);
  box-shadow:0 16px 36px rgba(16,26,47,.18);
}
.meter__label{
  display:block;
  color:var(--rv-muted);
  font-size:.7rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.meter strong{
  display:block;
  margin:12px 0;
  color:var(--rv-green);
  font-size:2rem;
}
.meter__line{
  height:2px;
  margin:18px 0;
  background:linear-gradient(90deg,var(--rv-teal),#d9e7eb);
}

/* Projects */
.project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.project-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--rv-line);
  border-radius:10px;
  transition:.18s ease;
}
.project-card:hover{transform:translateY(-3px);box-shadow:var(--rv-shadow)}
.project-card__image{
  height:210px;
  background:
    linear-gradient(135deg,rgba(15,129,153,.14),rgba(16,26,47,.06)),
    #e8edf2;
  background-position:center;
  background-size:cover;
}
.project-card__image--one{
  background:
    linear-gradient(135deg,rgba(15,129,153,.08),rgba(16,26,47,.05)),
    linear-gradient(120deg,#e4e8ed,#f6f7f9);
}
.project-card__image--two{
  background:
    linear-gradient(135deg,rgba(16,26,47,.07),rgba(15,129,153,.08)),
    linear-gradient(120deg,#e8ebef,#f5f7fa);
}
.project-card__image--three{
  background:
    linear-gradient(135deg,rgba(15,129,153,.1),rgba(16,26,47,.04)),
    linear-gradient(120deg,#e2e8eb,#f7f8fa);
}
.project-card__body{padding:20px 20px 22px}
.project-card__body>span{
  color:var(--rv-teal);
  font-size:.7rem;
  font-weight:800;
}
.project-card__body h3{margin-top:6px}
.project-card__body p{margin-bottom:10px;color:var(--rv-muted);font-size:.82rem}

/* Area */
.section--area{background:#fff}
.area-panel{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:34px;
  align-items:center;
  padding:34px;
  background:var(--rv-bg);
  border:1px solid var(--rv-line);
  border-radius:12px;
}
.area-panel h2{font-size:clamp(1.8rem,3vw,2.5rem)}
.area-panel p{color:var(--rv-muted)}
.area-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:9px;
}
.area-tags span{
  padding:8px 13px;
  border:1px solid #b9dce4;
  border-radius:999px;
  background:#fff;
  color:var(--rv-teal-dark);
  font-size:.78rem;
  font-weight:750;
}

/* CTA */
.section--final-cta{
  padding:56px 0;
  background:var(--rv-teal);
}
.final-cta{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:32px;
  color:#fff;
}
.final-cta h2{
  margin-bottom:8px;
  color:#fff;
  font-size:clamp(1.8rem,3.1vw,2.7rem);
}
.final-cta p{
  margin-bottom:0;
  color:rgba(255,255,255,.86);
}
.final-cta__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* Footer */
.site-footer{
  padding:50px 0 0;
  background:#0d1629;
  color:#aeb8c8;
}
.site-footer__grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.15fr;
  gap:40px;
  padding-bottom:42px;
}
.site-footer .brand__text{color:#fff}
.site-footer__description{
  max-width:320px;
  margin:18px 0 10px;
  color:#9ba7b8;
  font-size:.82rem;
}
.site-footer__area{color:#8290a5;font-size:.8rem}
.site-footer__heading{
  margin:0 0 14px;
  color:#fff;
  font-size:.76rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.footer-links,
.footer-contact,
.footer-legal-links{
  margin:0;
  padding:0;
  list-style:none;
}
.footer-links li,
.footer-contact li{margin:7px 0;font-size:.8rem}
.footer-links a:hover,
.footer-legal-links a:hover{color:#fff}
.site-footer__bottom{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:.75rem;
}
.footer-legal-links{display:flex;flex-wrap:wrap;gap:16px}

/* Cookie */
.cookie-notice{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:2000;
  width:min(420px,calc(100% - 40px));
  padding:18px;
  background:#fff;
  border:1px solid var(--rv-line);
  border-radius:12px;
  box-shadow:0 16px 38px rgba(16,26,47,.18);
}
.cookie-notice p{margin-bottom:10px;color:var(--rv-muted);font-size:.8rem}
.cookie-notice__actions{display:flex;gap:8px;flex-wrap:wrap}

/* Basic public subpages */
main:not(:has(.public-home)) .section-heading{max-width:850px}
.public-page,
.service-detail,
.realization-detail{
  background:#fff;
}

/* Focus */
a:focus-visible,
button:focus-visible{
  outline:3px solid rgba(15,129,153,.4);
  outline-offset:3px;
}

/* Responsive */
@media (max-width:1050px){
  .desktop-nav{gap:14px}
  .hero__grid{grid-template-columns:1fr .8fr;gap:36px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .process-grid{grid-template-columns:repeat(3,1fr)}
  .site-footer__grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:860px){
  .container{width:min(calc(100% - 34px),var(--rv-container))}
  .desktop-nav,.header-phone{display:none}
  .menu-button{display:block}
  .hero{padding:46px 0 54px}
  .hero__grid{grid-template-columns:1fr}
  .hero-visual{min-height:300px}
  .hero-visual>img{height:320px}
  .trust-strip__grid{grid-template-columns:repeat(2,1fr)}
  .trust-strip__grid>div:nth-child(3){border-left:1px solid var(--rv-line)}
  .split-section{grid-template-columns:1fr;gap:32px}
  .feature-list{grid-template-columns:1fr 1fr}
  .process-grid{grid-template-columns:repeat(2,1fr)}
  .revision-panel{grid-template-columns:1fr}
  .revision-panel__visual{min-height:280px}
  .project-grid{grid-template-columns:1fr 1fr}
  .area-panel{grid-template-columns:1fr}
  .area-tags{justify-content:flex-start}
  .final-cta{grid-template-columns:1fr;text-align:center}
  .final-cta__actions{justify-content:center}
}

@media (max-width:620px){
  body{font-size:15px}
  .container{width:min(calc(100% - 26px),var(--rv-container))}
  .site-header__inner{min-height:68px}
  .site-header__actions{margin-left:auto}
  .hero{padding:38px 0 44px}
  h1{font-size:clamp(2.25rem,11vw,3.2rem)}
  h2{font-size:clamp(1.8rem,8vw,2.35rem)}
  .hero__actions{display:grid}
  .hero__actions .button{width:100%}
  .hero__trust{display:grid;gap:6px}
  .hero-visual{min-height:245px}
  .hero-visual>img,.hero-visual__fallback{height:auto;min-height:245px}
  .trust-strip__grid,
  .service-grid,
  .process-grid,
  .project-grid,
  .feature-list{grid-template-columns:1fr}
  .trust-strip__grid>div{border-left:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
  .section{padding:58px 0}
  .section-heading{margin-bottom:28px}
  .service-card{min-height:auto}
  .diagram{min-height:250px}
  .revision-panel>div:first-child{padding:32px 24px}
  .revision-panel__visual{min-height:230px}
  .project-card__image{height:190px}
  .area-panel{padding:26px 22px}
  .section--final-cta{padding:48px 0}
  .final-cta__actions{display:grid}
  .final-cta__actions .button{width:100%}
  .site-footer__grid{grid-template-columns:1fr;gap:28px}
  .site-footer__bottom{
    padding:18px 0;
    flex-direction:column;
    align-items:flex-start;
  }
  .cookie-notice{right:13px;bottom:13px;width:calc(100% - 26px)}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
    animation-duration:.001ms!important;
  }
}


/* ==========================================================
   FIGMA V2 OVERRIDES
   ========================================================== */

/* Desktop must never show the mobile menu panel. */
.mobile-nav {
  display: none;
}

/* Hero proportions closer to the approved Figma HomeFrame. */
.hero {
  padding-top: 46px;
  padding-bottom: 58px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 54px;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.65rem, 4.15vw, 3.85rem);
  line-height: 1.04;
}

/* Use the Figma hero image when no Wagtail hero image is set. */
.hero-visual__fallback {
  min-height: 350px;
  background:
    linear-gradient(rgba(16, 26, 47, .05), rgba(16, 26, 47, .05)),
    url("/static/images/revelmont/home-hero.jpg") center center / cover no-repeat;
}

.hero-visual__fallback > * {
  display: none !important;
}

/* Revision section: photo on the right, as in Figma. */
.revision-panel__visual {
  background:
    linear-gradient(rgba(16, 26, 47, .03), rgba(16, 26, 47, .03)),
    url("/static/images/revelmont/revision.jpg") center center / cover no-repeat;
}

.revision-panel__visual .meter {
  display: none;
}

/* Realization thumbnails from the Figma HomeFrame. */
.project-card__image--one {
  background:
    linear-gradient(rgba(16,26,47,.02), rgba(16,26,47,.02)),
    url("/static/images/revelmont/realization-1.jpg") center center / cover no-repeat;
}

.project-card__image--two {
  background:
    linear-gradient(rgba(16,26,47,.02), rgba(16,26,47,.02)),
    url("/static/images/revelmont/realization-2.jpg") center center / cover no-repeat;
}

.project-card__image--three {
  background:
    linear-gradient(rgba(16,26,47,.02), rgba(16,26,47,.02)),
    url("/static/images/revelmont/realization-3.jpg") center center / cover no-repeat;
}

/* Figma-style map block in the area section. */
.area-panel {
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
}

.area-panel::before {
  content: "";
  min-height: 230px;
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: 10px;
  background:
    #eef3f7 url("/static/images/revelmont/area-map.jpg") center center / cover no-repeat;
}

.area-panel > div:first-child {
  grid-column: 2;
  grid-row: 1;
}

.area-tags {
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-start;
}

@media (max-width: 860px) {
  .mobile-nav:not([hidden]) {
    display: block;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 700px;
  }

  .area-panel {
    grid-template-columns: 1fr;
  }

  .area-panel::before,
  .area-panel > div:first-child,
  .area-tags {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .hero-visual__fallback {
    min-height: 245px;
  }

  .area-panel::before {
    min-height: 180px;
  }
}


/* ==========================================================
   PUBLIC INQUIRY FORM
   ========================================================== */

.inquiry-page {
  background: var(--rv-bg);
}

.inquiry-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 58px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(15, 129, 153, .32), transparent 34%),
    linear-gradient(125deg, var(--rv-navy) 0%, var(--rv-navy-2) 68%, #123b4b 100%);
}

.inquiry-page .page-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, .025),
    0 0 0 92px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.inquiry-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.inquiry-page .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .66);
  font-size: .78rem;
  font-weight: 650;
}

.inquiry-page .breadcrumbs a {
  transition: color .17s ease;
}

.inquiry-page .breadcrumbs a:hover {
  color: #fff;
}

.inquiry-page .page-hero .eyebrow {
  color: #72d0e1;
}

.inquiry-page .page-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.45rem, 4.4vw, 4rem);
}

.inquiry-page .page-hero__lead {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.inquiry-page > main,
body.inquiry-page main {
  background: var(--rv-bg);
}

.inquiry-page .section {
  padding: 72px 0 88px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.inquiry-sidebar {
  position: sticky;
  top: 104px;
  padding: 25px 24px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: #fff;
  box-shadow: 0 5px 18px rgba(16, 26, 47, .05);
}

.inquiry-sidebar > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--rv-navy);
  font-size: .95rem;
}

.inquiry-sidebar ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: inquiry-progress;
}

.inquiry-sidebar li {
  position: relative;
  min-height: 38px;
  padding: 4px 0 13px 40px;
  color: #526075;
  counter-increment: inquiry-progress;
  font-size: .82rem;
  font-weight: 680;
  line-height: 1.35;
}

.inquiry-sidebar li::before {
  content: counter(inquiry-progress, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #b8dce4;
  border-radius: 50%;
  color: var(--rv-teal-dark);
  background: var(--rv-teal-soft);
  font-size: .64rem;
  font-weight: 850;
}

.inquiry-sidebar li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 29px;
  bottom: 0;
  width: 1px;
  background: var(--rv-line);
}

.inquiry-sidebar > p {
  margin: 7px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--rv-line);
  color: var(--rv-muted);
  font-size: .75rem;
  line-height: 1.55;
}

.form-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  background: #fff;
  box-shadow: var(--rv-shadow);
}

.public-form {
  display: grid;
}

.form-step {
  padding: 40px 44px 44px;
}

.form-step + .form-step {
  border-top: 1px solid var(--rv-line);
}

.form-step__heading {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-bottom: 28px;
}

.form-step__heading > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--rv-teal-dark);
  background: var(--rv-teal-soft);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.form-step__heading h2 {
  margin: 1px 0 6px;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  letter-spacing: -.025em;
}

.form-step__heading p {
  margin: 0;
  color: var(--rv-muted);
  font-size: .9rem;
}

.form-grid {
  display: grid;
  gap: 22px;
}

.form-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  min-width: 0;
  margin-bottom: 22px;
}

.form-grid .form-field {
  margin-bottom: 0;
}

.form-grid + .form-field,
.form-field + .form-grid {
  margin-top: 22px;
}

.form-field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--rv-navy);
  font-size: .83rem;
  font-weight: 750;
}

.public-form input:not([type="checkbox"]):not([type="file"]),
.public-form select,
.public-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  outline: none;
  color: var(--rv-text);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 26, 47, .025);
  transition: border-color .17s ease, box-shadow .17s ease, background .17s ease;
}

.public-form select {
  padding-right: 38px;
  cursor: pointer;
}

.public-form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.55;
}

.public-form input::placeholder,
.public-form textarea::placeholder {
  color: #98a3b3;
  opacity: 1;
}

.public-form input:not([type="checkbox"]):not([type="file"]):hover,
.public-form select:hover,
.public-form textarea:hover {
  border-color: #aab7c7;
}

.public-form input:not([type="checkbox"]):not([type="file"]):focus,
.public-form select:focus,
.public-form textarea:focus {
  border-color: var(--rv-teal);
  box-shadow: 0 0 0 4px rgba(15, 129, 153, .12);
}

.file-upload-field {
  margin-bottom: 0;
  padding: 24px;
  border: 1px dashed #9bcbd6;
  border-radius: 11px;
  background: #f7fcfd;
}

.file-upload-field input[type="file"] {
  display: block;
  width: 100%;
  color: #526075;
  font-size: .82rem;
}

.file-upload-field input[type="file"]::file-selector-button {
  margin-right: 13px;
  padding: 9px 14px;
  border: 1px solid #9bcbd6;
  border-radius: 7px;
  color: var(--rv-teal-dark);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.field-help {
  margin: 12px 0 0;
  color: var(--rv-muted);
  font-size: .76rem;
}

.selected-files:not(:empty) {
  display: grid;
  gap: 6px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--rv-line);
  color: #526075;
  font-size: .78rem;
}

.form-checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin-bottom: 14px;
  padding: 15px 16px;
  border: 1px solid var(--rv-line);
  border-radius: 9px;
  background: #fafbfd;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--rv-teal);
}

.form-checkbox label {
  color: #526075;
  cursor: pointer;
  font-size: .82rem;
  line-height: 1.5;
}

.form-checkbox a {
  color: var(--rv-teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(11, 111, 132, .35);
  text-underline-offset: 2px;
}

.form-step:last-child {
  background: #fbfcfe;
}

.form-step:last-child .button {
  min-height: 50px;
  margin-top: 10px;
  padding-inline: 24px;
  border-radius: 8px;
}

.form-error-summary {
  margin: 28px 44px 0;
  padding: 16px 18px;
  border: 1px solid #efb5b5;
  border-left: 4px solid #c73d3d;
  border-radius: 8px;
  color: #7d2828;
  background: #fff5f5;
}

.form-error-summary strong {
  display: block;
  margin-bottom: 2px;
}

.form-error-summary p,
.field-error {
  margin: 0;
  font-size: .78rem;
}

.field-error {
  margin-top: 7px;
  color: #b52e2e;
  font-weight: 650;
}

.public-form :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #c94a4a;
  background: #fffafa;
}

.public-form :is(input, select, textarea):focus-visible,
.file-upload-field input[type="file"]:focus-visible,
.form-checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(15, 129, 153, .28);
  outline-offset: 2px;
}

@media (max-width: 920px) {
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .inquiry-sidebar {
    position: static;
  }

  .inquiry-sidebar ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .inquiry-sidebar li {
    min-height: 0;
    padding: 8px 8px 8px 39px;
    border-radius: 7px;
    background: #f7f9fc;
  }

  .inquiry-sidebar li::before {
    left: 6px;
    top: 5px;
  }

  .inquiry-sidebar li::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .inquiry-page .page-hero {
    padding: 42px 0 44px;
  }

  .inquiry-page .breadcrumbs {
    margin-bottom: 22px;
  }

  .inquiry-page .page-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .inquiry-page .section {
    padding: 42px 0 58px;
  }

  .inquiry-layout {
    gap: 20px;
  }

  .inquiry-sidebar {
    padding: 20px 18px;
  }

  .inquiry-sidebar ol {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    border-radius: 13px;
  }

  .form-step {
    padding: 30px 20px 34px;
  }

  .form-step__heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 23px;
  }

  .form-step__heading > span {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .form-step__heading h2 {
    font-size: 1.3rem;
  }

  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .form-grid {
    gap: 18px;
  }

  .form-grid + .form-field,
  .form-field + .form-grid {
    margin-top: 18px;
  }

  .file-upload-field {
    padding: 19px 16px;
  }

  .form-error-summary {
    margin: 20px 20px 0;
  }

  .form-step:last-child .button {
    width: 100%;
  }
}


/* ==================================================
   REVELMONT THEME
   ================================================== */

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --rv-bg:#0d1422;
  --rv-card:#151f30;
  --rv-text:#eef3f8;
  --rv-muted:#a9b4c4;
  --rv-line:#2b384b;

  --rv-teal-soft:#14333d;

  --rv-surface-soft:#111b2a;
  --rv-surface-muted:#182435;
  --rv-surface-accent:#102832;

  --rv-shadow:0 10px 32px rgba(0,0,0,.28);
}

body {
  font-size:17px;
  line-height:1.65;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

p,
li,
dd,
input,
textarea,
select,
button {
  line-height:1.6;
}

.theme-toggle {
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--rv-line);
  border-radius:10px;
  background:var(--rv-card);
  color:var(--rv-text);
  font:inherit;
  font-size:.9rem;
  font-weight:700;
  cursor:pointer;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.theme-toggle:hover {
  border-color:var(--rv-teal);
  background:var(--rv-teal-soft);
}

.theme-toggle:focus-visible {
  outline:3px solid rgba(15,129,153,.28);
  outline-offset:2px;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .mobile-nav {
  background-color:var(--rv-bg);
  color:var(--rv-text);
}

html[data-theme="dark"] .site-header {
  border-color:var(--rv-line);
}

/* ==========================================================
   FINAL PUBLIC LAUNCH - MOBILE HEADER + DARK INQUIRY
   ========================================================== */

/* Keep the compact public header usable on narrow phones. */
@media (max-width: 620px) {
  .site-header__inner {
    gap: 12px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .site-header__actions > .button {
    display: none;
  }

  .theme-toggle {
    min-height: 38px;
    padding-inline: 9px;
    font-size: .78rem;
  }

  .brand {
    gap: 7px;
  }

  .brand__text {
    font-size: .88rem;
    letter-spacing: .03em;
  }
}

/* Inquiry form must remain readable in dark mode. */
html[data-theme="dark"] .inquiry-page .inquiry-sidebar,
html[data-theme="dark"] .inquiry-page .form-card,
html[data-theme="dark"] .inquiry-page .form-step {
  border-color: var(--rv-line);
  background: var(--rv-card);
  color: var(--rv-text);
}

html[data-theme="dark"] .inquiry-page .form-step:last-child,
html[data-theme="dark"] .inquiry-page .form-checkbox,
html[data-theme="dark"] .inquiry-page .file-upload-field,
html[data-theme="dark"] .inquiry-page .inquiry-sidebar li {
  border-color: var(--rv-line);
  background: var(--rv-surface-soft);
}

html[data-theme="dark"] .inquiry-page .form-field > label,
html[data-theme="dark"] .inquiry-page .form-step__heading h2 {
  color: var(--rv-text);
}

html[data-theme="dark"] .inquiry-page .public-form input:not([type="checkbox"]):not([type="file"]),
html[data-theme="dark"] .inquiry-page .public-form select,
html[data-theme="dark"] .inquiry-page .public-form textarea {
  border-color: var(--rv-line);
  background: var(--rv-surface-muted);
  color: var(--rv-text);
}

html[data-theme="dark"] .inquiry-page .public-form input::placeholder,
html[data-theme="dark"] .inquiry-page .public-form textarea::placeholder {
  color: var(--rv-muted);
}

html[data-theme="dark"] .inquiry-page .file-upload-field input[type="file"] {
  color: var(--rv-muted);
}

html[data-theme="dark"] .inquiry-page .file-upload-field input[type="file"]::file-selector-button {
  border-color: var(--rv-line);
  background: var(--rv-card);
  color: var(--rv-text);
}

html[data-theme="dark"] .inquiry-page .form-checkbox label,
html[data-theme="dark"] .inquiry-page .selected-files,
html[data-theme="dark"] .inquiry-page .field-help {
  color: var(--rv-muted);
}

/* ==========================================================
   FINAL DARK MODE CONTRAST FIX
   ========================================================== */

/* Header navigation and company identity. */
html[data-theme="dark"] .brand__text,
html[data-theme="dark"] .header-phone {
  color: var(--rv-text);
}

html[data-theme="dark"] .desktop-nav a,
html[data-theme="dark"] .mobile-nav a {
  color: var(--rv-muted);
}

html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .mobile-nav a:hover {
  color: var(--rv-teal);
}

/* Mobile menu button. */
html[data-theme="dark"] .menu-button {
  border-color: var(--rv-line);
  background: var(--rv-card);
}

html[data-theme="dark"] .menu-button span {
  background: var(--rv-text);
}

/* Headings placed directly on dark public sections. */
html[data-theme="dark"] .public-home .section-heading h2,
html[data-theme="dark"] .public-home .section-heading h3 {
  color: var(--rv-text);
}

/* Supporting text on dark homepage sections. */
html[data-theme="dark"] .public-home .section-heading > p,
html[data-theme="dark"] .public-home .section-heading div + p,
html[data-theme="dark"] .public-home .section-lead {
  color: var(--rv-muted);
}

/* ==========================================================
   DARK MODE WHY SECTION CONTRAST
   ========================================================== */

html[data-theme="dark"] .public-home .split-section__content h2 {
  color: var(--rv-text);
}

html[data-theme="dark"] .public-home .feature-list strong {
  color: var(--rv-text);
}

html[data-theme="dark"] .public-home .feature-list span {
  color: var(--rv-muted);
}

/* ==========================================================
   DARK MODE LIGHT SURFACES CONTRAST
   ========================================================== */

/* Process cards */
html[data-theme="dark"] .public-home .process-grid li {
  background: var(--rv-card);
  border-color: var(--rv-line);
  color: var(--rv-text);
}

html[data-theme="dark"] .public-home .process-grid h3 {
  color: var(--rv-text);
}

html[data-theme="dark"] .public-home .process-grid p {
  color: var(--rv-muted);
}

/* Cookie notice */
html[data-theme="dark"] .cookie-notice {
  background: var(--rv-card);
  border-color: var(--rv-line);
  color: var(--rv-text);
  box-shadow: var(--rv-shadow);
}

html[data-theme="dark"] .cookie-notice strong,
html[data-theme="dark"] .cookie-notice h2,
html[data-theme="dark"] .cookie-notice h3 {
  color: var(--rv-text);
}

html[data-theme="dark"] .cookie-notice p {
  color: var(--rv-muted);
}

html[data-theme="dark"] .cookie-notice a {
  color: #71d3e4;
}

html[data-theme="dark"] .cookie-notice .button {
  border-color: var(--rv-line);
}

/* ==========================================================
   DARK MODE ORANGE HOMEPAGE HERO
   ========================================================== */

html[data-theme="dark"] .public-home .hero {
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(15, 129, 153, .16),
      transparent 34%
    ),
    linear-gradient(
      125deg,
      #251710 0%,
      #382116 52%,
      #4a2916 100%
    );
}

html[data-theme="dark"] .public-home .hero h1 {
  color: #f8f5f2;
}

html[data-theme="dark"] .public-home .hero p {
  color: #d4c5ba;
}

html[data-theme="dark"] .public-home .hero .eyebrow {
  color: #53bfd3;
}

html[data-theme="dark"] .public-home .hero__trust {
  color: #ded0c5;
}

html[data-theme="dark"] .public-home .hero-visual {
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 22px 52px rgba(0,0,0,.42);
}

/* Pás výhod pod hero */
html[data-theme="dark"] .public-home .trust-strip {
  background: #211812;
  border-color: #4b3426;
}

html[data-theme="dark"] .public-home .trust-strip__grid > div {
  border-color: #4b3426;
}

html[data-theme="dark"] .public-home .trust-strip__grid strong {
  color: #f3ece7;
}

html[data-theme="dark"] .public-home .trust-strip__grid span {
  color: #c5b5aa;
}

/* Vedlejší CTA */
html[data-theme="dark"] .public-home .hero .button--secondary {
  border-color: #b58a69;
  background: rgba(255,255,255,.035);
  color: #f8f5f2;
}

html[data-theme="dark"] .public-home .hero .button--secondary:hover {
  border-color: #d3a178;
  background: rgba(255,255,255,.08);
}

/* ==========================================================
   REVELMONT SOCIAL LINKS
   ========================================================== */

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  color: #dbe5ef;
  background: rgba(255,255,255,.04);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--rv-teal);
  background: rgba(15,129,153,.14);
  color: #fff;
}

.footer-socials a:focus-visible {
  outline: 3px solid rgba(15,129,153,.4);
  outline-offset: 3px;
}

.footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-socials svg rect,
.footer-socials svg circle {
  fill: none;
}


/* ==========================================================
   SOCIAL BRAND COLORS
   ========================================================== */

.footer-socials__link {
  position: relative;
  overflow: hidden;
}

.footer-socials__link--facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff !important;
}

.footer-socials__link--instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 72%, #515bd4 100%);
  border-color: rgba(255,255,255,.14);
  color: #fff !important;
}

.footer-socials__link--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff !important;
}

.footer-socials__link--facebook:hover,
.footer-socials__link--instagram:hover,
.footer-socials__link--whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  color: #fff !important;
}

/* ==========================================================
   SOCIAL FOOTER BRAND COLOR PRIORITY
   ========================================================== */

.footer-socials a.footer-socials__link--facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.footer-socials a.footer-socials__link--instagram {
  background: linear-gradient(
    135deg,
    #f58529 0%,
    #dd2a7b 45%,
    #8134af 72%,
    #515bd4 100%
  );
  border-color: transparent;
  color: #fff;
}

.footer-socials a.footer-socials__link--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.footer-socials a.footer-socials__link--facebook:hover,
.footer-socials a.footer-socials__link--instagram:hover,
.footer-socials a.footer-socials__link--whatsapp:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
}


/* ==========================================================
   FACEBOOK ICON LEGIBILITY FIX
   ========================================================== */

.footer-socials .facebook-brand-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: #fff;
  stroke: none;
}

.footer-socials a.footer-socials__link--facebook {
  place-items: center;
}

/* ==========================================================
   MOBILE UX POLISH V1
   Public site mobile readability and alignment
   ========================================================== */

@media (max-width: 768px) {

  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
  }

  .container {
    width: min(
      calc(100% - 30px),
      var(--rv-container)
    );
  }

  h1,
  h2,
  h3 {
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  p,
  li,
  a,
  button {
    overflow-wrap: anywhere;
  }


  /* -------------------------------------------------------
     HEADER + MOBILE NAVIGATION
     ------------------------------------------------------- */

  .site-header__inner {
    min-height: 64px;
    gap: 10px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .menu-button {
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-nav__inner {
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .mobile-nav a:not(.button) {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.35;
  }

  .mobile-nav .button {
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
  }


  /* -------------------------------------------------------
     TYPOGRAPHY + HERO
     ------------------------------------------------------- */

  .hero__content,
  .section-heading,
  .final-cta {
    text-align: center;
  }

  .hero__content .eyebrow,
  .section-heading .eyebrow,
  .final-cta .eyebrow {
    text-align: center;
  }

  .hero__lead,
  .section-lead,
  .final-cta p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions,
  .final-cta__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-items: center;
    text-align: center;
  }

  .hero__trust span {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }


  /* -------------------------------------------------------
     BUTTONS + LINKS
     ------------------------------------------------------- */

  .button {
    min-height: 46px;
    line-height: 1.3;
    text-align: center;
    justify-content: center;
  }

  .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
    font-size: .95rem;
  }


  /* -------------------------------------------------------
     HOMEPAGE CARDS
     ------------------------------------------------------- */

  .service-card,
  .project-card__body,
  .process-grid li {
    text-align: center;
  }

  .service-card a,
  .project-card__body a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }


  /* -------------------------------------------------------
     FOOTER
     ------------------------------------------------------- */

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .site-footer .brand--footer {
    justify-content: center;
  }

  .site-footer__description {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-links,
  .site-footer .footer-contact {
    text-align: center;
  }

  .site-footer .footer-links li,
  .site-footer .footer-contact li {
    font-size: .95rem;
    line-height: 1.45;
  }

  .site-footer .footer-links a,
  .site-footer .footer-contact a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-socials a {
    width: 44px;
    height: 44px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 8px 16px;
  }

  .footer-legal-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
  }
}


@media (max-width: 420px) {

  .container {
    width: min(
      calc(100% - 24px),
      var(--rv-container)
    );
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.65rem;
    line-height: 1.14;
  }

  h3 {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .hero__actions,
  .final-cta__actions {
    width: 100%;
  }

  .hero__actions .button,
  .final-cta__actions .button {
    width: 100%;
  }

  .footer-legal-links {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}

/* ==========================================================
   REVELMONT MOBILE HEADER FIX V1
   Keep only theme switch + hamburger in compact header.
   ========================================================== */

@media (max-width: 860px) {

  .site-header__inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .site-header .desktop-nav,
  .site-header .header-phone,
  .site-header .header-emergency,
  .site-header .header-client-zone {
    display: none !important;
  }

  .site-header__actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .site-header .theme-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    flex: 0 0 auto;
  }

  .site-header .menu-button {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 9px;
    flex: 0 0 44px;
    position: relative;
    z-index: 20;
  }

  .site-header .menu-button span {
    display: block !important;
    width: 24px;
    height: 2px;
    margin: 3px 0;
  }

  .site-header .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .mobile-nav {
    width: 100%;
    position: relative;
    z-index: 1000;
  }

  .mobile-nav:not([hidden]) {
    display: block !important;
  }
}

@media (max-width: 620px) {

  .site-header__inner {
    min-height: 64px;
    gap: 7px;
  }

  .site-header .theme-toggle {
    min-height: 40px;
    padding: 0 8px;
    font-size: .76rem;
  }

  .site-header .menu-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }

  .site-header .brand__text {
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 420px) {

  .site-header .brand__text {
    display: none;
  }

}

/* ==========================================================
   REVELMONT MOBILE HAMBURGER VISIBILITY FIX V2
   ========================================================== */

@media (max-width: 860px) {

  .site-header .menu-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;

    padding: 0 !important;

    border: 1px solid var(--rv-line) !important;
    border-radius: 10px !important;

    background: var(--rv-card, #ffffff) !important;
    color: var(--rv-hamburger-color, var(--rv-text-primary, #172033)) !important;

    cursor: pointer;
  }

  .site-header .menu-button span {
    display: none !important;
  }

  .site-header .menu-button::before {
    content: "☰";
    display: block;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;

    color: currentColor !important;
  }

  html[data-theme="dark"] .site-header .menu-button {
    background: var(--rv-card) !important;
    color: var(--rv-text) !important;
  }
}

/* PUBLIC FORM DARK MODE CONTRAST FIX V1 */

html[data-theme="dark"] .public-form input:not([type="checkbox"]):not([type="file"]),
html[data-theme="dark"] .public-form select,
html[data-theme="dark"] .public-form textarea {
  background: #1e293b;
  border-color: #475569;
  color: #f8fafc;
  caret-color: #f8fafc;
}

html[data-theme="dark"] .public-form input::placeholder,
html[data-theme="dark"] .public-form textarea::placeholder {
  color: #cbd5e1;
  opacity: 1;
}

html[data-theme="dark"] .public-form input:not([type="checkbox"]):not([type="file"]):hover,
html[data-theme="dark"] .public-form select:hover,
html[data-theme="dark"] .public-form textarea:hover {
  border-color: #64748b;
}

html[data-theme="dark"] .public-form input:not([type="checkbox"]):not([type="file"]):focus,
html[data-theme="dark"] .public-form select:focus,
html[data-theme="dark"] .public-form textarea:focus {
  border-color: var(--rv-teal);
  box-shadow: 0 0 0 4px rgba(15, 129, 153, .22);
}

html[data-theme="dark"] .public-form .form-field > label {
  color: #f8fafc;
}

html[data-theme="dark"] .public-form select option {
  background: #1e293b;
  color: #f8fafc;
}

/* REVELMONT UI V2 - TYPOGRAPHY BUTTONS MOBILE */

/* Modern unified typography */
body,
button,
input,
select,
textarea {
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    Arial,
    sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    Arial,
    sans-serif !important;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Homepage hero */
.public-home .hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 4.6vw, 4.5rem);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.public-home .hero p {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.hero__actions,
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Unified buttons */
.button {
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: .96rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.01em;
  box-shadow: none;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--small {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: .88rem;
}

.button--primary {
  color: #fff;
  background: var(--rv-teal);
  border-color: var(--rv-teal);
  box-shadow: 0 8px 22px rgba(15, 129, 153, .18);
}

.button--primary:hover {
  color: #fff;
  background: var(--rv-teal-dark);
  border-color: var(--rv-teal-dark);
  box-shadow: 0 10px 26px rgba(15, 129, 153, .25);
}

.button--secondary {
  color: var(--rv-text-primary, var(--rv-text));
  background: transparent;
  border-color: rgba(100, 116, 139, .55);
}

.button--secondary:hover {
  color: var(--rv-teal);
  background: var(--rv-teal-soft);
  border-color: var(--rv-teal);
}

/* Dark mode buttons - same visual language everywhere */
html[data-theme="dark"] .button--secondary,
html[data-theme="dark"] .public-home .hero .button--secondary {
  color: #f8fafc;
  background: transparent;
  border-color: #64748b;
}

html[data-theme="dark"] .button--secondary:hover,
html[data-theme="dark"] .public-home .hero .button--secondary:hover {
  color: #ffffff;
  background: rgba(15, 129, 153, .16);
  border-color: var(--rv-teal);
}

/* Mobile UI V2 */
@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .public-home .hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .public-home .hero__grid,
  .public-home .hero__grid > div:first-child {
    text-align: center;
  }

  .public-home .hero h1 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    font-size: clamp(2.35rem, 10.5vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .public-home .hero p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.08rem;
    line-height: 1.65;
  }

  .public-home .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }

  .public-home .hero__actions .button,
  .final-cta__actions .button {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    text-align: center;
  }

  .section-heading,
  .section-heading > div,
  .section-heading > p {
    text-align: center;
  }

  .section-heading > p,
  .section-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 18px;
  }

  .public-home .hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.85rem);
  }

  .public-home .hero p {
    font-size: 1.05rem;
  }

  .button {
    min-height: 54px;
    padding: 14px 20px;
    font-size: 1rem;
  }
}


/* REVELMONT HERO V3 - MODERN PREMIUM */
.public-home .hero__content {
    position: relative;
}

.public-home .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 18px;
    padding: 7px 13px;
    border: 1px solid rgba(34, 211, 238, .24);
    border-radius: 999px;
    background: rgba(34, 211, 238, .08);
    color: #67e8f9;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.public-home .hero .home-hero-title {
    max-width: 720px;
    margin: 0 0 20px;
    font-size: clamp(2.8rem, 4.15vw, 4.15rem) !important;
    line-height: 1.035 !important;
    font-weight: 720 !important;
    letter-spacing: -.045em !important;
}

.public-home .hero .home-hero-lead {
    max-width: 650px;
    margin: 0 0 30px;
    font-size: clamp(1.04rem, 1.22vw, 1.15rem) !important;
    line-height: 1.72 !important;
    color: rgba(241, 245, 249, .88) !important;
}

.public-home .hero__actions {
    gap: 12px;
}

.public-home .hero__actions .button {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 13px;
    font-size: .95rem;
    font-weight: 700;
}

.public-home .hero__actions .button--primary {
    border-color: transparent;
    background: linear-gradient(135deg, #2878f0 0%, #16b9d4 100%);
    color: #fff;
    box-shadow: 0 9px 24px rgba(14, 165, 233, .20);
}

.public-home .hero__actions .button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(14, 165, 233, .28);
}

.public-home .hero__actions .button--secondary {
    border: 1px solid rgba(148, 163, 184, .45);
    background: rgba(255, 255, 255, .025);
    color: #f8fafc;
    box-shadow: none;
}

.public-home .hero__actions .button--secondary:hover {
    border-color: rgba(103, 232, 249, .65);
    background: rgba(34, 211, 238, .07);
    color: #fff;
}

@media (max-width: 760px) {
    .public-home .hero__content {
        text-align: center;
    }

    .public-home .hero__eyebrow {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
        font-size: .7rem;
    }

    .public-home .hero .home-hero-title {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.25rem, 10vw, 3rem) !important;
        line-height: 1.05 !important;
    }

    .public-home .hero .home-hero-lead {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 28px;
        font-size: 1.04rem !important;
        line-height: 1.65 !important;
    }

    .public-home .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }

    .public-home .hero__actions .button {
        width: 100%;
        min-height: 54px;
    }
}


/* SERVICES INDEX - COMPACT SECTION SPACING V1 */

.services-index-page .page-hero {
    padding-bottom: 26px;
}

.services-index-page .page-hero + .section {
    padding-top: 34px;
    padding-bottom: 54px;
}

.services-index-page .section--muted {
    padding-top: 54px;
    padding-bottom: 54px;
}

.services-index-page .section--final-cta {
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (max-width: 760px) {
    .services-index-page .page-hero {
        padding-bottom: 20px;
    }

    .services-index-page .page-hero + .section {
        padding-top: 26px;
        padding-bottom: 42px;
    }

    .services-index-page .section--muted {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .services-index-page .section--final-cta {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}


/* REVELMONT GLOBAL COMPACT SPACING V1 */

/* Běžné obsahové sekce */
.section {
    padding-top: 54px;
    padding-bottom: 54px;
}

/* Nadpisové bloky */
.section-heading {
    margin-bottom: 24px;
}

/* Úvod vnitřních stránek */
.page-hero {
    padding-top: 52px;
    padding-bottom: 26px;
}

/* První sekce hned po page hero */
.page-hero + .section {
    padding-top: 34px;
}

/* Tlumené / navazující sekce */
.section--muted {
    padding-top: 52px;
    padding-bottom: 52px;
}

/* Závěrečné CTA */
.section--final-cta {
    padding-top: 48px;
    padding-bottom: 48px;
}


/* TABLET */
@media (max-width: 1024px) {
    .section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .page-hero {
        padding-top: 44px;
        padding-bottom: 24px;
    }

    .page-hero + .section {
        padding-top: 30px;
    }

    .section--muted {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .section--final-cta {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}


/* MOBIL */
@media (max-width: 760px) {
    .section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .section-heading {
        margin-bottom: 20px;
    }

    .page-hero {
        padding-top: 34px;
        padding-bottom: 18px;
    }

    .page-hero + .section {
        padding-top: 24px;
    }

    .section--muted {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .section--final-cta {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}


/* MALÉ MOBILY */
@media (max-width: 480px) {
    .section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .page-hero {
        padding-top: 28px;
        padding-bottom: 16px;
    }

    .page-hero + .section {
        padding-top: 20px;
    }

    .section--muted {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .section--final-cta {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}


/* REVELMONT GLOBAL HEADING CENTER V1 */

/* Hlavní nadpisy vnitřních stránek */
.page-hero .container {
    text-align: center;
}

.page-hero__lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Standardní nadpisy sekcí */
.section-heading,
.section-heading > div,
.section-heading > p {
    text-align: center;
}

.section-heading > p,
.section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Samostatný nadpis přímo v sekci */
.section > .container > .eyebrow,
.section > .container > h1,
.section > .container > h2 {
    text-align: center;
}

/* Homepage - Proč REVELMONT */
.public-home .split-section__content > .eyebrow,
.public-home .split-section__content > h2,
.public-home .split-section__content > .section-lead {
    text-align: center;
}

.public-home .split-section__content > .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Publikum - např. Služby pro domácnosti i firmy */
.audience-section > div:first-child {
    text-align: center;
}

/* Závěrečné CTA */
.section--final-cta h2,
.section--final-cta .eyebrow,
.section--final-cta p {
    text-align: center;
}

.section--final-cta p {
    margin-left: auto;
    margin-right: auto;
}

/* Mobil */
@media (max-width: 760px) {
    .page-hero .container,
    .section-heading,
    .section > .container > .eyebrow,
    .section > .container > h1,
    .section > .container > h2,
    .public-home .split-section__content > .eyebrow,
    .public-home .split-section__content > h2,
    .public-home .split-section__content > .section-lead,
    .audience-section > div:first-child {
        text-align: center;
    }
}


/* =========================================================
   REVELMONT CONTACT UI V2
   ========================================================= */

.contact-page .contact-v2__hero {
    padding-bottom: 22px;
}

.contact-v2 {
    padding-top: 30px;
}

.contact-v2__grid {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.45fr);
    gap: 28px;
    align-items: stretch;

    max-width: 1180px;
    margin: 0 auto;
}


/* LEFT PANEL */

.contact-v2__sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;

    padding: 32px;

    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 165, 233, .08),
            rgba(15, 23, 42, .02)
        );
}

.contact-v2__kicker {
    margin: 0 0 10px;

    color: var(--rv-teal);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.contact-v2__sidebar h2 {
    margin: 0 0 14px;

    font-size: clamp(1.55rem, 2vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.contact-v2__intro {
    margin: 0;

    color: var(--rv-text-secondary, var(--rv-muted));
    line-height: 1.7;
}


/* CONTACT ITEMS */

.contact-v2__details {
    display: grid;
    gap: 10px;
}

.contact-v2__detail {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
    padding: 14px;

    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;

    background: rgba(255, 255, 255, .035);

    color: inherit;
    text-decoration: none;

    transition:
        border-color .16s ease,
        background-color .16s ease,
        transform .16s ease;
}

a.contact-v2__detail:hover {
    transform: translateY(-1px);

    border-color: rgba(34, 211, 238, .38);
    background: rgba(14, 165, 233, .07);
}

.contact-v2__detail-icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    border-radius: 12px;

    background: rgba(14, 165, 233, .11);
    color: var(--rv-teal);

    font-size: 1rem;
    font-weight: 900;
}

.contact-v2__detail > span:last-child {
    min-width: 0;
}

.contact-v2__detail small {
    display: block;

    margin-bottom: 3px;

    color: var(--rv-text-muted, var(--rv-muted));
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.contact-v2__detail strong {
    display: block;

    overflow-wrap: anywhere;

    font-size: .98rem;
    font-weight: 800;
}


/* EMERGENCY */

.contact-v2__emergency {
    margin-top: auto;
    padding: 18px;

    border: 1px solid rgba(239, 68, 68, .26);
    border-radius: 16px;

    background: rgba(220, 38, 38, .07);
}

.contact-v2__emergency > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.contact-v2__emergency-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #ef4444;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, .12);
}

.contact-v2__emergency p {
    margin: 10px 0 13px;

    color: var(--rv-text-secondary, var(--rv-muted));
    font-size: .9rem;
    line-height: 1.55;
}

.contact-v2__emergency-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #ef4444;
    font-size: .9rem;
    font-weight: 800;
}


/* FORM CARD */

.contact-v2__form-card {
    padding: 34px;

    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;

    background: rgba(255, 255, 255, .045);

    box-shadow:
        0 18px 50px rgba(15, 23, 42, .06);
}

.contact-v2__form-heading {
    margin-bottom: 28px;
}

.contact-v2__form-heading .eyebrow {
    margin-bottom: 8px;
}

.contact-v2__form-heading h2 {
    margin: 0 0 10px;

    font-size: clamp(1.65rem, 2.1vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.contact-v2__form-heading > p:last-child {
    max-width: 670px;
    margin: 0;

    color: var(--rv-text-secondary, var(--rv-muted));
    line-height: 1.65;
}


/* FIELDS */

.contact-v2__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-v2__field {
    min-width: 0;
}

.contact-v2__field--wide {
    grid-column: 1 / -1;
}

.contact-v2__field label {
    display: flex;
    align-items: baseline;
    gap: 5px;

    margin-bottom: 8px;

    font-size: .88rem;
    font-weight: 750;
}

.contact-v2__field label > span {
    color: #ef4444;
}

.contact-v2__field label em {
    color: var(--rv-text-muted, var(--rv-muted));
    font-size: .74rem;
    font-style: normal;
    font-weight: 600;
}

.contact-v2__field input:not([type="checkbox"]),
.contact-v2__field select,
.contact-v2__field textarea {
    display: block;

    width: 100%;
    min-height: 52px;

    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 13px;

    outline: 0;

    background: rgba(255, 255, 255, .82);
    color: #0f172a;

    font: inherit;
    font-size: 1rem;

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}

.contact-v2__field textarea {
    min-height: 155px;
    resize: vertical;
    line-height: 1.6;
}

.contact-v2__field input::placeholder,
.contact-v2__field textarea::placeholder {
    color: #94a3b8;
}

.contact-v2__field input:hover,
.contact-v2__field select:hover,
.contact-v2__field textarea:hover {
    border-color: rgba(14, 165, 233, .55);
}

.contact-v2__field input:focus,
.contact-v2__field select:focus,
.contact-v2__field textarea:focus {
    border-color: #0ea5e9;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(14, 165, 233, .12);
}


/* PRIVACY */

.contact-v2__privacy {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-top: 20px;
    padding: 15px;

    border-radius: 13px;

    background: rgba(148, 163, 184, .06);
}

.contact-v2__privacy input {
    width: 19px;
    height: 19px;
    min-width: 19px;

    margin-top: 2px;

    accent-color: var(--rv-teal);
}

.contact-v2__privacy label {
    margin: 0;

    color: var(--rv-text-secondary, var(--rv-muted));

    font-size: .86rem;
    line-height: 1.55;
}


/* ERRORS */

.contact-v2__error {
    display: block;

    margin-top: 6px;

    color: #ef4444;

    font-size: .78rem;
    font-weight: 700;
}

.contact-v2__error--privacy {
    margin-top: 7px;
}

.contact-v2__errors {
    margin-bottom: 18px;
    padding: 13px 15px;

    border: 1px solid rgba(239, 68, 68, .28);
    border-radius: 12px;

    background: rgba(239, 68, 68, .07);
    color: #dc2626;
}

.contact-v2__errors p {
    margin: 0;
}


/* SUBMIT */

.contact-v2__submit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;

    margin-top: 24px;
}

.contact-v2__submit .button {
    min-width: 190px;
    min-height: 54px;
}

.contact-v2__submit small {
    color: var(--rv-text-muted, var(--rv-muted));
}


/* SUCCESS */

.contact-v2__success {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    max-width: 1180px;
    margin: 0 auto 24px;
    padding: 18px;

    border: 1px solid rgba(16, 185, 129, .28);
    border-radius: 16px;

    background: rgba(16, 185, 129, .08);
}

.contact-v2__success-icon {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    border-radius: 50%;

    background: #10b981;
    color: #fff;

    font-weight: 900;
}

.contact-v2__success p {
    margin: 5px 0 0;
}


/* DARK MODE */

html[data-theme="dark"] .contact-v2__sidebar,
html[data-theme="dark"] .contact-v2__form-card {
    background: rgba(15, 23, 42, .48);
    border-color: rgba(100, 116, 139, .28);
}

html[data-theme="dark"] .contact-v2__detail {
    background: rgba(15, 23, 42, .42);
}

html[data-theme="dark"] .contact-v2__field input:not([type="checkbox"]),
html[data-theme="dark"] .contact-v2__field select,
html[data-theme="dark"] .contact-v2__field textarea {
    background: #182337;
    border-color: #475569;
    color: #f8fafc;
}

html[data-theme="dark"] .contact-v2__field input:focus,
html[data-theme="dark"] .contact-v2__field select:focus,
html[data-theme="dark"] .contact-v2__field textarea:focus {
    background: #1e293b;
    border-color: #22d3ee;
}

html[data-theme="dark"] .contact-v2__field input::placeholder,
html[data-theme="dark"] .contact-v2__field textarea::placeholder {
    color: #94a3b8;
}


/* TABLET / MOBILE */

@media (max-width: 900px) {

    .contact-v2__grid {
        grid-template-columns: 1fr;
    }

    .contact-v2__sidebar {
        order: 2;
    }

    .contact-v2__form-card {
        order: 1;
    }
}

@media (max-width: 640px) {

    .contact-v2 {
        padding-top: 18px;
    }

    .contact-v2__sidebar,
    .contact-v2__form-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .contact-v2__fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-v2__field--wide {
        grid-column: auto;
    }

    .contact-v2__submit {
        display: grid;
        grid-template-columns: 1fr;
    }

    .contact-v2__submit .button {
        width: 100%;
    }

    .contact-v2__submit small {
        text-align: center;
    }
}


/* =========================================================
   REVELMONT CONTACT V3 - FINAL TYPOGRAPHY ALIGNMENT
   ========================================================= */

/* LEVÝ KONTAKTNÍ PANEL */

.contact-v2__sidebar > div:first-child {
    width: 100%;
    text-align: center;
}

.contact-v2__kicker {
    width: 100%;
    margin: 0 auto 12px;
    text-align: center;
}

.contact-v2__sidebar h2 {
    max-width: 390px;
    margin: 0 auto 16px;
    text-align: center;

    font-size: clamp(1.65rem, 2.1vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.contact-v2__intro {
    max-width: 440px;
    margin: 0 auto;
    text-align: center;

    line-height: 1.7;
}


/* PRAVÁ FORMULÁŘOVÁ KARTA */

.contact-v2__form-heading {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.contact-v2__form-heading .eyebrow {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 9px;
    text-align: center;
}

.contact-v2__form-heading h2 {
    max-width: 680px;
    margin: 0 auto 12px;
    text-align: center;

    font-size: clamp(1.75rem, 2.25vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.contact-v2__form-heading > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;

    line-height: 1.65;
}


/* FORMULÁŘ ZŮSTÁVÁ ČITELNĚ VLEVO */

.contact-v2__form,
.contact-v2__fields,
.contact-v2__field,
.contact-v2__privacy {
    text-align: left;
}


/* KONTAKTNÍ POLOŽKY */

.contact-v2__details {
    margin-top: 2px;
}

.contact-v2__detail {
    text-align: left;
}


/* POHOTOVOST */

.contact-v2__emergency {
    text-align: left;
}


/* MOBIL */

@media (max-width: 640px) {

    .contact-v2__sidebar h2 {
        max-width: 100%;
        font-size: clamp(1.65rem, 8vw, 2.05rem);
    }

    .contact-v2__intro {
        max-width: 100%;
        font-size: 1rem;
    }

    .contact-v2__form-heading {
        margin-bottom: 24px;
    }

    .contact-v2__form-heading h2 {
        max-width: 100%;
        font-size: clamp(1.7rem, 8vw, 2.05rem);
    }

    .contact-v2__form-heading > p:last-child {
        max-width: 100%;
        font-size: .98rem;
    }
}


/* =========================================================
   REVELMONT SERVICE PAGE V2
   ========================================================= */

/* HERO */

.service-detail-hero {
    padding: 54px 0 58px;
}

.service-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
    gap: clamp(34px, 5vw, 64px);
    align-items: center;
}

.service-detail-hero__content {
    min-width: 0;
}

.service-detail-hero__eyebrow,
.service-3d-kicker {
    display: inline-flex;
    align-items: center;

    margin: 0 0 16px;
    padding: 7px 13px;

    border: 1px solid rgba(14, 165, 233, .24);
    border-radius: 999px;

    background: rgba(14, 165, 233, .07);
    color: #0e7490;

    font-size: .76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.service-detail-hero h1 {
    max-width: 720px;
    margin: 0 0 20px;

    font-size: clamp(2.6rem, 4.2vw, 4.15rem);
    font-weight: 760;
    line-height: 1.03;
    letter-spacing: -.045em;

    text-wrap: balance;
}

.service-detail-hero .page-hero__lead {
    max-width: 680px;
    margin: 0 0 28px;

    font-size: clamp(1.04rem, 1.3vw, 1.16rem);
    line-height: 1.7;
}

.service-detail-hero .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-detail-hero .hero__actions .button {
    min-height: 52px;
    padding-left: 23px;
    padding-right: 23px;
    border-radius: 13px;
}


/* HERO IMAGE */

.service-detail-hero__visual {
    position: relative;
    overflow: hidden;

    min-height: 390px;

    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 24px;

    background: #eaf0f5;

    box-shadow:
        0 22px 55px rgba(15, 23, 42, .10);
}

.service-detail-hero__visual img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 390px;

    object-fit: cover;

    border-radius: inherit;
}

.service-detail-placeholder {
    min-height: 390px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 32px;

    text-align: center;
}


/* SECTION HEADINGS */

.service-detail-hero ~ .section .section-heading {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;

    text-align: center;
}

.service-detail-hero ~ .section .section-heading > div,
.service-detail-hero ~ .section .section-heading > p {
    text-align: center;
}

.service-detail-hero ~ .section .section-heading > p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


/* FEATURE CARDS */

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-feature-card {
    overflow: hidden;

    padding: 24px;

    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 18px;

    background: rgba(255, 255, 255, .74);

    box-shadow:
        0 10px 30px rgba(15, 23, 42, .045);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.service-feature-card:hover {
    transform: translateY(-3px);

    border-color: rgba(14, 165, 233, .32);

    box-shadow:
        0 16px 38px rgba(15, 23, 42, .08);
}

.service-feature-card__top {
    margin-bottom: 14px;
}

.service-feature-card__icon {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    background: rgba(14, 165, 233, .09);
    color: #0e7490;
}

.service-feature-card h3 {
    margin-top: 15px;
    margin-bottom: 8px;

    font-size: 1.08rem;
    line-height: 1.3;
}

.service-feature-card > p {
    margin: 0;
    line-height: 1.65;
}


/* 3D IMAGE CARDS */

.service-feature-card__image {
    overflow: hidden;

    margin: -24px -24px 20px;

    aspect-ratio: 16 / 9;

    background: #e2e8f0;
}

.service-feature-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* PROCESS */

.service-process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-process-list > li {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 22px;

    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 17px;

    background: rgba(255, 255, 255, .68);
}

.service-process-list > li > span {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    border-radius: 12px;

    background: rgba(14, 165, 233, .10);
    color: #0e7490;

    font-size: .82rem;
    font-weight: 850;
}

.service-process-list h3 {
    margin: 2px 0 7px;

    font-size: 1.02rem;
}

.service-process-list p {
    margin: 0;
    line-height: 1.6;
}


/* FAQ */

.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;

    max-width: 980px;
    margin: 0 auto;
}

.faq-layout > div:first-child {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.faq-layout > div:first-child .eyebrow,
.faq-layout > div:first-child h2,
.faq-layout > div:first-child .section-lead {
    text-align: center;
}

.faq-layout > div:first-child .section-lead {
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    overflow: hidden;

    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 15px;

    background: rgba(255, 255, 255, .70);
}

.faq-item summary {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 18px;

    cursor: pointer;

    font-weight: 750;
}

.faq-item__answer {
    padding: 0 18px 18px;
    line-height: 1.7;
}


/* FINAL CTA */

#kontakt-sluzby .final-cta {
    max-width: 1040px;
    margin: 0 auto;

    text-align: center;
}

#kontakt-sluzby .final-cta > div:first-child {
    max-width: 680px;
    margin: 0 auto;
}

#kontakt-sluzby .final-cta h2,
#kontakt-sluzby .final-cta p {
    text-align: center;
}

#kontakt-sluzby .final-cta__actions {
    justify-content: center;
    margin-top: 22px;
}


/* LIGHT MODE */

html:not([data-theme="dark"]) .service-feature-card,
html:not([data-theme="dark"]) .service-process-list > li,
html:not([data-theme="dark"]) .faq-item {
    background: #ffffff;
    border-color: #dbe4ee;
}


/* DARK MODE */

html[data-theme="dark"] .service-detail-hero__eyebrow,
html[data-theme="dark"] .service-3d-kicker {
    color: #67e8f9;
    background: rgba(34, 211, 238, .08);
    border-color: rgba(34, 211, 238, .22);
}

html[data-theme="dark"] .service-detail-hero__visual {
    background: #111c2f;
    border-color: rgba(100, 116, 139, .30);
}

html[data-theme="dark"] .service-feature-card,
html[data-theme="dark"] .service-process-list > li,
html[data-theme="dark"] .faq-item {
    background: rgba(15, 23, 42, .55);
    border-color: rgba(100, 116, 139, .28);
}

html[data-theme="dark"] .service-feature-card__icon,
html[data-theme="dark"] .service-process-list > li > span {
    color: #67e8f9;
    background: rgba(34, 211, 238, .09);
}


/* TABLET */

@media (max-width: 980px) {

    .service-detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .service-detail-hero__content {
        text-align: center;
    }

    .service-detail-hero__eyebrow,
    .service-3d-kicker,
    .service-emergency-status {
        margin-left: auto;
        margin-right: auto;
    }

    .service-detail-hero h1,
    .service-detail-hero .page-hero__lead {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .service-detail-hero .hero__actions {
        justify-content: center;
    }

    .service-detail-hero__visual {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    .service-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* MOBILE */

@media (max-width: 640px) {

    .service-detail-hero {
        padding-top: 34px;
        padding-bottom: 38px;
    }

    .service-detail-hero__grid {
        gap: 28px;
    }

    .service-detail-hero h1 {
        font-size: clamp(2.15rem, 10vw, 2.85rem);
    }

    .service-detail-hero .page-hero__lead {
        font-size: 1rem;
    }

    .service-detail-hero .hero__actions {
        display: grid;
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 390px;

        margin-left: auto;
        margin-right: auto;
    }

    .service-detail-hero .hero__actions .button {
        width: 100%;
    }

    .service-detail-hero__visual,
    .service-detail-hero__visual img,
    .service-detail-placeholder {
        min-height: 270px;
    }

    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .service-feature-card {
        padding: 20px;
    }

    .service-feature-card__image {
        margin: -20px -20px 18px;
    }

    .service-process-list {
        grid-template-columns: 1fr;
    }

    #kontakt-sluzby .final-cta__actions {
        display: grid;
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 390px;

        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }

    #kontakt-sluzby .final-cta__actions .button {
        width: 100%;
    }
}


/* REVELMONT SERVICE HERO V2.1 */

@media (min-width: 981px) {

    .service-detail-hero {
        padding-top: 46px;
        padding-bottom: 42px;
    }

    .service-detail-hero__grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
        gap: 56px;
    }

    .service-detail-hero__visual {
        min-height: 350px;
        max-height: 390px;
    }

    .service-detail-hero__visual img {
        min-height: 350px;
        max-height: 390px;
    }

    .service-detail-hero h1 {
        max-width: 650px;
    }

    .service-detail-hero .page-hero__lead {
        max-width: 690px;
    }
}

/* ==========================================================
   REVELMONT HOME EXPERTISE V3 START
   ========================================================== */

.rv-home-expertise {
    position: relative;
    overflow: hidden;
}

.rv-home-expertise__heading {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.rv-home-expertise__heading .eyebrow {
    text-align: center;
}

.rv-home-expertise__heading h2 {
    margin: 0 auto 18px;
    max-width: 850px;

    font-size: clamp(2.15rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    text-align: center;
}

.rv-home-expertise__heading h2 span {
    display: block;
    color: #18a8d8;
}

.rv-home-expertise__heading > p:last-child {
    max-width: 760px;
    margin: 0 auto;

    font-size: 1.05rem;
    line-height: 1.75;
    text-align: center;
}


/* MAIN LAYOUT */

.rv-home-expertise__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(34px, 5vw, 64px);
    align-items: center;
}


/* IMAGE SIDE */

.rv-home-expertise__visual {
    min-width: 0;
}

.rv-home-expertise__main-image {
    position: relative;
    overflow: hidden;

    min-height: 440px;

    border: 1px solid rgba(100, 130, 190, .22);
    border-radius: 26px;

    background: #101b33;

    box-shadow:
        0 24px 60px rgba(3, 10, 30, .16);
}

.rv-home-expertise__main-image > img {
    display: block;

    width: 100%;
    height: 440px;

    object-fit: cover;
}

.rv-home-expertise__image-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;

    padding: 17px 19px;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 17px;

    background: rgba(8, 18, 42, .82);
    backdrop-filter: blur(12px);

    color: #fff;
}

.rv-home-expertise__image-caption span {
    display: block;
    margin-bottom: 5px;

    color: #6fe3ff;

    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rv-home-expertise__image-caption strong {
    display: block;

    font-size: 1.05rem;
    line-height: 1.35;
}

.rv-home-expertise__mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    margin-top: 16px;
}

.rv-home-expertise__mini-image {
    position: relative;
    overflow: hidden;

    min-height: 165px;

    border: 1px solid rgba(100, 130, 190, .20);
    border-radius: 18px;

    background: #101b33;
}

.rv-home-expertise__mini-image img {
    display: block;

    width: 100%;
    height: 165px;

    object-fit: cover;
}

.rv-home-expertise__mini-image::after {
    content: "";

    position: absolute;
    inset: 45% 0 0;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 12, 30, 0),
            rgba(5, 12, 30, .88)
        );
}

.rv-home-expertise__mini-image span {
    position: absolute;
    z-index: 2;

    left: 15px;
    bottom: 13px;

    color: #fff;

    font-size: .88rem;
    font-weight: 800;
}


/* CONTENT */

.rv-home-expertise__content h3 {
    margin: 0 0 18px;

    max-width: 640px;

    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.rv-home-expertise__lead {
    max-width: 670px;
    margin: 0;

    font-size: 1.04rem;
    line-height: 1.75;
}


/* BENEFITS */

.rv-home-expertise__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    margin-top: 28px;
}

.rv-home-expertise__benefits article {
    display: flex;
    gap: 13px;

    min-width: 0;
    padding: 18px;

    border: 1px solid rgba(100, 130, 190, .20);
    border-radius: 17px;

    background: rgba(17, 29, 59, .52);

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.rv-home-expertise__benefits article:hover {
    transform: translateY(-2px);
    border-color: rgba(49, 191, 233, .38);
}

.rv-home-expertise__icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    border-radius: 12px;

    background: rgba(30, 181, 224, .10);
    color: #38c8ef;
}

.rv-home-expertise__icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rv-home-expertise__benefits strong {
    display: block;
    margin: 1px 0 5px;

    font-size: .98rem;
    line-height: 1.3;
}

.rv-home-expertise__benefits p {
    margin: 0;

    font-size: .89rem;
    line-height: 1.55;
}


/* ACTIONS */

.rv-home-expertise__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 28px;
}

.rv-home-expertise__actions .button {
    min-height: 50px;
}


/* BOTTOM STRIP */

.rv-home-expertise__strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    margin-top: 42px;

    overflow: hidden;

    border: 1px solid rgba(100, 130, 190, .20);
    border-radius: 20px;

    background: rgba(17, 29, 59, .42);
}

.rv-home-expertise__strip > div {
    position: relative;

    padding: 22px 24px;
}

.rv-home-expertise__strip > div + div {
    border-left: 1px solid rgba(100, 130, 190, .18);
}

.rv-home-expertise__strip span {
    display: block;
    margin-bottom: 8px;

    color: #31bfe9;

    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.rv-home-expertise__strip strong {
    display: block;
    margin-bottom: 5px;

    font-size: 1rem;
}

.rv-home-expertise__strip small {
    display: block;

    font-size: .88rem;
    line-height: 1.5;
}


/* LIGHT MODE */

html:not([data-theme="dark"]) .rv-home-expertise__benefits article,
html:not([data-theme="dark"]) .rv-home-expertise__strip {
    background: #ffffff;
    border-color: #dce6f2;

    box-shadow:
        0 12px 32px rgba(15, 35, 70, .045);
}

html:not([data-theme="dark"]) .rv-home-expertise__strip > div + div {
    border-left-color: #dce6f2;
}

html:not([data-theme="dark"]) .rv-home-expertise__icon {
    background: #eaf8fc;
    color: #087ea4;
}

html:not([data-theme="dark"]) .rv-home-expertise__heading h2 span {
    color: #087ea4;
}


/* TABLET */

@media (max-width: 980px) {

    .rv-home-expertise__layout {
        grid-template-columns: 1fr;
    }

    .rv-home-expertise__visual {
        max-width: 780px;
        width: 100%;
        margin: 0 auto;
    }

    .rv-home-expertise__content {
        max-width: 780px;
        width: 100%;
        margin: 0 auto;

        text-align: center;
    }

    .rv-home-expertise__content h3,
    .rv-home-expertise__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .rv-home-expertise__content .eyebrow {
        text-align: center;
    }

    .rv-home-expertise__actions {
        justify-content: center;
    }
}


/* MOBILE */

@media (max-width: 680px) {

    .rv-home-expertise__heading {
        margin-bottom: 30px;
    }

    .rv-home-expertise__heading h2 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .rv-home-expertise__main-image,
    .rv-home-expertise__main-image > img {
        min-height: 300px;
        height: 300px;
    }

    .rv-home-expertise__mini-grid {
        grid-template-columns: 1fr;
    }

    .rv-home-expertise__mini-image,
    .rv-home-expertise__mini-image img {
        min-height: 185px;
        height: 185px;
    }

    .rv-home-expertise__benefits {
        grid-template-columns: 1fr;
    }

    .rv-home-expertise__actions {
        display: grid;
        grid-template-columns: 1fr;

        width: 100%;
    }

    .rv-home-expertise__actions .button {
        width: 100%;
    }

    .rv-home-expertise__strip {
        grid-template-columns: 1fr;
    }

    .rv-home-expertise__strip > div + div {
        border-left: 0;
        border-top: 1px solid rgba(100, 130, 190, .18);
    }

    html:not([data-theme="dark"])
    .rv-home-expertise__strip > div + div {
        border-top-color: #dce6f2;
    }
}

/* ==========================================================
   REVELMONT HOME EXPERTISE V3 END
   ========================================================== */



/* ==========================================================
   REVELMONT HOMEPAGE ALIGNMENT V2 START
   REAL WRAPPER: .home-page-content
   ========================================================== */


/* ==========================================================
   HERO
   ========================================================== */

.home-page-content .hero__grid {
    align-items: center;
}

.home-page-content .hero__content {
    width: 100%;
    text-align: center !important;
}

.home-page-content .hero__eyebrow {
    display: table;
    width: auto;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.home-page-content .hero .home-hero-title {
    width: 100%;
    max-width: 720px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    text-wrap: balance;
}

.home-page-content .hero .home-hero-lead {
    width: 100%;
    max-width: 650px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    text-wrap: pretty;
}

.home-page-content .hero__actions {
    display: flex;
    flex-wrap: wrap;

    justify-content: center !important;
    align-items: center;

    width: 100%;

    margin-left: auto !important;
    margin-right: auto !important;
}

.home-page-content .hero__trust {
    justify-content: center !important;
    text-align: center;
}


/* ==========================================================
   COMMON SECTION HEADINGS
   ========================================================== */

.home-page-content .section-heading {
    display: block !important;

    width: 100%;
    max-width: 900px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.home-page-content .section-heading > div {
    width: 100%;

    text-align: center !important;
}

.home-page-content .section-heading .eyebrow {
    text-align: center !important;
}

.home-page-content .section-heading h2,
.home-page-content .section-heading .home-section-title {
    width: 100%;
    max-width: 820px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    text-wrap: balance;
}

.home-page-content .section-heading > p,
.home-page-content .section-heading div + p,
.home-page-content .section-heading .home-section-copy {
    width: 100%;
    max-width: 720px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    text-wrap: pretty;
}


/* ==========================================================
   EXPERTISE / ODBORNOST
   ========================================================== */

.home-page-content .rv-home-expertise__heading {
    width: 100%;
    max-width: 900px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.home-page-content .rv-home-expertise__heading .eyebrow {
    text-align: center !important;
}

.home-page-content .rv-home-expertise__heading h2 {
    max-width: 820px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    text-wrap: balance;
}

.home-page-content .rv-home-expertise__heading > p:last-child {
    max-width: 720px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}


/* pravý textový blok */

.home-page-content .rv-home-expertise__content {
    text-align: center !important;
}

.home-page-content .rv-home-expertise__content > .eyebrow {
    text-align: center !important;
}

.home-page-content .rv-home-expertise__content h3 {
    max-width: 620px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    text-wrap: balance;
}

.home-page-content .rv-home-expertise__lead {
    max-width: 620px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}


/*
   Benefit karty záměrně necháváme vlevo.
   U krátkého technického obsahu je to čitelnější.
*/

.home-page-content .rv-home-expertise__benefits article {
    text-align: left !important;
}

.home-page-content .rv-home-expertise__actions {
    justify-content: center !important;
}

.home-page-content .rv-home-expertise__strip > div {
    text-align: center !important;
}


/* ==========================================================
   FINAL CTA
   ========================================================== */

.home-page-content .final-cta {
    text-align: center !important;
}

.home-page-content .final-cta > div:first-child {
    margin-left: auto;
    margin-right: auto;
}

.home-page-content .final-cta .eyebrow,
.home-page-content .final-cta h2,
.home-page-content .final-cta p {
    text-align: center !important;
}

.home-page-content .final-cta p {
    max-width: 700px;

    margin-left: auto !important;
    margin-right: auto !important;
}

.home-page-content .final-cta__actions {
    justify-content: center !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {

    .home-page-content .hero__content {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-page-content .hero .home-hero-title {
        max-width: 720px;
    }

    .home-page-content .hero .home-hero-lead {
        max-width: 650px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 680px) {

    .home-page-content .hero__content {
        width: 100%;
        max-width: 100%;
    }

    .home-page-content .hero__eyebrow {
        margin-bottom: 20px;
    }

    .home-page-content .hero .home-hero-title {
        width: 100%;
        max-width: 100%;

        text-align: center !important;

        line-height: 1.05;
    }

    .home-page-content .hero .home-hero-lead {
        width: 100%;
        max-width: 34rem;

        text-align: center !important;

        line-height: 1.6;
    }

    .home-page-content .hero__actions {
        display: grid !important;
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 420px;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-page-content .hero__actions .button {
        width: 100%;
    }

    .home-page-content .section-heading,
    .home-page-content .rv-home-expertise__heading {
        width: 100%;
        max-width: 100%;

        text-align: center !important;
    }

    .home-page-content .section-heading h2,
    .home-page-content .section-heading .home-section-title,
    .home-page-content .rv-home-expertise__heading h2 {
        width: 100%;
        max-width: 100%;

        text-align: center !important;
    }

    .home-page-content .section-heading > p,
    .home-page-content .section-heading div + p,
    .home-page-content .section-heading .home-section-copy,
    .home-page-content .rv-home-expertise__heading > p:last-child {
        max-width: 35rem;

        margin-left: auto !important;
        margin-right: auto !important;

        text-align: center !important;
    }

    .home-page-content .rv-home-expertise__content h3,
    .home-page-content .rv-home-expertise__lead {
        max-width: 100%;

        text-align: center !important;
    }

    .home-page-content .rv-home-expertise__actions {
        display: grid;
        grid-template-columns: 1fr;

        width: 100%;
    }

    .home-page-content .rv-home-expertise__actions .button {
        width: 100%;
    }

    .home-page-content .final-cta__actions {
        display: grid;

        width: 100%;
    }

    .home-page-content .final-cta__actions .button {
        width: 100%;
    }

}


/* ==========================================================
   REVELMONT HOMEPAGE ALIGNMENT V2 END
   ========================================================== */


/* ==========================================================
   REVELMONT HERO CTA ALIGN LEFT V1 START
   Keep heading/text centered, move CTA group left
   ========================================================== */

.home-page-content .hero__actions {
    width: 100%;
    max-width: 650px;

    margin-left: auto !important;
    margin-right: auto !important;

    justify-content: flex-start !important;
}

/* mobile necháme vyplněný a pod sebou */
@media (max-width: 680px) {
    .home-page-content .hero__actions {
        justify-content: center !important;
    }
}

/* ==========================================================
   REVELMONT HERO CTA ALIGN LEFT V1 END
   ========================================================== */


/* ==========================================================
   REVELMONT HERO CTA VISUAL ALIGN V2 START
   Align CTA left edge visually with H1
   ========================================================== */

@media (min-width: 981px) {

    .home-page-content .hero__actions {
        width: auto !important;
        max-width: none !important;

        margin-left: clamp(52px, 5vw, 76px) !important;
        margin-right: 0 !important;

        justify-content: flex-start !important;
    }

}


/* tablet */
@media (min-width: 681px) and (max-width: 980px) {

    .home-page-content .hero__actions {
        width: auto !important;

        margin-left: auto !important;
        margin-right: auto !important;

        justify-content: center !important;
    }

}


/* mobile */
@media (max-width: 680px) {

    .home-page-content .hero__actions {
        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 0 !important;

        justify-content: center !important;
    }

}


/* ==========================================================
   REVELMONT HERO CTA VISUAL ALIGN V2 END
   ========================================================== */


/* ==========================================================
   REVELMONT HOMEPAGE OFFSCREEN RENDER V1
   Reduce initial style/layout/paint work below the hero
   ========================================================== */

@supports (content-visibility: auto) {

    .public-home .home-page-content > section.section {
        content-visibility: auto;
        contain-intrinsic-size: auto 800px;
    }

}

/* ==========================================================
   REVELMONT HOMEPAGE OFFSCREEN RENDER V1 END
   ========================================================== */



/* ==========================================================
   REVELMONT HOME SERVICES UNIFY V1 START
   Desktop + tablet + mobile
   ========================================================== */


/* SECTION */

.home-page-content #sluzby {
    padding-top: 72px;
    padding-bottom: 78px;
}


/* HEADING */

.home-page-content #sluzby .section-heading {
    width: 100%;
    max-width: 860px;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 42px;

    text-align: center !important;
}

.home-page-content #sluzby .section-heading > div {
    width: 100%;
    text-align: center !important;
}

.home-page-content #sluzby .section-heading .eyebrow {
    margin-bottom: 10px;

    text-align: center !important;
}

.home-page-content #sluzby .section-heading .home-section-title {
    max-width: 780px;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 14px;

    text-align: center !important;
    text-wrap: balance;
}

.home-page-content #sluzby .section-heading .home-section-copy {
    max-width: 720px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    line-height: 1.65;
}


/* GRID */

.home-page-content #sluzby .service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}


/* CARD */

.home-page-content #sluzby .service-card--photo {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    min-width: 0;

    overflow: hidden;

    border-radius: 20px;
}


/* IMAGE */

.home-page-content #sluzby .service-card__media {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.home-page-content #sluzby .service-card__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .28s ease;
}

@media (hover: hover) {

    .home-page-content #sluzby .service-card--photo:hover
    .service-card__media img {
        transform: scale(1.025);
    }

}


/* BADGE */

.home-page-content #sluzby .service-card__number {
    flex: 0 0 auto;
}


/* TITLE */

.home-page-content #sluzby .service-card--photo h3 {
    width: 100%;

    min-height: 2.5em;

    margin-top: 16px;
    margin-bottom: 10px;

    line-height: 1.25;
    text-wrap: balance;
}


/* DESCRIPTION */

.home-page-content #sluzby .service-card--photo > p {
    width: 100%;

    margin-top: 0;
    margin-bottom: 20px;

    line-height: 1.6;
}


/* LINK ALWAYS AT BOTTOM */

.home-page-content #sluzby .service-card--photo > a {
    align-self: flex-start;

    margin-top: auto;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {

    .home-page-content #sluzby {
        padding-top: 62px;
        padding-bottom: 68px;
    }

    .home-page-content #sluzby .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .home-page-content #sluzby .section-heading {
        margin-bottom: 36px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 680px) {

    .home-page-content #sluzby {
        padding-top: 50px;
        padding-bottom: 56px;
    }

    .home-page-content #sluzby .section-heading {
        width: 100%;
        max-width: 100%;

        margin-bottom: 30px;
    }

    .home-page-content #sluzby .section-heading .home-section-title {
        width: 100%;
        max-width: 100%;
    }

    .home-page-content #sluzby .section-heading .home-section-copy {
        max-width: 34rem;

        line-height: 1.6;
    }

    .home-page-content #sluzby .service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-page-content #sluzby .service-card--photo {
        border-radius: 17px;
    }

    .home-page-content #sluzby .service-card__media {
        aspect-ratio: 16 / 9;
    }

    .home-page-content #sluzby .service-card--photo h3 {
        min-height: 0;

        margin-top: 14px;
    }

    .home-page-content #sluzby .service-card--photo > p {
        margin-bottom: 17px;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 420px) {

    .home-page-content #sluzby {
        padding-top: 44px;
        padding-bottom: 50px;
    }

    .home-page-content #sluzby .service-grid {
        gap: 16px;
    }

}


/* ==========================================================
   REVELMONT HOME SERVICES UNIFY V1 END
   ========================================================== */


/* ==========================================================
   REVELMONT HIDE EXPERTISE STRIP V1
   Temporary hide of 01 / 02 / 03 process strip
   ========================================================== */

.home-page-content .rv-home-expertise__strip {
    display: none !important;
}

/* ==========================================================
   REVELMONT HIDE EXPERTISE STRIP V1 END
   ========================================================== */


/* ==========================================================
   REVELMONT HIDE EXPERTISE BENEFITS V1
   Temporary hide of expertise benefit cards
   ========================================================== */

.home-page-content .rv-home-expertise__benefits {
    display: none !important;
}

/* po skrytí karet zmenšit zbytečnou mezeru */
.home-page-content .rv-home-expertise__lead {
    margin-bottom: 24px;
}

/* ==========================================================
   REVELMONT HIDE EXPERTISE BENEFITS V1 END
   ========================================================== */
