/*
 Theme Name: Smart Gardet HUB Premium
 Theme URI: https://onlysmartdevices.com
 Author: Svetlana (with AI assistance)
 Description: Dark + gold premium theme for Smart Gardet HUB.
 Version: 1.0
 Text Domain: smartgardethub
*/

/* ================= BASE ================= */

:root {
  --bg-dark: #05070B;
  --bg-card: #101623;
  --accent-gold: #C9A56A;
  --accent-soft: #E1D3A0;
  --text-main: #F5F5F5;
  --text-muted: #A7A7B3;
  --border-soft: #1c2230;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.6);
  --max-width: 1120px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top left, #111725 0, #05070B 45%, #020308 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main.site-main { flex: 1; }

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 32px;
}

/* ================= HEADER & NAV ================= */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5,7,11,0.98), rgba(5,7,11,0.8), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* TOP NAV */

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #0d0f14;
  border-bottom: 1px solid rgba(212,193,138,0.15);
}

.nav-left { display: flex; align-items: center; gap: 18px; }

.brand-link { display:flex; align-items:center; gap:18px; text-decoration:none; }

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;

  background: radial-gradient(circle at 30% 25%, #f1e1b3 0%, #d4c18a 38%, #b89454 100%);
  border: 1px solid rgba(201,165,106,0.55);
  box-shadow: 0 0 18px rgba(201,165,106,0.35);

  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #05070B;
}

.brand-text-main {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f2e6c7;
  font-weight: 600;
}

.brand-text-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #b8a984;
  margin-top: 2px;
}

.nav-right { display:flex; align-items:center; }

.nav-lang {
  color: #d4c18a;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  gap: 6px;
}
.nav-lang a { color: #d4c18a; text-decoration: none; transition: 0.3s; }
.nav-lang a:hover { color: #f7e7b4; }
.nav-lang span { color: #b39c63; }

/* SECOND NAV (PAGES) */

.nav-pages-bar { background: transparent; border-bottom: none; }

/* ✅ FIXED: equal spacing + “button” look + nice mobile */
.nav-pages-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 40px;

  display: flex;
  align-items: center;
  justify-content: center; /* одинаковая геометрия и визуально красивый центр */
  flex-wrap: wrap;

  gap: 14px 22px; /* row-gap / column-gap */

  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  background: #0d0f14;
  border-bottom: 1px solid rgba(212,193,138,0.15);
}

.nav-pages-link { margin: 0 !important; display: flex; }
.nav-pages-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.22);
  background: rgba(11,15,24,0.45);

  color: #d4c18a;
  text-decoration: none;

  opacity: 0.90;
  transition: 0.25s ease;
  white-space: nowrap;
  line-height: 1.1;
}

.nav-pages-link a:hover {
  opacity: 1;
  text-decoration: none;
  background: rgba(201,165,106,0.10);
  border-color: rgba(201,165,106,0.40);
}

/* активный пункт (мы добавили .is-active в header.php) */
.nav-pages-link.is-active a{
  opacity: 1;
  border-color: rgba(201,165,106,0.55);
  background: rgba(201,165,106,0.14);
}

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

#hero {
  position: relative;
  border-radius: 32px;
  padding: 48px 32px;
  margin-top: 40px;

  background-image:
    linear-gradient(120deg, rgba(4, 6, 20, 0.85), rgba(4, 6, 20, 0.6)),
    radial-gradient(circle at top right, rgba(201,165,106,0.12), transparent 30%), radial-gradient(circle at bottom left, rgba(201,165,106,0.08), transparent 28%), linear-gradient(135deg, #0A1020 0%, #05070B 55%, #0B0F18 100%);

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.hero { display:grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr); gap:40px; align-items:center; }
.hero-left { display:flex; flex-direction:column; gap:24px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.35);
  background: rgba(11,15,24,0.9);
  font-size: 11px;
  color: var(--accent-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-cta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 20px; }

.hero-badges { display:flex; flex-wrap:wrap; gap:14px; margin-top:4px; }
.hero-badge { font-size: 11px; color: var(--text-muted); }

