/*
Theme Name: SONO Communications
Theme URI: https://example.com/
Author: SONO Communications
Description: B2B WordPress theme for original iPhone screens and internal replacement parts suppliers.
Version: 1.0.0
Text Domain: sono-communications
*/

:root {
  --bg: #020814;
  --bg-soft: #07162b;
  --panel: rgba(9, 24, 48, 0.84);
  --panel-strong: #0b1d38;
  --line: rgba(59, 141, 255, 0.45);
  --line-soft: rgba(255, 255, 255, 0.14);
  --text: #f8fbff;
  --muted: #b9c8dd;
  --blue: #095dff;
  --blue-2: #2b8bff;
  --green: #06b957;
  --white: #ffffff;
  --ink: #07101f;
  --shadow: 0 24px 70px rgba(0, 54, 155, 0.28);
  --radius: 8px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(9, 93, 255, 0.28), transparent 34rem),
    linear-gradient(180deg, #020814 0%, #051225 48%, #020814 100%);
  color: var(--text);
  font-family: "Aptos", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.admin-bar .sono-header {
  top: 32px;
}

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.sono-page {
  overflow: hidden;
}

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

.sono-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(2, 8, 20, 0.86);
  backdrop-filter: blur(18px);
}

.sono-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 22px;
}

.sono-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  line-height: 1;
}

.sono-logo__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f9fdff, #0b6dff 48%, #002b88);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), 0 12px 30px rgba(9, 93, 255, 0.35);
  color: #fff;
  font-size: 31px;
  font-style: italic;
}

.sono-logo__text span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.sono-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.sono-nav a:hover {
  color: var(--white);
}

.sono-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sono-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.sono-menu-toggle span,
.sono-menu-toggle::before,
.sono-menu-toggle::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 900;
  color: var(--white);
  cursor: pointer;
}

.button--blue {
  background: linear-gradient(135deg, var(--blue), #0143d8);
  box-shadow: 0 12px 28px rgba(9, 93, 255, 0.32);
}

.button--green {
  background: linear-gradient(135deg, #05c65d, #049242);
  box-shadow: 0 12px 28px rgba(6, 185, 87, 0.26);
}

.button--dark {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.08);
}

.button svg,
.mini-icon svg {
  width: 19px;
  height: 19px;
  margin-right: 9px;
}

.hero {
  position: relative;
  padding: 78px 0 54px;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 93, 255, 0.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(9, 93, 255, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
  opacity: 0.48;
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #81b7ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--blue-2);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.accent {
  color: var(--blue-2);
}

.hero__lead {
  max-width: 650px;
  color: #d6e2f2;
  font-size: 20px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}

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

.proof-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 18, 37, 0.74);
  padding: 14px;
  color: #dce8f8;
  font-weight: 800;
}

.hero__visual {
  position: relative;
  min-height: 520px;
}

.orb-platform {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 36px;
  height: 132px;
  border: 1px solid rgba(43, 139, 255, 0.5);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(9, 93, 255, 0.55), rgba(9, 93, 255, 0.05) 54%, transparent 72%);
  filter: blur(0.2px);
}

.hero-product {
  position: absolute;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.45));
}

.hero-product--main {
  right: 18%;
  bottom: 42px;
  width: min(58%, 330px);
  z-index: 2;
}

.hero-product--side {
  right: 1%;
  bottom: 78px;
  width: min(33%, 180px);
  z-index: 1;
  opacity: 0.92;
}

.hero-card {
  position: absolute;
  left: 0;
  bottom: 62px;
  width: 218px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 13, 29, 0.85);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--blue-2);
}

.hero-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 74px 0;
}

.subhero {
  padding: 72px 0 32px;
}

.subhero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(9, 93, 255, 0.22), rgba(2, 8, 20, 0.1)),
    var(--panel);
  padding: 34px;
}

.subhero h1 {
  font-size: clamp(42px, 6vw, 74px);
}

.subhero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.subhero img {
  max-height: 340px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.42));
}

.section--tight {
  padding-top: 34px;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.section h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
}

.section__head p,
.section__intro {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.category-grid,
.product-grid,
.qc-grid,
.factory-grid,
.info-grid,
.spec-grid {
  display: grid;
  gap: 16px;
}

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

.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  min-height: 210px;
}

.category-card h3 {
  font-size: 24px;
}

.category-card p {
  color: var(--muted);
  line-height: 1.6;
}

.model-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.model-tabs a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  padding: 12px 18px;
  color: #dbe8fb;
  font-weight: 900;
}

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

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
}

.info-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-2);
  font-size: 34px;
  line-height: 1;
}

.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.spec-card {
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 22px;
}

.spec-card h3 {
  margin-bottom: 10px;
}

