:root {
  --c-bg: #f5f8fb;
  --c-surface: #ffffff;
  --c-ink: #10243b;
  --c-muted: #5f7187;
  --c-primary: #0b5d7a;
  --c-primary-2: #127fa1;
  --c-accent: #f3b64c;
  --c-accent-2: #e68a3a;
  --c-border: #dbe6ef;
  --c-footer: #0b1e33;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 35px rgba(9, 40, 70, 0.09);
  --shadow-card: 0 16px 42px rgba(8, 33, 62, 0.12);
  --container: 1200px;
  --header-h: 76px;
  --t: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", "Verdana", sans-serif;
  background: radial-gradient(circle at 10% -20%, #e7f5fb 0%, #f5f8fb 42%, #f2f7fb 100%);
  color: var(--c-ink);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-header h2 {
  font-size: clamp(1.58rem, 3vw, 2.22rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--c-muted);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 88, 120, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(16, 88, 120, 0.34);
}

.btn-ghost {
  color: var(--c-primary);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 94, 122, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(196, 217, 232, 0.5);
  transition: box-shadow var(--t), background var(--t);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(12, 43, 73, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(1.05rem, 2.3vw, 1.38rem);
  color: #123b57;
}

.logo-text .material-icons-outlined {
  font-size: 24px;
  color: var(--c-primary-2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-size: 0.95rem;
  color: #20405b;
  font-weight: 700;
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary-2));
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hamburger {
  display: none;
  width: 46px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: #193b56;
  border-radius: 3px;
  transition: transform var(--t), opacity var(--t);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 8px 20px 14px;
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  color: #1f425f;
  border-bottom: 1px solid #edf3f8;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Replace this image path if you update hero image */
  background: linear-gradient(rgba(7, 26, 46, 0.62), rgba(7, 26, 46, 0.62)), url("/img/ibiza.webp") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(243, 182, 76, 0.38) 0%, rgba(243, 182, 76, 0) 70%);
}

.hero > .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  color: #fff;
  padding: 10px 8px 0 0;
}

.hero-widget iframe {
  border-radius: 10px;
}

@media (min-width: 768px) {
  .hero-copy {
    margin-top: 60px;
  }
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3.9vw, 3rem);
  line-height: 1.1;
}

.hero-copy p {
  margin: 16px 0 18px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.88rem;
}

.hero-widget {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-height: 418px;
}

.hero-widget h2 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #173b57;
}

#dch {
  min-height: 370px;
  width: 100%;
}

.steps-section,
.benefits-section,
.why-section,
.prices-section,
.reviews-section,
.traffic-section,
.cars-section,
.faq-section {
  padding: 76px 0;
}

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

.step-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.step-index {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
}

.step-icon {
  color: var(--c-accent-2);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
  display: flex;
  gap: 9px;
  align-items: center;
}

.step-card p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.95rem;
}

.benefits-section {
  background: linear-gradient(180deg, #f2f8fc 0%, #edf5fb 100%);
  border-top: 1px solid #e2edf7;
  border-bottom: 1px solid #e2edf7;
}

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

.benefit-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
}