.hero-card {
  border-radius: 24px;
  background: rgba(9, 12, 30, 0.88);
  border: 1px solid rgba(225, 211, 160, 0.35);
  box-shadow: var(--shadow-soft);
  padding: 24px 24px 22px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.hero-card-tagline {
  font-size: 11px;
  color: var(--accent-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-card-title {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 10px;
}

.hero-card-list {
  font-size: 13px;
  color: var(--text-muted);
  display: grid;
  row-gap: 4px;
  margin-bottom: 14px;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--text-muted);
  gap: 10px;
  flex-wrap: wrap;
}

.hero-card-price span {
  color: var(--accent-gold);
  font-size: 15px;
  font-weight: 600;
}

/* ================= BUTTONS ================= */

.btn {
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.7);
  background: linear-gradient(135deg, #C9A56A, #E1D3A0);
  color: #05070B;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline {
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.6);
  background: transparent;
  color: var(--accent-gold);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline:hover { background: rgba(201,165,106,0.08); text-decoration: none; }

.wa-button {
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.7);
  background: rgba(37, 211, 102, 0.12);
  color: #E1FFD6;
  padding: 7px 14px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.wa-button span { font-size: 14px; }

/* ================= SECTIONS & CARDS ================= */

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 22px;
}

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

.card {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 18px 16px 16px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.5);
}

.card-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
  margin-bottom: 6px;
}

.card-title { font-size: 16px; font-weight: 500; margin-bottom: 8px; }

.card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.card-list { font-size: 13px; color: var(--text-muted); list-style: none; padding-left: 0; }
.card-list li { margin-bottom: 4px; }
.card-list li::before { content: "• "; color: var(--accent-gold); }

/* ================= WHY 7SKY ================= */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.list-check { font-size: 13px; color: var(--text-muted); list-style: none; padding-left: 0; }
.list-check li { margin-bottom: 6px; display:flex; gap:8px; }
.list-check li::before { content: "✓"; color: var(--accent-gold); margin-top: 1px; font-size: 11px; }

/* ================= PROCESS ================= */

.process { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap:16px; }

.step {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(201,165,106,0.4);
  padding: 14px 13px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(11,15,24,0.9);
}

.step-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 4px;
}

.step-title { font-weight: 500; margin-bottom: 4px; color: var(--text-main); }

/* ================= CONTACT ================= */

.contact-wrapper {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,165,106,0.5);
  background: radial-gradient(circle at top right, rgba(201,165,106,0.22) 0, #05070B 55%);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 22px;
}

.contact-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; max-width: 420px; }

.contact-channels { font-size: 13px; color: var(--text-muted); }
.contact-channels b { color: var(--accent-soft); }

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

.field-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5,7,11,0.92);
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
}

.field-textarea { border-radius: 12px; min-height: 80px; resize: vertical; }

.field-input::placeholder,
.field-textarea::placeholder { color: #666a77; }

/* ================= FOOTER ================= */

footer.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 20px 18px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  justify-content: flex-end;
}

.footer-legal a { color: #d4c18a; text-decoration: none; opacity: 0.9; }
.footer-legal a:hover { text-decoration: underline; opacity: 1; }
.footer-legal span { color: #b8a984; }

/* ================= LEGAL PAGES ================= */

.legal-page { max-width: 880px; margin: 0 auto; padding: 20px 0 60px; }

.legal-page p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text-main);
}

.legal-page h1.section-title { font-size: 32px; margin-bottom: 22px; text-transform: none; }

.legal-page h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
  font-family: "Playfair Display", serif;
  color: var(--accent-gold);
}

.legal-page ul.card-list { margin: 10px 0 24px; padding-left: 18px; }
.legal-page ul.card-list li { margin-bottom: 8px; font-size: 15px; line-height: 1.6; }

.legal-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(201,165,106,0.12), rgba(201,165,106,0.45), rgba(201,165,106,0.12));
  margin: 38px 0 28px;
  border: none;
}

.legal-page .section-subtitle { margin-bottom: 28px; line-height: 1.7; }

