:root {
  --gmh-primary: #1769e0;
  --gmh-primary-dark: #0f4fae;
  --gmh-secondary: #0b1739;
  --gmh-accent: #0ea5e9;
  --gmh-success: #087b5b;
  --gmh-warning: #b76308;
  --gmh-error: #b42318;
  --gmh-background: #f6f8fc;
  --gmh-surface: #fff;
  --gmh-card: #fff;
  --gmh-border: #dfe6f0;
  --gmh-text: #152238;
  --gmh-muted: #637089;
  --gmh-radius-sm: 8px;
  --gmh-radius: 12px;
  --gmh-radius-lg: 18px;
  --gmh-shadow: 0 10px 30px rgba(15, 35, 70, 0.08);
  --gmh-space-1: 4px;
  --gmh-space-2: 8px;
  --gmh-space-3: 12px;
  --gmh-space-4: 16px;
  --gmh-space-5: 24px;
  --gmh-space-6: 32px;
  --gmh-container: 1180px;
  --gmh-header-height: 74px;
  --gmh-font: Inter, "Segoe UI", Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--gmh-font);
  color: var(--gmh-text);
  line-height: 1.55;
}
h1,
h2,
h3,
h4 {
  font-family: var(--gmh-font);
  color: var(--gmh-text);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
h3 {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
}
p {
  line-height: 1.65;
}
small {
  line-height: 1.45;
}
button,
input,
select,
textarea {
  font: inherit;
}
a,
button,
input,
select,
textarea,
[tabindex]:not([tabindex="-1"]) {
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.3);
}
.gmh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: var(--gmh-radius-sm);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.gmh-btn-primary {
  background: var(--gmh-primary);
  color: #fff;
}
.gmh-btn-primary:hover {
  background: var(--gmh-primary-dark);
}
.gmh-btn-secondary {
  background: var(--gmh-secondary);
  color: #fff;
}
.gmh-btn-outline {
  background: #fff;
  border-color: var(--gmh-border);
  color: var(--gmh-primary);
}
.gmh-btn-text {
  background: transparent;
  color: var(--gmh-primary);
}
.gmh-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.gmh-btn[data-loading="true"] {
  pointer-events: none;
}
.gmh-field {
  display: grid;
  gap: 6px;
}
.gmh-field label {
  font-size: 0.8rem;
  font-weight: 800;
}
.gmh-required {
  color: var(--gmh-error);
}
.gmh-field input,
.gmh-field select,
.gmh-field textarea {
  width: 100%;
  border: 1px solid var(--gmh-border);
  border-radius: var(--gmh-radius-sm);
  background: #fff;
  color: var(--gmh-text);
  padding: 11px 12px;
}
.gmh-field input[aria-invalid="true"] {
  border-color: var(--gmh-error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}
.gmh-field-error {
  min-height: 16px;
  color: var(--gmh-error);
  font-size: 0.72rem;
}
.gmh-help {
  color: var(--gmh-muted);
  font-size: 0.72rem;
}
.gmh-breadcrumb {
  width: min(var(--gmh-container), calc(100% - 32px));
  margin: 18px auto;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--gmh-muted);
  font-size: 0.78rem;
}
.gmh-breadcrumb a {
  color: var(--gmh-primary);
  text-decoration: none;
}
.gmh-breadcrumb span + span:before {
  content: "/";
  margin-right: 8px;
  color: #9aa6b8;
}
.breadcrumb,
.Smartphone-breadcrumb,
.Android-breadcrumb,
.iphone-breadcrumb,
.laptop-breadcrumb,
.tablet-breadcrumb,
.rent-breadcrumb {
  width: min(var(--gmh-container), calc(100% - 32px));
  margin: 16px auto !important;
  padding: 0 !important;
  min-height: auto !important;
  color: var(--gmh-muted) !important;
  font-size: 0.78rem !important;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a,
.Smartphone-breadcrumb a,
.Android-breadcrumb a,
.iphone-breadcrumb a,
.laptop-breadcrumb a,
.tablet-breadcrumb a,
.rent-breadcrumb a {
  color: var(--gmh-primary) !important;
  text-decoration: none;
}
.hero {
  min-height: auto !important;
  padding: 20px max(3%, calc((50vw - var(--gmh-container)) / 2)) !important;
}
.hero-content h1 {
  font-size: clamp(2.15rem, 4.5vw, 2.8rem) !important;
}
.corporate-buyback,
.why-gmh,
.testimonial-section,
.faq-section {
  padding-top: 54px !important;
  padding-bottom: 54px !important;
}
.footer {
  padding-top: 42px !important;
}
.footer-container {
  padding-top: 0 !important;
  padding-bottom: 28px !important;
}
.footer-bottom {
  padding: 14px 20px !important;
}
.section-title {
  margin-bottom: 24px !important;
}
.card,
.step-card {
  padding: 20px !important;
}
.gmh-account-menu {
  position: relative;
}
.gmh-account-trigger {
  border: 0;
  background: var(--gmh-primary);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}
.gmh-account-popover {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: 230px;
  background: #fff;
  border: 1px solid var(--gmh-border);
  border-radius: 12px;
  box-shadow: var(--gmh-shadow);
  padding: 7px;
  z-index: 120;
}
.gmh-account-menu.open .gmh-account-popover {
  display: grid;
}
.gmh-account-popover a,
.gmh-account-popover button {
  display: flex;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 7px;
  color: var(--gmh-text);
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.gmh-account-popover a:hover,
.gmh-account-popover button:hover {
  background: #eef5ff;
  color: var(--gmh-primary);
}
@media (min-width: 769px) {
  .gmh-account-menu:hover .gmh-account-popover,
  .gmh-account-menu:focus-within .gmh-account-popover {
    display: grid;
  }
}
@media (max-width: 768px) {
  .gmh-account-menu {
    width: 100%;
  }
  .gmh-account-trigger {
    width: 100%;
    text-align: left;
  }
  .gmh-account-popover {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 5px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 16px !important;
  }
  .corporate-buyback,
  .why-gmh,
  .testimonial-section,
  .faq-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .breadcrumb,
  .Smartphone-breadcrumb,
  .Android-breadcrumb,
  .iphone-breadcrumb,
  .laptop-breadcrumb,
  .tablet-breadcrumb,
  .rent-breadcrumb,
  .gmh-breadcrumb {
    width: calc(100% - 26px);
    margin: 13px auto !important;
  }
}

/* Consistent, viewport-safe modal behaviour and validation feedback. */
.account-modal-card,
.rental-modal-card,
.modal-content {
  max-height: min(88vh, 760px) !important;
  overflow: auto !important;
  border-radius: 14px !important;
}
.account-modal-close,
.rental-modal-close,
.modal-close {
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
}
.gmh-field input:invalid:not(:placeholder-shown),
.gmh-field select:invalid {
  border-color: var(--gmh-error);
}
.gmh-field-error:empty {
  display: none;
}

@media (max-width: 640px) {
  .account-modal,
  .rental-modal {
    padding: 10px !important;
  }
  .account-modal-card,
  .rental-modal-card,
  .modal-content {
    max-height: 92vh !important;
    border-radius: 12px !important;
  }
}
