/* ==========================================================================
   Delta Phone World — Noir & Gold
   Hand-written stylesheet for the PHP version (no build step, no CDN).
   Colours, radii, type scale and breakpoints match the original design
   tokens: sm = 640px, md = 768px, lg = 1024px.
   ========================================================================== */

:root {
  --radius: 0.625rem;
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  --background: oklch(0.155 0 0);
  --background-90: oklch(0.155 0 0 / 0.9);
  --foreground: oklch(0.96 0.006 88);
  --card: oklch(0.205 0 0);
  --card-40: oklch(0.205 0 0 / 0.4);
  --card-60: oklch(0.205 0 0 / 0.6);
  --primary: oklch(0.76 0.115 85);
  --primary-foreground: oklch(0.155 0 0);
  --secondary: oklch(0.27 0 0);
  --muted-foreground: oklch(0.7 0.012 88);
  --accent: oklch(0.88 0.09 88);
  --border: oklch(0.32 0 0);
  --hairline-gold: oklch(0.76 0.115 85 / 0.3);

  --gold-text: linear-gradient(
    100deg,
    oklch(0.72 0.1 78) 0%,
    oklch(0.92 0.1 92) 45%,
    oklch(0.68 0.09 70) 100%
  );
  --gold-bg: linear-gradient(
    120deg,
    oklch(0.72 0.1 78) 0%,
    oklch(0.9 0.1 90) 50%,
    oklch(0.76 0.115 85) 100%
  );

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Helpers
   -------------------------------------------------------------------------- */

.wrap {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-bg {
  background: var(--gold-bg);
}

.hairline-gold {
  border-color: var(--hairline-gold);
}

.surface-glow {
  box-shadow:
    0 0 0 1px oklch(0.76 0.115 85 / 0.25),
    0 20px 60px -20px oklch(0.76 0.115 85 / 0.18);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon--lg {
  width: 1.75rem;
  height: 1.75rem;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--muted-foreground);
}

.link-underline:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.btn .icon {
  width: 1rem;
  height: 1rem;
}

.btn--gold {
  background: var(--gold-bg);
  color: var(--primary-foreground);
}

.btn--gold:hover {
  opacity: 0.9;
}

.btn--outline {
  border-color: var(--hairline-gold);
  background-color: transparent;
  color: var(--accent);
}

.btn--outline:hover {
  background-color: var(--secondary);
}

/* px-6 py-3 */
.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* px-4 py-2 text-sm, rounded-md */
.btn--md {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

/* px-4 py-2.5 text-sm */
.btn--sm {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

/* px-5 py-2.5 text-sm */
.btn--sm-wide {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* icon-only */
.btn--icon {
  padding: 0.625rem 0.75rem;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--gold-bg);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--primary-foreground);
}

.topbar__inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  row-gap: 0.25rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.topbar a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .topbar {
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hairline-gold);
  background: var(--background-90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin-inline: auto;
  padding: 0.75rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  color: var(--primary-foreground);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.025em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.site-nav a {
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* "Call" pill is hidden on phones, WhatsApp pill only shows there */
.btn--call {
  display: none;
}

.btn--wa-mobile {
  display: inline-flex;
}

@media (min-width: 640px) {
  .btn--call {
    display: inline-flex;
  }

  .btn--wa-mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -8rem;
  right: 0;
  width: 30rem;
  height: 30rem;
  border-radius: 9999px;
  opacity: 0.07;
  filter: blur(64px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-block: 3.5rem;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--hairline-gold);
  border-radius: 9999px;
  background-color: var(--secondary);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin-top: 1.25rem;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: 0.025em;
}

.hero__lead {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero__points .icon {
  width: 1rem;
  height: 1rem;
}

.hero__media {
  position: relative;
}

.hero__media-frame {
  overflow: hidden;
  border-radius: var(--radius-2xl);
}

.hero__media-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__pin {
  position: absolute;
  bottom: -1.25rem;
  left: 1.25rem;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-xl);
  background-color: var(--card);
  padding: 0.75rem 1rem;
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.hero__pin-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.025em;
  color: var(--accent);
}

.hero__pin-meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }

  .hero__lead {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  border-top: 1px solid var(--hairline-gold);
}

.section--alt {
  background-color: var(--card-40);
}

.section__inner {
  padding-block: 3.5rem;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin-top: 0.25rem;
  font-size: 2.25rem;
  line-height: 1.111;
}

.section__title--first {
  margin-top: 0;
}

.section__note {
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .section__title {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .section__inner {
    padding-block: 4.5rem;
  }
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-2xl);
  background-color: var(--card);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-0.25rem);
}

.product-card__media {
  position: relative;
  background-color: var(--background);
}

.product-card__media img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.product-card__name {
  font-size: 1.5rem;
  line-height: 1.333;
}

.product-card__specs {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-card__price {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.product-card__actions .btn--gold {
  flex: 1;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.service-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card {
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-2xl);
  background-color: var(--card);
  padding: 1.5rem;
}

.service-card__title {
  margin-top: 1rem;
  font-size: 1.5rem;
  line-height: 1.333;
}

.service-card__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--radius-xl);
  background-color: var(--secondary);
  color: var(--accent);
}

.icon-box--gold {
  background: var(--gold-bg);
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Accessories split block */
.feature-split {
  display: grid;
  gap: 1.25rem;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-2xl);
  background-color: var(--card);
}

.feature-split__media {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.feature-split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
}

.feature-split__title {
  font-size: 1.875rem;
  line-height: 1.2;
}

.feature-split__text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.feature-split__body .btn {
  align-self: flex-start;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .feature-split__text {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .feature-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-split__media {
    height: 100%;
  }
}

/* --------------------------------------------------------------------------
   Why us
   -------------------------------------------------------------------------- */

.reason-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.reason {
  display: flex;
  gap: 1rem;
}

.reason__title {
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--accent);
}

.reason__text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .reason-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  align-items: stretch;
  gap: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  /* icon column + label, value indented to line up with the label text */
  --icon-col: 3.75rem;
}

.contact-item__label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.contact-item__value {
  margin-top: 0.25rem;
  padding-left: var(--icon-col);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.map-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-2xl);
  background-color: var(--card);
  padding: 2rem;
  text-align: center;
}

.map-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  border-radius: var(--radius-2xl);
  color: var(--primary-foreground);
}

.map-card__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.111;
  letter-spacing: 0.02em;
}

.map-card__meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.map-card__cta {
  align-self: center;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .map-card__title {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--hairline-gold);
  background-color: var(--card-60);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
  padding: 2.5rem 1rem;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.333;
  letter-spacing: 0.02em;
}

.site-footer__meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.site-footer__nav a {
  transition: color 0.15s ease;
}

.site-footer__nav a:hover {
  color: var(--foreground);
}

.site-footer__legal {
  border-top: 1px solid var(--hairline-gold);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.notfound__inner {
  max-width: 28rem;
  text-align: center;
}

.notfound__code {
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 700;
}

.notfound__title {
  margin-top: 1rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.notfound__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.notfound__actions {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