.legal-page a { color: var(--accent-gold); text-decoration: underline; }
.legal-page a:hover { opacity: 0.85; }

/* ================= FLIGHT TICKETS (FILTER/PAGINATION) ================= */

.tickets-filter { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }

.filter-pill {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.35);
  color: #d4c18a;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.filter-pill:hover { opacity: 1; text-decoration: none; background: rgba(201,165,106,0.10); }
.filter-pill.is-active { opacity: 1; background: rgba(201,165,106,0.16); border-color: rgba(201,165,106,0.60); }

.tickets-pagination { display:flex; gap:10px; flex-wrap:wrap; }
.tickets-pagination a,
.tickets-pagination span {
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(201,165,106,0.35);
  color:#d4c18a;
  text-decoration:none;
  font-size:12px;
}
.tickets-pagination a:hover { background: rgba(201,165,106,0.10); text-decoration:none; }
.tickets-pagination .current { background: rgba(201,165,106,0.14); border-color: rgba(201,165,106,0.55); }

/* ================= POST THUMB ================= */

.post-thumb{
  display:block;
  border-radius: 14px;
  overflow:hidden;
  margin: 10px 0 12px;
  border: 1px solid rgba(201,165,106,0.18);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}
.post-thumb img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}

/* ================= UNIQUE HERO IMAGE PER PAGE ================= */

/* HOME */
.home #hero{
  background-image:
    linear-gradient(120deg, rgba(4, 6, 20, 0.85), rgba(4, 6, 20, 0.6)),
    url(http://onlysmartdevices.com/wp-content/uploads/2026/04/modern-stationary-collection-arrangement-scaled.jpg);
  background-size: cover;
  background-position: center center;
}


/* Send Request (37) */
.page-id-37 #hero{
  background-image:
    linear-gradient(120deg, rgba(4, 6, 20, 0.85), rgba(4, 6, 20, 0.6)),
    radial-gradient(circle at top right, rgba(201,165,106,0.12), transparent 30%), radial-gradient(circle at bottom left, rgba(201,165,106,0.08), transparent 28%), linear-gradient(135deg, #0A1020 0%, #05070B 55%, #0B0F18 100%);
  background-size: cover;
  background-position: center center;
}

/* =========================================================
   LUXURY CARS PAGE — SHOW ONLY BLOG
   ========================================================= */

.page-id-31 .section { display: none; }
.page-id-31 #cars-blog { display: block; }
.page-id-31 section#cars-blog { display: block; }
.page-id-31 #cars-blog { margin-top: 0; }

/* ============================================================
   BOOKING-STYLE BLOCKS (Homepage)
   ============================================================ */

