/* Ruta hotels & resorts — clean static rebuild
   Palette extracted from original Elementor styles */
:root {
  --c-primary: #184069;
  --c-primary-dark: #0f2c4a;
  --c-accent: #709EC9;
  --c-light: #BBC6D1;
  --c-bg: #EEF5FB;
  --c-text: #1a2333;
  --c-muted: #8F9AA5;
  --c-white: #FFFFFF;
  --max-w: 1280px;
  --pad: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 3vw, 32px);
  --font-serif: "Cormorant", "Times New Roman", serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(48px, 8vw, 96px) 0; position: relative; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(24,64,105,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); padding: 18px var(--pad);
  max-width: var(--max-w); margin: 0 auto;
}
.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--c-primary);
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-muted);
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  transition: color 0.2s;
}
.nav a:hover { color: var(--c-primary); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-weight: 600; color: var(--c-primary);
  font-size: 15px; white-space: nowrap;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}
.btn:hover { background: var(--c-primary-dark); }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }
.lang-switch {
  display: inline-flex; gap: 4px; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--c-muted);
}
.lang-switch button {
  padding: 4px 8px; color: var(--c-muted);
  border-radius: 3px; transition: color 0.2s;
  font-size: 13px; font-weight: 500;
}
.lang-switch button.active { color: var(--c-primary); font-weight: 600; }
.lang-switch button:hover { color: var(--c-primary); }
.lang-switch .sep { color: var(--c-light); }

.burger { display: none; padding: 8px; }
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--c-primary); margin: 5px 0;
  transition: 0.3s;
}

/* ============ HERO ============ */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  background:
    linear-gradient(rgba(24,64,105,0.55), rgba(24,64,105,0.7)),
    url('https://assets.rutahnr.com/2023/08/DJI_0640-1-1536x639.png') center/cover no-repeat;
  color: var(--c-white);
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.hero h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
}
.hero-form {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 32px;
}
.hero-form h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500;
  margin-bottom: 16px;
  color: var(--c-white);
}
.form-row { display: flex; flex-direction: column; gap: 12px; }
.form-row input {
  padding: 14px 16px;
  background: rgba(255,255,255,0.95);
  color: var(--c-text);
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}
.form-row input:focus { outline: 2px solid var(--c-accent); }
.form-row button { width: 100%; padding: 15px; }
.form-thanks {
  display: none;
  padding: 14px 16px; background: rgba(112, 198, 169, 0.15);
  border: 1px solid #46b27f; border-radius: 4px;
  color: #b9f6d4; font-size: 14px;
}
.form-thanks.show { display: block; }

/* ============ ABOUT ============ */
.section-h {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  color: var(--c-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--c-text);
  max-width: 820px;
  margin-bottom: 48px;
  line-height: 1.65;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(24,64,105,0.1);
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label {
  font-size: 14px; text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

/* ============ HOTELS ============ */
.hotels { background: var(--c-bg); }
.hotels-grid {
  display: grid; gap: 48px;
  margin-top: 48px;
}
.hotel-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--c-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(24,64,105,0.08);
}
.hotel-card-img {
  height: 100%; min-height: 360px;
  background-size: cover; background-position: center;
}
.hotel-card-body { padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0; }
.hotel-card:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.hotel-card:nth-child(even) .hotel-card-img { order: 2; }
.hotel-card:nth-child(even) .hotel-card-body { padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); order: 1; }
.hotel-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--c-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}
.hotel-card ul {
  margin-bottom: 32px;
}
.hotel-card ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid rgba(24,64,105,0.06);
}
.hotel-card ul li:last-child { border-bottom: none; }
.hotel-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}

/* ============ HOTEL GALLERIES ============ */
.about-photo {
  margin-top: 56px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(24,64,105,0.12);
}
.about-photo img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: -16px;
  margin-bottom: 12px;
}
.hotel-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(24,64,105,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hotel-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(24,64,105,0.18);
}
.hotel-gallery-4 { grid-template-columns: repeat(4, 1fr); }
.hotel-gallery-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .hotel-gallery,
  .hotel-gallery-3,
  .hotel-gallery-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hotel-gallery,
  .hotel-gallery-3,
  .hotel-gallery-4 { grid-template-columns: 1fr; gap: 10px; }
  .hotel-gallery img { aspect-ratio: 3/2; }
}

