/*
Theme Name: Georgia Medical Supply
Theme URI: https://georgiamedicalsupply.net/
Author: Ads Clique Media
Description: A lightweight WordPress theme for Georgia Medical Supply, a Durable Medical Equipment provider serving Columbus, Georgia.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: georgia-medical-supply
*/

:root {
  --ink: #102033;
  --muted: #5e7084;
  --line: #dce7f0;
  --soft: #f3f8fc;
  --soft-blue: #e6f2fb;
  --blue: #0f6fad;
  --deep-blue: #084a7a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 71, 111, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--deep-blue);
  color: var(--white);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(220, 231, 240, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 232px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep-blue);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  padding: 8px 0;
  color: #31495f;
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a:hover,
.text-link:hover,
.category-card a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-call {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep-blue);
  font-weight: 800;
  white-space: nowrap;
}

.hero,
.page-hero,
.section,
.split-section,
.cta-band,
.insurance-strip,
.site-footer,
.map-section {
  padding-right: clamp(20px, 5vw, 76px);
  padding-left: clamp(20px, 5vw, 76px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
  padding-top: 56px;
  padding-bottom: 56px;
  background: linear-gradient(90deg, #f7fbfe 0%, #ffffff 52%, #eef7fc 100%);
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.section-intro p,
.split-section p,
.insurance-strip p,
.cta-band p,
.contact-panel dd,
.resource-grid p,
.mission-grid p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.primary,
button {
  background: var(--blue);
  color: var(--white);
}

.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--deep-blue);
}

.light {
  background: var(--white);
  color: var(--deep-blue);
}

.outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(330px, calc(100% - 48px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(16, 32, 51, 0.16);
}

.hero-card strong,
.hero-card span {
  display: block;
}

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

.section {
  padding-top: clamp(66px, 8vw, 112px);
  padding-bottom: clamp(66px, 8vw, 112px);
}

.soft {
  background: var(--soft);
}

.section-intro {
  max-width: 1120px;
  margin-bottom: 34px;
}

.section-intro.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-intro.centered p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

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

.category-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 71, 111, 0.07);
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-card div {
  padding: 24px;
}

.category-card p,
.trust-card p,
.site-footer p,
.faq-list p,
.product-row p {
  color: var(--muted);
}

.category-card a,
.text-link {
  color: var(--deep-blue);
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  padding-top: clamp(74px, 9vw, 120px);
  padding-bottom: clamp(74px, 9vw, 120px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 100%);
}

.video-frame {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #061c2f;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-placeholder {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.video-placeholder::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(6, 28, 47, 0.08), rgba(6, 28, 47, 0.44));
}

.play-button {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(70px, 9vw, 96px);
  height: clamp(70px, 9vw, 96px);
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(6, 28, 47, 0.24);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--deep-blue);
}

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

.trust-card,
.resource-grid article,
.mission-grid article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 71, 111, 0.06);
}

.trust-card {
  min-height: 210px;
  padding: 26px;
}

.trust-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--deep-blue);
  font-weight: 900;
}

.insurance-strip {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 46px;
  padding-bottom: 46px;
  background: #eaf6fb;
}

.insurance-strip > div {
  max-width: 790px;
}

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

.service-list div {
  min-height: 78px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 850;
  text-align: center;
}

.cta-band {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(52px, 7vw, 86px);
  padding-bottom: clamp(52px, 7vw, 86px);
  background: linear-gradient(120deg, var(--deep-blue), #0a6994 64%, #1785a3);
  color: var(--white);
}

.cta-band h2,
.cta-band .eyebrow,
.cta-band p {
  color: var(--white);
}

.cta-band > div:first-child {
  max-width: 790px;
}

.form-section {
  background: #fbfdff;
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cddce8;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #d4e4ee;
  border-radius: 8px;
  background: #f1f8fc;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-alert {
  max-width: 980px;
  margin: 0 auto 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 750;
}

.form-alert.success {
  background: #eaf7ef;
  color: #215d34;
}

.form-alert.error {
  background: #fff1f0;
  color: #8a241d;
}

.page-hero {
  padding-top: clamp(76px, 10vw, 128px);
  padding-bottom: clamp(76px, 10vw, 128px);
  background:
    linear-gradient(90deg, rgba(247, 251, 254, 0.94), rgba(238, 247, 252, 0.86)),
    url("https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
  text-align: center;
}

.page-hero h1,
.page-hero p {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(247, 251, 254, 0.95), rgba(238, 247, 252, 0.8)),
    url("https://images.unsplash.com/photo-1550831107-1553da8c8464?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
}

.resources-hero {
  background:
    linear-gradient(90deg, rgba(247, 251, 254, 0.96), rgba(238, 247, 252, 0.86)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(247, 251, 254, 0.96), rgba(238, 247, 252, 0.86)),
    url("https://images.unsplash.com/photo-1516574187841-cb9cc2ca948b?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
}

.product-stack {
  display: grid;
  gap: 18px;
}

.product-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-row img {
  width: 100%;
  height: 210px;
  border-radius: 8px;
  object-fit: cover;
}

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

.mission-grid article,
.resource-grid article {
  padding: 28px;
}

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

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  min-height: 62px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

details p {
  padding: 0 22px 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
}

.contact-panel dl {
  display: grid;
  gap: 18px;
  margin: 0 0 28px;
}

.contact-panel dt {
  color: var(--deep-blue);
  font-weight: 900;
}

.contact-panel dd {
  margin: 4px 0 0;
}

.map-section {
  padding-bottom: clamp(70px, 8vw, 112px);
}

.map-section iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  padding-top: 52px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  background: #102033;
  color: var(--white);
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--deep-blue);
}

.footer-brand small,
.site-footer p,
.site-footer a {
  color: #bed0df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  margin-top: 34px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.fine-print {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
  }

  .main-nav ul {
    justify-content: flex-start;
  }

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

  .hero-image,
  .hero-image img {
    min-height: 420px;
  }

  .category-grid,
  .trust-grid,
  .service-list,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }

  .header-call {
    justify-self: stretch;
    text-align: center;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
  }

  .hero {
    min-height: 0;
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 3.3rem);
  }

  .hero-image,
  .hero-image img {
    min-height: 330px;
  }

  .category-grid,
  .trust-grid,
  .service-list,
  .mission-grid,
  .resource-grid,
  .contact-layout,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .split-section,
  .product-row {
    grid-template-columns: 1fr;
  }

  .insurance-strip,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-intro.centered,
  .page-hero {
    text-align: left;
  }

  .section-intro.centered p,
  .page-hero h1,
  .page-hero p {
    margin-right: 0;
    margin-left: 0;
  }

  .product-row img {
    height: 230px;
  }

  .page-hero {
    padding-top: 62px;
    padding-bottom: 62px;
  }
}

@media (max-width: 420px) {
  .main-nav ul {
    grid-template-columns: 1fr;
  }

  .button,
  button {
    width: 100%;
  }

  .hero-card {
    position: static;
    width: auto;
    margin: -86px 18px 18px;
  }
}