.booking-abovefold{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.booking-card{
  border-radius: 20px;
  background: rgba(9, 12, 30, 0.88);
  border: 1px solid rgba(225, 211, 160, 0.28);
  box-shadow: 0 16px 34px rgba(0,0,0,0.52);
  padding: 18px 18px 16px;
  backdrop-filter: blur(12px);
}

.booking-title{
  font-family: "Playfair Display", serif;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #f2e6c7;
}

.booking-card p{
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.booking-card p:last-child{ margin-bottom: 0; }

.booking-list{
  margin: 10px 0 10px;
  padding-left: 0;
  list-style: none;
  display: grid;
  row-gap: 6px;
}

.booking-list li{
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}

.booking-list li::before{
  content: "•";
  color: var(--accent-gold);
  margin-top: -1px;
}

.booking-note{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(201,165,106,0.18);
  font-size: 12px;
  color: rgba(245,245,245,0.78);
}

/* ================= RESPONSIVE (GLOBAL) ================= */

@media (max-width: 960px) {
  .nav { padding: 16px 20px; }
  .nav-pages-inner { padding: 14px 16px; gap: 10px 12px; font-size: 11px; }

  #hero { padding: 32px 20px; border-radius: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-card { margin-top: 12px; }

  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .contact-wrapper { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .booking-abovefold{ grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .booking-card{ border-radius: 18px; padding: 16px 16px 14px; }
  .booking-title{ font-size: 17px; }
}

@media (max-width: 640px) {
  .section { padding: 32px 16px 26px; }

  /* ✅ MOBILE MENU: 2 buttons per row, ровные “кнопки” */
  .nav-pages-inner{
    justify-content: center;
    gap: 10px;
    padding: 12px 12px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .nav-pages-link{
    flex: 0 0 calc(50% - 10px); /* 2 в ряд */
  }

  .nav-pages-link a{
    width: 100%;
    padding: 11px 10px;
    min-height: 38px; /* одинаковая высота */
    border-radius: 999px;
    background: rgba(11,15,24,0.55);
    border-color: rgba(201,165,106,0.28);
    opacity: 0.95;
  }

  #hero { padding: 24px 18px; border-radius: 20px; margin-top: 24px; }
  .hero-subtitle { font-size: 14px; }
  .process { grid-template-columns: minmax(0, 1fr); }

  .brand-mark { width: 40px; height: 40px; font-size: 16px; }
  .brand-link { gap: 14px; }

  .booking-card p,
  .booking-list li{ font-size: 14px; }
}

/* Очень маленькие экраны — 1 кнопка в ряд */
@media (max-width: 360px) {
  .nav-pages-link{ flex: 0 0 100%; }
}

/* ================= MOBILE HERO FIX (HOME) ================= */
@media (max-width: 640px) {

  body.home #hero{
    background-image:
      linear-gradient(120deg, rgba(4, 6, 20, 0.92), rgba(4, 6, 20, 0.75)),
      url('https://7skyluxury.com/wp-content/uploads/2025/12/Website-image.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 26px 16px !important;
    margin-top: 16px !important;
    border-radius: 18px !important;
  }

  body.home #hero .hero-left{ gap: 14px !important; }

  body.home #hero .hero-tag{
    font-size: 10px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.12em !important;
  }

  body.home #hero .hero-title{
    font-size: 26px !important;
    line-height: 1.18 !important;
    margin: 0 !important;
  }

  body.home #hero .hero-subtitle{
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  body.home #hero .hero-cta{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  body.home #hero .hero-cta .btn,
  body.home #hero .hero-cta .btn-outline{
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 12px !important;
  }

  body.home #hero .booking-card{
    background: rgba(9, 12, 30, 0.96) !important;
    border: 1px solid rgba(225, 211, 160, 0.32) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,0.62) !important;
    padding: 18px 16px 16px !important;
  }

  body.home #hero .booking-title{
    font-size: 18px !important;
    line-height: 1.28 !important;
    margin-bottom: 10px !important;
  }

  body.home #hero .booking-card p{
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin-bottom: 12px !important;
  }

  body.home #hero .booking-list{
    row-gap: 8px !important;
    margin: 10px 0 12px !important;
  }

  body.home #hero .booking-list li{
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  body.home #hero .booking-note{
    font-size: 13px !important;
    line-height: 1.65 !important;
  }
}

/* =========================================================
   iOS SAFARI FIX: prevent text "merging"/overlapping
   ========================================================= */

/* 1) Disable Safari auto text resizing (main reason) */
html { -webkit-text-size-adjust: 100%; }
body { text-size-adjust: 100%; }

/* 2) Improve text rendering stability */
body {
  text-rendering: optimizeLegibility;
}

/* 3) Force safe line-height for the blocks that "merge" in Safari */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari only */

  /* If your homepage intro text is inside a card/section */
  #hero p,
  #hero li,
  .booking-card p,
  .booking-card li,
  .card-text,
  .legal-page p {
    line-height: 1.85 !important;
    letter-spacing: normal !important;
  }

  /* Headings */
  #hero h1,
  #hero h2,
  .hero-title {
    line-height: 1.18 !important;
  }

  /* Add spacing between paragraphs so Safari doesn't "compress" visually */
  #hero p { margin-bottom: 14px !important; }
  #hero p:last-child { margin-bottom: 0 !important; }

  /* Lists spacing */
  #hero ul, #hero ol { margin-top: 10px !important; }
  #hero li { margin-bottom: 8px !important; }
}


