/*
Theme Name: Rajská Boutique Offices
Theme URI: https://rajskaoffices.sk
Author: Rajská Boutique Offices
Author URI: https://rajskaoffices.sk
Description: Oficiálna WordPress šablóna pre Rajská Boutique Offices - moderné kancelárske priestory v centre Bratislavy. Plne editovateľná cez WordPress Customizer.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rbo-theme
Tags: one-page, custom-colors, custom-logo, featured-images, translation-ready
*/

:root {
  --main: #1f3a5f;
  --secondary: #4c463b;
  --dark: #2F2F2F;
  --accent: #1f3a5f;
  --accent-light: #e8edf4;
  --light: #f4f5f7;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Arial Rounded MT Bold', 'Nunito', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  padding-top: 120px; /* Space for fixed header with top-bar */
}

@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Smaller header on mobile */
  }
}

/* OLD NAV - removed, new header styles are in header.php */

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}

.slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.04);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.slide.active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(31,58,95,0.72) 0%, rgba(47,47,47,0.45) 60%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

@keyframes slowZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.0); }
}

.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 100px;
  max-width: 820px;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,0.6);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.btn-primary {
  background: var(--main);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(31,58,95,0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(31,58,95,0.45); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

.hero-stats {
  position: absolute;
  right: 80px;
  bottom: 100px;
  z-index: 2;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  animation: fadeUp 1s 0.3s ease both;
}

.stat {
  padding: 24px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* SCROLL INDICATOR */
.scroll-ind {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.scroll-ind::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* SECTION SHARED */
section { padding: 100px 80px; }

.section-label {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--main);
  flex-shrink: 0;
}

.process-section .section-label::before { background: rgba(255,255,255,0.5); }
.cta-section .section-label::before { background: rgba(255,255,255,0.5); }

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--main);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 400;
}

/* PHOTO GRID */
.photo-section {
  padding: 0;
  background: var(--main);
}

.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 340px 340px;
  gap: 4px;
}

.photo-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s;
  filter: brightness(0.9);
}

.photo-item:hover img { transform: scale(1.06); filter: brightness(1); }

.photo-item.tall { grid-row: span 2; }

.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,58,95,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.photo-item:hover .photo-overlay { opacity: 1; }

.photo-label {
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* FEATURES */
.features-section {
  background: var(--light);
}

.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(31,58,95,0.12);
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--main);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.feature-icon svg { width: 30px; height: 30px; stroke: var(--main); stroke-width: 1.5; fill: none; }
.detail-icon { display: flex; align-items: center; flex-shrink: 0; }
.detail-icon svg { width: 22px; height: 22px; stroke: var(--main); stroke-width: 1.5; fill: none; }
.step-icon { display: flex; align-items: center; justify-content: center; }
.step-icon svg { width: 28px; height: 28px; stroke: rgba(255,255,255,0.9); stroke-width: 1.5; fill: none; }
.btn-svg { display: inline-flex; align-items: center; gap: 9px; }
.btn-svg svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; fill: none; flex-shrink: 0; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.65;
  font-weight: 400;
}

/* LOCATION */
.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  min-height: 600px;
}

.location-map {
  background: var(--main);
  position: relative;
  overflow: hidden;
}

.location-map img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: luminosity;
}

.map-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin {
  width: 60px; height: 60px;
  background: var(--main);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 30px rgba(31,58,95,0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,58,95,0.5); }
  70% { box-shadow: 0 0 0 20px rgba(31,58,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,58,95,0); }
}

.location-info {
  background: var(--white);
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(31,58,95,0.08);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.detail-row:hover {
  border-color: var(--main);
  background: var(--accent-light);
}

.detail-icon { font-size: 1.4rem; flex-shrink: 0; }

.detail-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--main);
  margin-bottom: 3px;
}

.detail-text span {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 400;
}

/* PROCESS */
.process-section {
  background: var(--main);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: 'PROCESS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
}

.process-header { margin-bottom: 70px; }

