﻿/*
Theme Name: Rydo Japan
Theme URI: https://rydojapan.com
Author: Rydo Japan
Description: Premium multilingual airport transfer and private chauffeur WordPress theme for Rydo Japan.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: rydo-japan
*/

:root {
  --navy: #07182e;
  --blue: #075bea;
  --sky: #0aaee8;
  --orange: #ff6a00;
  --gold: #ffd200;
  --ink: #122033;
  --muted: #64748b;
  --line: #dbe3ee;
  --soft: #f5f8fc;
  --paper: #ffffff;
  --shadow: 0 22px 58px rgba(9, 32, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

input,
select,
textarea,
button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 227, 238, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner,
.section,
.footer-inner {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-inner > * {
  min-width: 0;
}

.brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.brand span {
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-trigger {
  border: 0;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
}

.nav-trigger:hover,
.nav-item:focus-within .nav-trigger,
.nav-item:hover .nav-trigger {
  color: var(--blue);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 50;
  display: none;
  width: 300px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-menu a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.35;
}

.nav-menu a:hover {
  background: var(--soft);
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  display: block;
}

.header-cta,
.button,
.booking-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}

.header-cta {
  padding: 0 18px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 106, 0, 0.24);
}

.language-select {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #26354a;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 900;
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 76px);
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 24, 46, 0.86), rgba(7, 24, 46, 0.58) 48%, rgba(7, 24, 46, 0.14)),
    linear-gradient(0deg, rgba(7, 24, 46, 0.46), rgba(7, 24, 46, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  padding: 0 26px;
}

.button-primary {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff;
}

.button-dark {
  background: var(--navy);
  color: #fff;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 48px;
}

.hero-panel div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.hero-panel strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding: 82px 0;
}

.section-kicker {
  color: var(--orange);
}

.section-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.section-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.service-grid,
.area-grid,
.vehicle-grid,
.price-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.process-grid,
.policy-grid,
.faq-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

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

.area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.vehicle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.card,
.area-card,
.vehicle-card,
.price-card,
.process-card,
.policy-card,
.faq-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 32, 64, 0.06);
}

.card,
.area-card,
.price-card,
.process-card,
.policy-card,
.faq-card {
  padding: 26px;
}

.card {
  min-height: 250px;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 91, 234, 0.12), rgba(10, 174, 232, 0.16));
  color: var(--blue);
  font-size: 1.35rem;
}

.card h3,
.area-card h3,
.vehicle-card h3,
.price-card h3,
.process-card h3,
.policy-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.card p,
.area-card p,
.vehicle-card p,
.price-card p,
.process-card p,
.policy-card p,
.feature-list,
.contact-list {
  color: var(--muted);
  line-height: 1.72;
}

.card p,
.area-card p,
.vehicle-card p,
.price-card p,
.process-card p,
.policy-card p {
  margin: 12px 0 0;
}

.process-step {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff;
  font-weight: 900;
}

.policy-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.faq-card {
  overflow: hidden;
}

.faq-card summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.45;
}

.faq-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1140px) / 2));
  padding-left: max(16px, calc((100vw - 1140px) / 2));
  background: linear-gradient(135deg, rgba(7, 91, 234, 0.95), rgba(7, 24, 46, 0.98));
  color: #fff;
}

.band .section-kicker {
  color: var(--gold);
}

.band .section-lead {
  color: rgba(255, 255, 255, 0.76);
}

.area-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.area-card p {
  color: rgba(255, 255, 255, 0.74);
}

.vehicle-card {
  overflow: hidden;
}

.vehicle-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: pointer;
}

.vehicle-card img:hover {
  filter: brightness(0.94);
}

.vehicle-body {
  padding: 26px;
}

.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: #334155;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(7, 24, 46, 0.96), rgba(7, 91, 234, 0.9)),
    var(--navy);
  color: #fff;
}

.page-hero .section {
  padding-top: 76px;
  padding-bottom: 72px;
}

.page-hero .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.price {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}