/* =========================================================
   FIX #1: iOS Safari readability (text "сливается" с фоном)
   Paste at the VERY END of style.css
   ========================================================= */

html { -webkit-text-size-adjust: 100%; }
body { text-size-adjust: 100%; }

@supports (-webkit-touch-callout: none) {
  /* iOS Safari only */

  /* 1) Усиливаем затемнение hero-картинки */
  body.home #hero{
    background-image:
      linear-gradient(120deg, rgba(4, 6, 20, 0.94), rgba(4, 6, 20, 0.78)),
      url('https://7skyluxury.com/wp-content/uploads/2026/01/openart-image_gG9a3drd_1768919975554_raw.jpg') !important;
  }

  /* 2) Карточки делаем почти непрозрачными + убираем blur,
        потому что blur в Safari ухудшает контраст */
  body.home .booking-card,
  body.home .hero-card{
    background: rgba(9, 12, 30, 0.98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* 3) Добавляем лёгкую тень буквам для контраста */
  body.home .booking-title,
  body.home .hero-title,
  body.home .booking-card p,
  body.home .booking-card li,
  body.home .booking-note,
  body.home .hero-subtitle{
    text-shadow: 0 1px 2px rgba(0,0,0,0.65) !important;
  }

  /* 4) Чуть больше воздуха, чтобы читалось “дорого” */
  body.home .booking-card p,
  body.home .booking-card li{
    line-height: 1.85 !important;
  }
}

/* =========================================================
   SAFARI FIX: center text vertically inside CTA buttons
   (Flights / Yachts / Send Request)
   ========================================================= */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 640px){

    /* Все CTA-кнопки в hero */
    body.home #hero .hero-cta > a,
    body.home #hero .hero-cta > button{
      display: flex !important;
      align-items: center !important;     /* вертикальный центр */
      justify-content: center !important; /* горизонтальный центр */

      line-height: normal !important;     /* 🔥 КЛЮЧЕВОЕ */
      padding-top: 0 !important;
      padding-bottom: 0 !important;

      height: 46px !important;            /* фиксированная высота */
    }

    /* Иногда Safari центрирует span внутри кнопки криво */
    body.home #hero .hero-cta > a span,
    body.home #hero .hero-cta > button span{
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      height: 100% !important;
      line-height: normal !important;
    }
  }
}

/* =========================================================
   MOBILE NAV FIX:
   YACHTS + SEND REQUEST on the same row
   ========================================================= */
@media (max-width: 640px){

  /* Меню = сетка 2 колонки */
  .nav-pages-inner{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 12px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
  }

  /* Каждая кнопка меню */
  .nav-pages-link{
    display: flex !important;
    width: 100% !important;
  }

  .nav-pages-link a{
    width: 100% !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 10px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    line-height: normal !important;
  }

  /* ===== КЛЮЧЕВОЕ ===== */

  /* YACHTS — левая кнопка последней строки */
  .nav-pages-link a[href*="/yachts/"]{
    grid-column: 1 / 2 !important;
  }

  /* SEND REQUEST — правая кнопка той же строки */
  .nav-pages-link a[href*="/send-request/"]{
    grid-column: 2 / 3 !important;
  }
}

/* 7SKY Luxury — About Page (Svetlana) */

.seven-hero{
  padding: 72px 16px;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(212,175,55,.18), transparent 55%),
              linear-gradient(180deg, #0b0b0f, #07070a);
  color: #fff;
}

.seven-hero__inner{
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 42px;
  align-items: center;
}

.seven-hero__photo{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  border: 1px solid rgba(212,175,55,.28);
}

.seven-hero__photo img{
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
}

.seven-hero__content h1{
  margin: 10px 0 12px;
  line-height: 1.08;
  font-size: clamp(30px, 3.2vw, 52px);
  letter-spacing: .2px;
}

.seven-kicker{
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(212,175,55,.92);
}

.seven-lead{
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,.86);
  max-width: 720px;
}