/* ============ STEPS ============ */
.steps-section { background: var(--c-primary); color: var(--c-white); }
.steps-section .section-h { color: var(--c-white); }
.steps-section .section-sub { color: rgba(255,255,255,0.85); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  margin: 48px 0;
}
.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 28px 24px;
  transition: background 0.2s, transform 0.2s;
}
.step-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 48px;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}
.steps-form {
  max-width: 540px; margin: 48px auto 0;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.steps-form input {
  flex: 1; min-width: 220px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.95);
  color: var(--c-text);
  border: none; border-radius: 4px;
  font-size: 14px;
}
.steps-form .btn { background: var(--c-accent); }
.steps-form .btn:hover { background: var(--c-primary-dark); }

/* ============ PAIN / SOLUTION ============ */
.pain-section {
  background:
    linear-gradient(rgba(24,64,105,0.78), rgba(24,64,105,0.85)),
    url('https://assets.rutahnr.com/2023/08/Z06_3473-5.png') center/cover no-repeat;
  color: var(--c-white);
  text-align: center;
}
.pain-section .section-h { color: var(--c-white); max-width: 880px; margin-left: auto; margin-right: auto; }
.pain-section h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  margin-top: 32px;
  color: var(--c-accent);
}
.pain-section p { font-size: 18px; max-width: 720px; margin: 16px auto 0; }

/* ============ VALUES ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  margin-top: 48px;
}
.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--c-bg);
  border-radius: 8px;
  border: 1px solid rgba(24,64,105,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(24,64,105,0.12);
}
.value-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: var(--c-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; color: var(--c-white); }
.value-card h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--c-primary);
  line-height: 1.3;
}

/* ============ AUDIT ============ */
.audit { background: var(--c-bg); }
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: 48px;
}
.audit-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
}
.audit-features { margin: 24px 0 32px; }
.audit-features li {
  padding: 12px 0 12px 36px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid rgba(24,64,105,0.08);
}
.audit-features li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 24px; height: 24px;
  background: var(--c-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
  background-size: 16px; background-position: center; background-repeat: no-repeat;
}
.audit-price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 72px);
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.audit-donate {
  font-size: 14px;
  color: var(--c-muted);
  font-style: italic;
  margin-bottom: 28px;
}
.audit-form {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.audit-form input {
  flex: 1; min-width: 240px;
  padding: 14px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-light);
  border-radius: 4px;
  font-size: 14px;
  color: var(--c-text);
}

/* ============ CONTACTS ============ */
.contacts { background: var(--c-primary); color: var(--c-white); }
.contacts .section-h { color: var(--c-white); }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  margin-top: 48px;
}
.contacts-item {
  padding: 32px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}
.contacts-item .label {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.contacts-item .value {
  font-size: 16px;
  word-break: break-word;
}
.contacts-item a { transition: color 0.2s; }
.contacts-item a:hover { color: var(--c-accent); }

/* ============ FINAL FORM ============ */
.final-form-section {
  text-align: center;
  background: var(--c-bg);
}
.final-form {
  max-width: 540px; margin: 32px auto 0;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.final-form input {
  flex: 1; min-width: 240px;
  padding: 14px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-light);
  border-radius: 4px;
  font-size: 14px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
}
.footer a { color: var(--c-accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hotel-card, .hotel-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .hotel-card:nth-child(even) .hotel-card-img,
  .hotel-card-img { min-height: 240px; order: 0; }
  .hotel-card-body,
  .hotel-card:nth-child(even) .hotel-card-body {
    padding: 24px;
    order: 0;
  }
  .audit-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .images-strip { grid-template-columns: 1fr; }
  .header-cta .header-phone,
  .header-cta > .btn { display: none; }
  .header-cta { gap: 12px; }
  .header-inner { padding: 14px var(--pad); gap: 8px; }
  .logo { font-size: 20px; }
  .logo-sub { font-size: 8px; }
  section { padding: 56px 0; }
  .hero { min-height: auto; padding: 80px 0 56px; }
  .hero h1 { font-size: 44px; line-height: 1.1; }
  .hero h2 { font-size: 18px; margin-bottom: 24px; }
  .hero-form { padding: 24px; }
}

/* ============ MOBILE NAV DRAWER ============ */
.nav-drawer {
  display: none;
  position: fixed; top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--c-white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  padding: 80px 32px 32px;
  transition: right 0.3s;
  z-index: 99;
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  display: block; padding: 14px 0;
  font-size: 16px; font-weight: 500;
  color: var(--c-text);
  border-bottom: 1px solid rgba(24,64,105,0.08);
}
@media (max-width: 1024px) {
  .nav-drawer { display: block; }
}

/* Content always visible (no entry animation) */
.fade-in { opacity: 1; transform: none; }