.price-stack {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.price-original {
  color: #8a98aa;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-current {
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}

.price-badge {
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.12);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.booking-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.form-card {
  padding: 26px;
  box-shadow: var(--shadow);
}

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

.booking-form label {
  display: grid;
  gap: 8px;
  color: #26354a;
  font-size: 0.9rem;
  font-weight: 900;
  min-width: 0;
}

.booking-form .full {
  grid-column: 1 / -1;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
}

.booking-form input,
.booking-form select {
  height: 48px;
  padding: 0 14px;
}

.booking-form textarea {
  min-height: 124px;
  padding: 14px;
  resize: vertical;
}

.booking-form button {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff;
  cursor: pointer;
}

.feature-list,
.contact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.contact-list li {
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.price-estimate {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid rgba(7, 91, 234, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 91, 234, 0.08), rgba(10, 174, 232, 0.1));
}

.price-estimate span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.price-estimate strong {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.price-estimate .price-stack {
  margin-top: 10px;
}

.price-estimate .price-original {
  font-size: 1rem;
}

.price-estimate .price-current {
  font-size: 2rem;
  line-height: 1;
}

.qr-card {
  width: min(280px, 100%);
  margin-top: 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 32, 64, 0.06);
}

.qr-card img {
  width: 100%;
  border-radius: 8px;
}

.qr-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
}

.qr-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.vehicle-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 24, 46, 0.72);
}

.vehicle-modal.is-open {
  display: flex;
}

.vehicle-modal-panel {
  width: min(980px, 100%);
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.vehicle-modal img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.vehicle-modal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 900;
}

.vehicle-modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.order-feed {
  position: fixed;
  z-index: 40;
  right: 18px;
  top: 46%;
  display: grid;
  width: min(300px, calc(100vw - 36px));
  gap: 10px;
  pointer-events: none;
}

.order-feed-item {
  transform: translateX(20px);
  opacity: 0;
  padding: 12px 14px;
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(9, 32, 64, 0.16);
  color: #26354a;
  font-size: 0.9rem;
  font-weight: 800;
  transition: opacity 0.35s ease, transform 0.35s ease;
  backdrop-filter: blur(14px);
}

.order-feed-item.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.order-feed-item strong {
  color: var(--blue);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.quick-contact a,
.quick-wechat {
  display: flex;
  min-width: 136px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(9, 32, 64, 0.18);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 900;
}

.quick-whatsapp {
  background: #18a85f;
}

.quick-wechat {
  position: relative;
  background: #07c160;
}

.quick-wechat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: none;
  width: 210px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  text-align: center;
}

.quick-wechat:hover .quick-wechat-panel,
.quick-wechat:focus-within .quick-wechat-panel {
  display: block;
}

.quick-wechat-panel img {
  width: 100%;
  border-radius: 8px;
}

.quick-wechat-panel strong,
.quick-wechat-panel span {
  display: block;
}

.quick-wechat-panel strong {
  margin-top: 10px;
}

.quick-wechat-panel span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  body {
    padding-bottom: 76px;
  }

  .header-inner {
    flex-wrap: wrap;
    min-height: 70px;
    gap: 10px 12px;
    padding: 10px 0 8px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .header-cta {
    order: 4;
    flex: 1 1 100%;
  }

  .nav {
    order: 5;
    display: flex;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 0 2px;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 8px 2px;
  }

  .nav-item {
    flex: 0 0 auto;
    align-items: flex-start;
  }

  .nav-trigger {
    display: none;
  }

  .nav-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 8px 2px;
  }

  .language-select {
    flex: 0 0 auto;
    max-width: 112px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 4.8rem);
    line-height: 1;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 24, 46, 0.84), rgba(7, 24, 46, 0.5) 58%, rgba(7, 24, 46, 0.42)),
      linear-gradient(90deg, rgba(7, 24, 46, 0.56), rgba(7, 24, 46, 0.12));
  }

  .intro-grid,
  .booking-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-grid,
  .area-grid,
  .vehicle-grid,
  .price-grid,
  .process-grid,
  .policy-grid,
  .faq-grid,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .quick-contact {
    right: 12px;
    bottom: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100vw - 24px);
  }

  .quick-contact a,
  .quick-wechat {
    min-width: 0;
    min-height: 44px;
    font-size: 0.84rem;
  }

  .quick-wechat-panel {
    right: 0;
    width: min(210px, calc(100vw - 24px));
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 76px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .brand {
    max-width: calc(100% - 106px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .language-select {
    height: 38px;
    max-width: 92px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .hero-content,
  .section,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .section {
    padding: 58px 0;
  }

  .hero-content {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
    line-height: 1.04;
  }

  .section-title {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero-actions,
  .contact-buttons,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .header-cta {
    text-align: center;
  }

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

  .order-feed {
    right: 12px;
    bottom: 72px;
    top: auto;
    width: calc(100vw - 24px);
  }

  .form-card,
  .card,
  .area-card,
  .process-card,
  .policy-card,
  .faq-card,
  .vehicle-body,
  .price-card {
    padding: 22px;
  }

}