.seven-cta{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.seven-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(212,175,55,.55);
  background: rgba(212,175,55,.16);
  color: #fff;
  transition: transform .15s ease, background .15s ease;
}

.seven-btn:hover{
  transform: translateY(-1px);
  background: rgba(212,175,55,.22);
}

.seven-btn--ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
}

.seven-bullets{
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.seven-bullet{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
}

.seven-section{
  padding: 64px 16px;
  background: #07070a;
  color: #fff;
}

.seven-container{
  max-width: 1140px;
  margin: 0 auto;
}

.seven-section h2{
  font-size: clamp(22px, 2.2vw, 34px);
  margin: 0 0 12px;
}

.seven-section p{
  color: rgba(255,255,255,.84);
  line-height: 1.72;
  font-size: 16px;
  max-width: 920px;
}

.seven-cardgrid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.seven-card{
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,175,55,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.seven-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  color: rgba(212,175,55,.95);
}

.seven-final{
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.28);
}

.seven-links a{
  color: rgba(212,175,55,.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,.35);
}

.seven-links a:hover{
  border-bottom-color: rgba(212,175,55,.75);
}

/* Mobile */
@media (max-width: 920px){
  .seven-hero__inner{ grid-template-columns: 1fr; }
  .seven-hero{ padding: 48px 16px; }
  .seven-cardgrid{ grid-template-columns: 1fr; }
}

/* =========================================================
   ABOUT PAGE (seven-*) — premium dark + gold
   ========================================================= */

.seven-hero,
.seven-section{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 32px;
}

.seven-hero{
  margin-top: 22px;
}

.seven-hero__inner{
  border-radius: 28px;
  border: 1px solid rgba(225, 211, 160, 0.20);
  background:
    radial-gradient(circle at top left, rgba(201,165,106,0.14) 0%, rgba(9,12,30,0.92) 42%, rgba(5,7,11,0.98) 100%);
  box-shadow: 0 32px 80px rgba(0,0,0,0.65);
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
}

.seven-hero__photo{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(201,165,106,0.22);
  box-shadow: 0 18px 44px rgba(0,0,0,0.55);
  background: rgba(11,15,24,0.7);
}
.seven-hero__photo img{
  display:block;
  width:100%;
  height: 340px;
  object-fit: cover;
}

.seven-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.30);
  background: rgba(11,15,24,0.75);
  color: var(--accent-soft);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.seven-hero__content h1{
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.seven-lead{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 16px;
}

.seven-cta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin: 6px 0 14px;
}

/* Buttons */
.seven-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.65);
  background: linear-gradient(135deg, #C9A56A, #E1D3A0);
  color: #05070B;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration:none;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
}
.seven-btn:hover{ text-decoration:none; opacity: .95; }

.seven-btn--ghost{
  background: rgba(11,15,24,0.40);
  color: #d4c18a;
  border-color: rgba(201,165,106,0.38);
  box-shadow: none;
}
.seven-btn--ghost:hover{
  background: rgba(201,165,106,0.10);
}

/* Bullets */
.seven-bullets{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 12px;
  margin-top: 6px;
}
.seven-bullet{
  font-size: 12px;
  color: rgba(245,245,245,0.82);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,165,106,0.20);
  background: rgba(11,15,24,0.55);
}

/* Content section */
.seven-container{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(11,15,24,0.65);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.55);
}

.seven-container h2{
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin: 0 0 10px;
  color: #f2e6c7;
}

.seven-container p{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 16px;
}

.seven-cardgrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 10px;
}

.seven-card{
  border-radius: 18px;
  border: 1px solid rgba(201,165,106,0.18);
  background: rgba(9,12,30,0.72);
  padding: 16px 15px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.45);
}
.seven-card h3{
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--accent-soft);
}
.seven-card p{
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.seven-final{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,165,106,0.18);
}

.seven-links{
  margin-top: 10px;
  color: rgba(245,245,245,0.86);
  line-height: 1.9;
}
.seven-links a{
  color: var(--accent-gold);
  text-decoration: underline;
}
.seven-links a:hover{ opacity: .9; }