.process-header .section-title { color: white; }
.process-header .section-sub { color: rgba(255,255,255,0.65); max-width: 500px; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}

.step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-size: 1.8rem;
  transition: background 0.3s, border-color 0.3s;
}

.step:hover .step-num {
  background: var(--secondary);
  border-color: var(--secondary);
}

.step h3 {
  font-size: 0.9rem;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  font-weight: 400;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 80px;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(201,168,76,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(31,58,95,0.3) 0%, transparent 60%);
}

.cta-content { position: relative; max-width: 700px; margin: 0 auto; }

.cta-content .section-title { color: white; margin-bottom: 16px; }

.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
  font-weight: 400;
  line-height: 1.7;
}

.cta-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

.btn-gold {
  background: white;
  color: var(--main);
  padding: 18px 44px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,0,0,0.25); }

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.contact-item {
  text-align: center;
  white-space: nowrap;
}

.contact-item .ci-label {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.contact-item a, .contact-item span {
  font-size: 0.9rem;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.contact-item a:hover { color: rgba(255,255,255,0.7); }

/* FOOTER */
footer {
  background: #111;
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex; gap: 28px; list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

/* FAQ */
.faq-section { background: var(--light); }

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-list { display: flex; flex-direction: column; gap: 2px; }

.faq-item {
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--main);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--accent); }

.faq-arrow {
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--main);
}

.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 28px;
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.7;
  font-weight: 400;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 28px 22px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 992px) {
  /* Old nav styles removed - header.php has its own responsive styles */

  .hero-content {
    padding: 0 40px 80px;
  }

  .hero-stats {
    display: none;
  }

  section {
    padding: 60px 40px;
  }

  .features-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .location-section {
    grid-template-columns: 1fr;
  }

  .location-map {
    min-height: 300px;
  }

  .location-info {
    padding: 60px 40px;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    text-align: center;
  }

  .contact-item {
    white-space: normal;
  }

  footer {
    padding: 30px 40px;
    flex-direction: column;
    text-align: center;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px 250px;
  }

  .photo-item.tall {
    grid-row: span 1;
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step {
    padding: 0;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }

  .photo-item.tall {
    grid-column: span 1;
  }

  .hero-btns {
    flex-direction: column;
  }

  .cta-btns {
    flex-direction: column;
  }

  .cta-contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   GUTENBERG BLOCK STYLES
   Štýly pre editovateľné Gutenberg bloky
   ============================================ */

/* HERO */
.rbo-hero {
  min-height: 100vh !important;
}

.rbo-hero .wp-block-cover__inner-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  padding-bottom: 100px;
}

.rbo-hero-content {
  max-width: 800px;
}

.rbo-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: white !important;
  font-size: 0.7rem !important;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.rbo-hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
  font-weight: 900 !important;
  color: white !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
  margin-bottom: 24px !important;
}

.rbo-hero-title em {
  font-style: normal;
  color: rgba(255,255,255,0.6);
}

.rbo-hero-desc {
  font-size: 1.1rem !important;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px !important;
}

.rbo-hero-btns {
  gap: 16px;
}

.rbo-btn-primary .wp-block-button__link {
  background: var(--main) !important;
  color: white !important;
  padding: 16px 36px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(31,58,95,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rbo-btn-primary .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(31,58,95,0.45);
}

.rbo-btn-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
  color: white !important;
  padding: 16px 36px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rbo-btn-outline .wp-block-button__link:hover {
  border-color: white !important;
  background: rgba(255,255,255,0.1) !important;
}

/* HERO STATS */
.rbo-hero-stats {
  position: absolute;
  right: 80px;
  bottom: 100px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  gap: 0 !important;
}

.rbo-stat {
  padding: 24px 32px !important;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.rbo-stat:last-child {
  border-right: none;
}

.rbo-stat-num {
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  color: white !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
}

.rbo-stat-label {
  font-size: 0.7rem !important;
  color: rgba(255,255,255,0.75) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0 !important;
}

/* GALLERY */
.rbo-gallery {
  background: var(--main);
  padding: 0 !important;
}

.rbo-photo-grid {
  gap: 4px !important;
}

.rbo-photo-grid .wp-block-image img {
  transition: transform 0.6s ease, filter 0.4s;
  filter: brightness(0.9);
}

.rbo-photo-grid .wp-block-image:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

/* FEATURES */
.rbo-features {
  background: var(--light);
  padding: 100px 80px !important;
}

.rbo-features-header {
  margin-bottom: 70px;
}

.rbo-section-label {
  font-size: 0.7rem !important;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--main);
  margin-bottom: 16px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rbo-section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--main);
  flex-shrink: 0;
}