.spec-card ul {
  margin: 0;
  padding-left: 18px;
  color: #4f5d72;
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.product-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.product-card__image {
  display: grid;
  place-items: center;
  height: 156px;
  border-radius: var(--radius);
  background: #f3f6fa;
  overflow: hidden;
}

.product-card__image img {
  max-height: 148px;
  object-fit: contain;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.product-card p {
  margin-bottom: 16px;
  color: #42506a;
  line-height: 1.45;
}

.product-card__actions {
  display: flex;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  color: var(--green);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe,
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stat-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px;
}

.stat {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.stat:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat strong {
  display: block;
  color: var(--blue-2);
  font-size: 34px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
}

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

.qc-card,
.factory-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.qc-card img,
.factory-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.qc-card div,
.factory-card div {
  padding: 18px;
}

.qc-card h3,
.factory-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.qc-card p,
.factory-card p {
  color: #4f5d72;
  line-height: 1.55;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 22px;
}

.process-step {
  border-right: 1px solid #d8e0ed;
  padding: 8px 14px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.process-step strong {
  display: block;
  margin-bottom: 7px;
}

.process-step span {
  color: #566274;
  font-size: 14px;
  line-height: 1.45;
}

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

.factory-card--wide {
  grid-column: span 2;
}

.factory-card--wide img {
  height: 260px;
}

.quote-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 70%, rgba(9, 93, 255, 0.28), transparent 18rem),
    var(--panel-strong);
  padding: 32px;
}

.quote-band h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
}

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

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

.field {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cdd7e5;
  border-radius: var(--radius);
  background: #fff;
  color: #172238;
  padding: 0 15px;
  font: inherit;
}

textarea.field {
  min-height: 104px;
  padding-top: 14px;
  resize: vertical;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.choice-row button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: #dbe8fb;
  padding: 12px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.quote-contact {
  margin-top: 22px;
  color: #dbe8fb;
  font-size: 18px;
  line-height: 1.65;
}

.quote-contact strong {
  color: var(--text);
}

.quote-qr-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 20px;
  margin-top: 20px;
}

.quote-qr {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 5px solid rgba(255, 82, 82, 0.95);
  border-radius: 4px;
  background: #fff;
}

.quote-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}

.contact-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.contact-item strong {
  display: block;
}

.contact-item span {
  color: var(--muted);
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), #003bb9);
}

.mini-icon svg {
  margin: 0;
}

.map-frame {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: #dce5ee;
}

.footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 8, 20, 0.94);
  padding: 38px 0 96px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.footer h3 {
  margin-bottom: 12px;
}

.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.8;
}

.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-contact__head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.footer-contact__head h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.footer-contact__head p {
  margin: 0;
}

.footer-qr-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 132px));
  gap: 14px;
  padding-left: 70px;
}

.footer-qr {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.footer-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 8, 20, 0.94);
  backdrop-filter: blur(15px);
}

.mobile-cta .button {
  min-height: 48px;
  padding: 0 8px;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero__grid,
  .video-section,
  .quote-band,
  .contact-grid,
  .subhero__panel {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 430px;
  }

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

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

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

@media (max-width: 820px) {
  body.admin-bar .sono-header {
    top: 46px;
  }

  .sono-wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .sono-header__inner {
    min-height: 68px;
  }

  .sono-nav {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 13, 29, 0.98);
    padding: 16px;
  }

  .sono-nav.is-open {
    display: flex;
  }

  .sono-menu-toggle {
    display: block;
  }

  .sono-actions .button {
    display: none;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__proof,
  .category-grid,
  .info-grid,
  .spec-grid,
  .product-grid,
  .qc-grid,
  .factory-grid,
  .process,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-qr-row {
    grid-template-columns: repeat(2, minmax(0, 132px));
    padding-left: 0;
  }

  .factory-card--wide {
    grid-column: auto;
  }

  .product-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .product-card__image {
    height: 130px;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid #d8e0ed;
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .section__head {
    display: block;
  }

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

  .quote-qr-row {
    grid-template-columns: repeat(2, minmax(0, 150px));
  }

  .hero-card {
    width: 180px;
  }

  .footer {
    padding-bottom: 88px;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (max-width: 560px) {
  .sono-logo__mark {
    width: 42px;
    height: 42px;
    font-size: 27px;
  }

  .sono-logo__text {
    font-size: 17px;
  }

  .sono-logo__text span {
    font-size: 10px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__visual {
    min-height: 330px;
  }

  .hero-product--main {
    right: 14%;
    width: 58%;
  }

  .hero-product--side {
    width: 34%;
  }

  .hero-card {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .product-card {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 13px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .product-card__actions .button {
    min-height: 42px;
    padding: 0 13px;
  }

  .quote-band,
  .contact-card,
  .map-card {
    padding: 20px;
  }

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