/* ================= Responsive ================= */
@media (max-width: 960px){
  .seven-hero__inner{
    grid-template-columns: minmax(0, 1fr);
  }
  .seven-hero__photo img{
    height: 320px;
  }
  .seven-cardgrid{
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px){
  .seven-hero, .seven-section{
    padding: 32px 16px 26px;
  }
  .seven-hero__inner{
    padding: 18px;
    border-radius: 20px;
  }
  .seven-hero__photo img{
    height: 280px;
  }
  .seven-cta{
    flex-direction: column;
    align-items: stretch;
  }
  .seven-btn, .seven-btn--ghost{
    width: 100%;
    min-height: 46px;
  }
}

/* =========================================================
   ABOUT PAGE – MOBILE PHOTO FIX
   ========================================================= */

/* Планшеты */
@media (max-width: 960px){
  .seven-hero__photo img{
    height: 280px !important;
    object-fit: cover;
    object-position: center top;
  }
}

/* Телефоны */
@media (max-width: 640px){

  .seven-hero__inner{
    grid-template-columns: 1fr !important;
  }

  .seven-hero__photo{
    max-width: 260px;           /* уменьшаем ширину */
    margin: 0 auto 18px;        /* центрируем */
    border-radius: 20px;
  }

  .seven-hero__photo img{
    height: 220px !important;   /* ключевая строка */
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .seven-hero__content h1{
    font-size: 24px !important;
    line-height: 1.2;
  }

  .seven-lead{
    font-size: 14px !important;
    line-height: 1.7;
  }
}

/* Очень маленькие телефоны */
@media (max-width: 400px){
  .seven-hero__photo img{
    height: 200px !important;
  }
}

/* =========================================================
   ABOUT PAGE – ROUND PHOTO ON MOBILE
   ========================================================= */

@media (max-width: 640px){

  .seven-hero__photo{
    max-width: 220px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(201,165,106,0.35);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  }

  .seven-hero__photo img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top; /* можно поменять на center center */
    border-radius: 50%;
  }

}

/* =========================================================
   ABOUT PAGE – PERFECT ROUND PHOTO (MOBILE FIX)
   ========================================================= */

@media (max-width: 640px){

  .seven-hero__photo{
    width: 220px !important;
    height: 220px !important;      /* ключевая строка */
    margin: 0 auto 20px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: block !important;
    border: 2px solid rgba(201,165,106,0.35);
    box-shadow: 0 14px 30px rgba(0,0,0,0.6);
  }

  .seven-hero__photo img{
    width: 100% !important;
    height: 100% !important;       /* теперь равна контейнеру */
    object-fit: cover !important;
    object-position: center top;   /* можно center center */
    border-radius: 50% !important;
    display: block !important;
  }

}

/* =========================================================
   ABOUT PAGE – PERFECT ROUND FOUNDER PHOTO (ALL DEVICES)
   ========================================================= */

/* Делаем контейнер квадратным */
.seven-hero__photo{
  width: 320px;
  height: 320px;            /* ширина = высоте */
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid rgba(201,165,106,0.35);
  box-shadow: 0 18px 45px rgba(0,0,0,0.6);
}

/* Фото заполняет круг */
.seven-hero__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* можно center center */
  border-radius: 50%;
  display: block;
}

/* Центрируем в grid */
.seven-hero__inner{
  align-items: center;
}

/* Планшеты */
@media (max-width: 960px){
  .seven-hero__photo{
    width: 260px;
    height: 260px;
  }
}

/* Телефоны */
@media (max-width: 640px){
  .seven-hero__photo{
    width: 220px;
    height: 220px;
    margin-bottom: 20px;
  }
}

.seven-community-list{
  margin: 18px 0 22px;
  display: grid;
  row-gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.seven-community-list p{
  margin: 0;
}

.seven-final h2{
  margin-bottom: 12px;
}

/* Bigger space before PRESS LINK BELOW */
.seven-final .seven-links{
  margin-top: 28px; /* можешь поставить 32px если хочешь больше воздуха */
}

.seven-final .seven-links{
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,165,106,0.18);
}