.rbo-section-label-light {
  color: rgba(255,255,255,0.7) !important;
}

.rbo-section-label-light::before {
  background: rgba(255,255,255,0.5);
}

.rbo-section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
  font-weight: 900 !important;
  color: var(--main);
  letter-spacing: -0.03em;
  line-height: 1.15 !important;
  margin-bottom: 20px !important;
}

.rbo-section-title-light {
  color: white !important;
}

.rbo-section-sub {
  font-size: 1rem !important;
  color: var(--secondary);
  line-height: 1.7;
  max-width: 540px;
}

.rbo-section-sub-light {
  color: rgba(255,255,255,0.65) !important;
}

/* FEATURE CARDS */
.rbo-features-grid .wp-block-columns {
  gap: 2px !important;
  margin-bottom: 2px;
}

.rbo-feature-card {
  background: var(--white) !important;
  padding: 40px 32px !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.rbo-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(31,58,95,0.12);
  z-index: 1;
}

.rbo-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--main);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.rbo-feature-card:hover::before {
  transform: scaleX(1);
}

.rbo-feature-icon {
  font-size: 2rem !important;
  margin-bottom: 16px !important;
}

.rbo-feature-title {
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: var(--main);
  margin-bottom: 12px !important;
}

.rbo-feature-desc {
  font-size: 0.875rem !important;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 0 !important;
}

/* LOCATION */
.rbo-location {
  padding: 0 !important;
}

.rbo-location-cols {
  gap: 0 !important;
  margin: 0 !important;
}

.rbo-location-map {
  background: var(--main);
  position: relative;
  min-height: 500px;
}

.rbo-location-map .wp-block-image {
  height: 100%;
  margin: 0;
}

.rbo-location-map .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: luminosity;
}

.rbo-location-info {
  padding: 80px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rbo-location-details {
  margin-top: 32px;
}

.rbo-detail-row {
  padding: 16px 20px !important;
  border: 1px solid rgba(31,58,95,0.08);
  border-radius: 8px;
  margin-bottom: 12px !important;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.9rem !important;
}

.rbo-detail-row:hover {
  border-color: var(--main);
  background: var(--accent-light);
}

/* PROCESS */
.rbo-process {
  background: var(--main);
  padding: 100px 80px !important;
  position: relative;
  overflow: hidden;
}

.rbo-process::before {
  content: 'PROCESS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
}

.rbo-process-header {
  margin-bottom: 70px;
}

.rbo-process-steps {
  position: relative;
}

.rbo-process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 0;
}

.rbo-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.rbo-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px !important;
  font-size: 2rem !important;
  transition: background 0.3s, border-color 0.3s;
}

.rbo-step:hover .rbo-step-icon {
  background: var(--secondary);
  border-color: var(--secondary);
}

.rbo-step-title {
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  color: white !important;
  margin-bottom: 10px !important;
}

.rbo-step-desc {
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* FAQ */
.rbo-faq {
  background: var(--light);
  padding: 100px 80px !important;
}

.rbo-faq-inner {
  gap: 80px !important;
  align-items: flex-start;
}

.rbo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rbo-faq-item {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2px;
}

.rbo-faq-item summary {
  padding: 22px 28px;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--main);
  cursor: pointer;
  transition: color 0.2s;
  list-style: none;
}

.rbo-faq-item summary::-webkit-details-marker {
  display: none;
}