.benefit-card .material-icons-outlined {
  font-size: 34px;
  color: var(--c-primary-2);
  margin-bottom: 10px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.benefit-card p {
  margin: 0;
  color: var(--c-muted);
}

.why-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.why-text {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}

.why-text h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.why-text p {
  margin: 0 0 12px;
  color: #2b475f;
}

.why-points {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.why-point {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.why-point .material-icons-outlined {
  font-size: 24px;
  color: var(--c-primary-2);
  margin-top: 2px;
}

.prices-top {
  max-width: 860px;
  margin: 0 auto 18px;
  color: #385470;
  text-align: center;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.price-card .material-icons-outlined {
  font-size: 30px;
  color: var(--c-accent-2);
}

.price-card h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.price-amount {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-primary);
}

.price-note {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.86rem;
}

.tips-list {
  background: linear-gradient(135deg, rgba(11, 93, 122, 0.08), rgba(243, 182, 76, 0.15));
  border: 1px solid rgba(14, 100, 130, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 22px;
}

.tips-list h3 {
  margin-top: 0;
}

.tips-list ul {
  margin: 0;
  padding-left: 20px;
  color: #2e4b66;
}

.tips-list li + li {
  margin-top: 8px;
}

.table-wrap {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: auto;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.price-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf3f8;
  text-align: left;
  font-size: 0.92rem;
}

.price-table th {
  background: #f4f8fc;
  color: #2a4862;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
}

.rating-box,
.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.rating-box {
  padding: 18px;
}

.rating-score {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}

.rating-stars {
  color: #f3b64c;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin: 8px 0 6px;
}

.rating-box small {
  color: var(--c-muted);
}

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

.review-card {
  padding: 16px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.review-name {
  margin: 0;
  font-size: 1rem;
}

.review-city {
  color: var(--c-muted);
  font-size: 0.86rem;
}

.review-stars {
  margin: 0;
  color: #f3b64c;
  letter-spacing: 1px;
}

.review-card p {
  margin: 8px 0 0;
  color: #32506a;
}

.traffic-main {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}

.traffic-main h3 {
  margin-top: 0;
}

.traffic-main ul {
  margin: 0;
  padding-left: 20px;
  color: #2f4c67;
}

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

.traffic-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.traffic-card .material-icons-outlined {
  color: var(--c-primary-2);
  margin-bottom: 8px;
}

.traffic-card h3 {
  margin: 0 0 8px;
}

.traffic-card p {
  margin: 0;
  color: #33516c;
}

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

.car-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.car-top {
  position: relative;
  padding: 20px;
}

.car-tag,
.car-price {
  position: absolute;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.car-tag {
  left: 10px;
  background: rgba(19, 111, 140, 0.9);
}

.car-price {
  right: 10px;
  background: rgba(230, 138, 58, 0.94);
}

.car-top img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.car-body {
  padding: 16px;
}

.car-body h3 {
  margin: 0;
  font-size: 1.2rem;
}

.car-cat {
  color: var(--c-muted);
  margin: 3px 0 12px;
  font-size: 0.9rem;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.car-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #335169;
  font-size: 0.9rem;
}

.car-spec .material-icons-outlined {
  font-size: 18px;
  color: var(--c-primary-2);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  text-align: left;
  font-size: 1rem;
  color: #183a55;
  font-weight: 700;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-content p {
  margin: 0;
  padding: 0 16px 15px;
  color: #315069;
}

.faq-item.open .faq-content {
  max-height: 220px;
}

.site-footer {
  background: linear-gradient(180deg, #0d2239 0%, #0a1a2c 100%);
  color: #f0f6fb;
  margin-top: 52px;
}

.footer-top {
  padding: 42px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


.links-grid h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
}

.links-grid .footer-links-grid {
  margin: 40px 0px 60px 0px;
}

.links-grid .footer-links-grid ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px 20px;
  list-style: none;
}

.links-grid .footer-links-grid ul li a {
  color: #FFFFFF;;
}

.links-grid .footer-links-grid ul li:hover a {
  color: var(--c-accent);
}

.footer-main {
  padding: 28px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 18px;
}

.footer-brand img {
  margin-bottom: 10px;
}

.footer-brand .logo-text {
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-brand .logo-text .material-icons-outlined {
  color: #f3b64c;
}

.footer-brand p {
  margin: 0;
  color: rgba(240, 246, 251, 0.7);
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col li a,
.footer-contact-item {
  color: rgba(240, 246, 251, 0.75);
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-seo {
  margin-top: 20px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(236, 246, 255, 0.86);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: rgba(240, 246, 251, 0.72);
  font-size: 0.87rem;
}

.footer-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-nav a {
  color: rgba(246, 251, 255, 0.82);
  font-size: 0.9rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 33, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 80;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  width: min(900px, 100%);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 65px rgba(4, 14, 24, 0.38);
  max-height: 90vh;
  overflow: auto;
}

.modal-head {
  padding: 16px;
  border-bottom: 1px solid #eaf0f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-head h2 {
  margin: 0;
  font-size: 1.12rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-body {
  padding: 16px;
}

#modal-dch {
  min-height: 370px;
  width: 100%;
}

.inner-page {
  padding: 56px 0 72px;
}

.inner-hero {
  background: linear-gradient(135deg, #0c5873, #127fa1);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
}

.inner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.inner-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.inner-card h2,
.inner-card h3 {
  margin-top: 0;
}

.contact-map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-md);
}

@media (max-width: 1080px) {
  .hero > .container,
  .why-layout,
  .reviews-layout,
  .footer-grid,
  .inner-grid {
    grid-template-columns: 1fr;
  }

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

  .grid-3,
  .price-cards,
  .traffic-grid,
  .car-grid,
  .footer-links-wide ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-nav {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .mobile-nav.open {
    display: block;
  }

  .site-logo img,
  .footer-brand img {
    width: 212px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero {
    padding: 30px 0 34px;
  }

  .hero-widget {
    padding: 12px;
  }

  #dch,
  #modal-dch {
    min-height: 340px;
  }

  .steps-section,
  .benefits-section,
  .why-section,
  .prices-section,
  .reviews-section,
  .traffic-section,
  .cars-section,
  .faq-section {
    padding: 54px 0;
  }

  .steps-grid,
  .grid-3,
  .price-cards,
  .traffic-grid,
  .car-grid,
  .footer-links-wide ul {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-points {
    display: grid;
    grid-template-columns: 2fr;
  }

  .links-grid .footer-links-grid ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 30px;
  }

  .links-grid .footer-links-grid {
    margin: 20px 0px 20px 0px;
  }
}

.why-rent-img {
  width: 500px;
  height: auto;
  border-radius: var(--radius-md);

}