.rbo-faq-item summary::after {
  content: '+';
  float: right;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.rbo-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.rbo-faq-item summary:hover {
  color: var(--accent);
}

.rbo-faq-item p {
  padding: 0 28px 22px;
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.7;
  margin: 0 !important;
}

/* CTA */
.rbo-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
  padding: 120px 80px !important;
  position: relative;
  overflow: hidden;
}

.rbo-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(201,168,76,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(31,58,95,0.3) 0%, transparent 60%);
}

.rbo-cta-content {
  position: relative;
}

.rbo-cta-btns {
  gap: 16px;
  margin-bottom: 48px;
}

.rbo-btn-gold .wp-block-button__link {
  background: white !important;
  color: var(--main) !important;
  padding: 18px 44px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rbo-btn-gold .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.rbo-btn-outline-light .wp-block-button__link {
  background: rgba(255,255,255,0.12) !important;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  padding: 18px 44px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rbo-btn-whatsapp .wp-block-button__link {
  background: #25D366 !important;
  color: white !important;
  padding: 18px 44px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rbo-cta-contact {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rbo-contact-item {
  color: white !important;
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
}

.rbo-contact-item strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

/* GUTENBERG RESPONSIVE */
@media (max-width: 1200px) {
  .rbo-features-grid .wp-block-columns {
    flex-wrap: wrap;
  }

  .rbo-feature-card {
    flex-basis: calc(50% - 1px) !important;
  }

  .rbo-process-steps .wp-block-column {
    flex-basis: 33.33% !important;
  }
}

@media (max-width: 992px) {
  .rbo-features,
  .rbo-faq,
  .rbo-process,
  .rbo-cta {
    padding: 60px 40px !important;
  }

  .rbo-hero-stats {
    display: none;
  }

  .rbo-location-cols {
    flex-direction: column !important;
  }

  .rbo-location-map,
  .rbo-location-info {
    flex-basis: 100% !important;
  }

  .rbo-location-info {
    padding: 60px 40px !important;
  }

  .rbo-faq-inner {
    flex-direction: column !important;
  }

  .rbo-faq-header,
  .rbo-faq-list {
    flex-basis: 100% !important;
  }

  .rbo-cta-contact {
    flex-direction: column !important;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .rbo-hero-title {
    font-size: 2.2rem !important;
  }

  .rbo-feature-card {
    flex-basis: 100% !important;
  }

  .rbo-process-steps .wp-block-column {
    flex-basis: 100% !important;
  }

  .rbo-process-steps::before {
    display: none;
  }

  .rbo-hero-btns,
  .rbo-cta-btns {
    flex-direction: column !important;
  }
}

/* ==========================================
   ADDITIONAL STYLES FOR HTML PAGE CONTENT
   ========================================== */

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ - Icons on Right */
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.3s ease;
}

.faq-q:hover {
  color: var(--main);
}

.faq-text {
  flex: 1;
  padding-right: 24px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--dark);
}

.faq-item:hover .faq-icon {
  background: var(--main);
}

.faq-item:hover .faq-icon svg {
  stroke: white;
}

.faq-item .icon-minus { display: none; }
.faq-item .icon-plus { display: block; }
.faq-item.open .icon-minus { display: block; }
.faq-item.open .icon-plus { display: none; }

.faq-item.open .faq-icon {
  background: var(--main);
  transform: rotate(180deg);
}

.faq-item.open .faq-icon svg {
  stroke: white;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
  color: var(--secondary);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 20px 0 30px;
}

/* CTA Section with Parallax */
.cta-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 58, 95, 0.92) 0%, rgba(47, 47, 47, 0.88) 100%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* Location Map with Google Maps iframe */
.location-map {
  position: relative;
  overflow: hidden;
  background: var(--light);
}

.location-map iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border: 0;
}

@media (max-width: 992px) {
  .location-map iframe {
    min-height: 300px;
  }
}

/* Mobile parallax fallback */
@media (max-width: 768px) {
  .cta-section {
    background-attachment: scroll;
  }
}
