/*
Theme Name: Valiya Industries
Theme URI: https://valiyaindustries.com
Author: Valiya Industries Limited
Author URI: https://valiyaindustries.com
Description: A corporate theme for Valiya Industries Limited, manufacturer of 30%+ P2O5 Beneficiated Rock Phosphate. Converted from a Lovable/React design into a classic WordPress theme with a hero slider, product grade pages, logistics and about sections, and a contact page with an embedded map.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valiya-industries
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 10px;
  --radius-2xl: 14px;
  --radius-3xl: 18px;

  --background: #f3f7f9;
  --foreground: #0f172b;
  --card: #ffffff;
  --card-foreground: #0f172b;

  --primary: #0658b4;
  --primary-foreground: #fcfcfc;

  --secondary: #f1f5f9;
  --secondary-foreground: #0f172b;

  --muted: #f1f5f9;
  --muted-foreground: #62748e;

  --border: #e2e8f0;

  --ink: #0f172b;
  --ink-foreground: #fcfcfc;
  --ink-muted: #a2afc1;
  --ink-border: #243145;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
address {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.container {
  max-width: 80rem; /* 1280px, matches max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.bg-card {
  background-color: var(--card);
}

.bg-ink {
  background-color: var(--ink);
  color: var(--ink-foreground);
}

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

.eyebrow {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: filter 0.2s ease, background-color 0.2s ease;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-outline {
  border-color: rgba(252, 252, 252, 0.4);
  background-color: rgba(15, 23, 43, 0.4);
  color: var(--ink-foreground);
}

.btn-outline:hover {
  background-color: rgba(252, 252, 252, 0.1);
}

/* ==========================================================================
   4. Site header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-logo img {
  height: 2.25rem;
  width: auto;
}

.site-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

.primary-nav {
  display: none;
  gap: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;

  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li {
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: block;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.primary-nav a {
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav a.is-active {
  color: var(--primary);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 1.5rem;
  background-color: var(--foreground);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.mobile-nav {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 43, 0.08);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.55rem 0.25rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

/* Hover */
.mobile-nav a:hover {
  color: var(--primary);
  padding-left: 0.65rem;
  background: rgba(0, 102, 204, 0.04);
  border-left-color: var(--primary);
}

/* Active page */
.mobile-nav .current-menu-item > a,
.mobile-nav .current-menu-ancestor > a {
  color: var(--primary);
  padding-left: 0.65rem;
  border-left-color: var(--primary);
  background: rgba(0, 102, 204, 0.05);
}

/* Space between menu items */
.mobile-nav li + li {
  margin-top: 0.25rem;
}


/* =========================
   MOBILE MENU TOGGLE
   ========================= */

@media (max-width: 767px) {
  .mobile-nav {
    padding: 1.5rem 1.5rem 1.75rem;
  }

  .mobile-nav a {
    padding: 0.65rem 0.35rem;
  }

  .mobile-nav li + li {
    margin-top: 0.3rem;
  }
}


/* =========================
   DESKTOP
   ========================= */

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

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}


/* ==========================================================================
   5. Hero slider (home)
   ========================================================================== */
.hero-slider {
  position: relative;
  min-height: 560px;
  height: 80vh;
  max-height: 760px;
  width: 100%;
  overflow: hidden;
  background-color: var(--ink);
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slider__slide.is-active {
  opacity: 0.8;
}

/* Darken the left side where the text sits */
.hero-slider__scrim-x {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 43, 0.88) 0%,
    rgba(15, 23, 43, 0.62) 35%,
    rgba(15, 23, 43, 0.25) 65%,
    rgba(15, 23, 43, 0.05) 100%
  );
  pointer-events: none;
}

/* Subtle bottom/top contrast */
.hero-slider__scrim-y {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 43, 0.65) 0%,
    rgba(15, 23, 43, 0.15) 35%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-slider__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink-foreground);
}

.hero-slider__panel {
  max-width: 48rem;
  padding-bottom: 4rem;
  display: none;
}

.hero-slider__panel.is-active {
  display: block;
}

.hero-slider__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-slider__title span {
  color: var(--primary);
}

.hero-slider__text {
  font-size: 1rem;
  color: rgba(252, 252, 252, 0.95);
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-slider__dots {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.hero-slider__dot {
  width: 3rem;
  height: 4px;
  background-color: rgba(252, 252, 252, 0.3);
  border: 0;
  padding: 0;
  transition: background-color 0.2s ease;
}

.hero-slider__dot.is-active {
  background-color: var(--primary);
}

@media (min-width: 640px) {
  .hero-slider__title {
    font-size: 3rem;
  }

  .hero-slider__text {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero-slider__title {
    font-size: 4.5rem;
  }
}

/* ==========================================================================
   6. Page header banner (inner pages)
   ========================================================================== */

.page-banner {
  position: relative;
  min-height: 340px;
  height: 420px;
  width: 100%;
  overflow: hidden;
  background-color: var(--ink);
}

.page-banner__image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, rgba(15, 23, 43, 0.85) 55%, rgba(15, 23, 43, 0.35) 100%);
}

.page-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink-foreground);
}

.page-banner__title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.12;
  max-width: 48rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.page-banner__description {
  margin-top: 1.25rem;
  font-size: 1rem;
  max-width: 42rem;
  line-height: 1.6;
  color: rgba(252, 252, 252, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

@media (min-width: 640px) {
  .page-banner__title {
    font-size: 2.25rem;
  }
  .page-banner__description {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .page-banner__title {
    font-size: 3.75rem;
  }
}

/* ==========================================================================
   7. Grid utilities
   ========================================================================== */

.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

.gap-lg {
  gap: 4rem;
}

.gap-xl {
  gap: 5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

/* reverse column order on md+ for alternating rows */
.row-reverse-md > *:first-child {
  order: 2;
}

@media (min-width: 768px) {
  .row-reverse-md > *:first-child {
    order: 2;
  }
  .row-reverse-md > *:last-child {
    order: 1;
  }
}

/* ==========================================================================
   8. Home page sections
   ========================================================================== */

.section-heading-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.section-heading-line .bar {
  width: 3rem;
  height: 4px;
  background-color: var(--primary);
  flex-shrink: 0;
}

.big-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.check-list .dot {
  margin-top: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.figure {
  position: relative;
}

.figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.figure__stat {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.figure__stat .num {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
}

.figure__stat .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .big-title {
    font-size: 3rem;
  }
}

/* Grade cards */

.grade-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  transition: border-color 0.2s ease;
}

.grade-card:hover {
  border-color: var(--primary);
}

.grade-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.grade-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.grade-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.grade-card .more-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Group portfolio (ink band with stat blocks) */

.stat-block {
  border-left: 2px solid var(--primary);
  padding: 0.5rem 0 0.5rem 1.5rem;
}

.stat-block .title {
  font-size: 1.125rem;
  font-weight: 700;
  display: block;
}

.stat-block .sub {
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.portfolio-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  align-items: start;
}

.portfolio-media img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Left image */
.portfolio-media .tall {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
}

/* Right column */
.portfolio-media .stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 3rem;
}

/* Right image */
.portfolio-media .square {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

/* Experience badge */
.years-badge {
  padding: 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-lg);
  width: 100%;
  box-sizing: border-box;
}

.years-badge .num {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.years-badge .label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  line-height: 1.4;
}


/* =========================
   TABLET
   ========================= */
@media (max-width: 900px) {
  .portfolio-media {
    gap: 0.75rem;
  }

  .portfolio-media .stack {
    padding-top: 2rem;
    gap: 0.75rem;
  }

  .years-badge {
    padding: 1.25rem;
  }

  .years-badge .num {
    font-size: 2rem;
  }
}


/* =========================
   MOBILE
   ========================= */
@media (max-width: 640px) {
  .portfolio-media {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio-media .tall {
    aspect-ratio: 16 / 10;
  }

  .portfolio-media .stack {
    padding-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .portfolio-media .square {
    aspect-ratio: 1 / 1;
    height: 100%;
  }

  .years-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 1rem;
  }

  .years-badge .num {
    font-size: 1.8rem;
  }

  .years-badge .label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
}


/* =========================
   SMALL MOBILE
   ========================= */
@media (max-width: 400px) {
  .portfolio-media {
    gap: 0.75rem;
  }

  .portfolio-media .stack {
    gap: 0.75rem;
  }

  .years-badge {
    padding: 0.85rem;
  }

  .years-badge .num {
    font-size: 1.5rem;
  }

  .years-badge .label {
    font-size: 0.55rem;
  }
}
/* Logistics highlight card (home) */

.highlight-card {
  background-color: var(--card);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.highlight-card__text {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-card__media {
  min-height: 320px;
}

.highlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-card__stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-card__stat .num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.highlight-card__stat .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .highlight-card {
    flex-direction: row;
  }
  .highlight-card__text,
  .highlight-card__media {
    width: 50%;
  }
  .highlight-card__text {
    padding: 4rem;
  }
}

/* Closing band */

.closing-band {
  position: relative;
  height: 360px;
  overflow: hidden;
  background-color: var(--ink);
}

.closing-band img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.closing-band__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink-foreground);
}

.closing-band__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  max-width: 48rem;
  line-height: 1.3;
}

.closing-band__content .btn {
  margin-top: 2rem;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .closing-band__content h2 {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   9. Products page
   ========================================================================== */

.product-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
}

.product-row h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.product-row .text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.spec-list {
  border-top: 1px solid var(--border);
}

.spec-list .spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.spec-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted-foreground);
}

.spec-list dd {
  font-weight: 700;
  text-align: right;
}

@media (min-width: 768px) {
  .product-row h2 {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   10. About page portfolio grid (ink band)
   ========================================================================== */

.portfolio-card {
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-card__body {
  padding: 2rem;
}

.portfolio-card__body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-card__body p {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.portfolio-cta {
  padding: 2rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-cta .num {
  font-size: 2.75rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
}

.portfolio-cta .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.portfolio-cta a {
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   11. Contact page
   ========================================================================== */

.contact-block address {
  font-style: normal;
}

.contact-address {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-sub {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.contact-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted-foreground);
}

.contact-card .value {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.contact-map {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ==========================================================================
   12. Site footer
   ========================================================================== */

.site-footer {
  background-color: var(--ink);
  color: var(--ink-muted);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--ink-border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.site-footer__brand {
  display: inline-block;
  background-color: var(--card);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.site-footer__brand img {
  height: 2.5rem;
  width: auto;
}

.site-footer p {
  max-width: 26rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--ink-foreground);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.site-footer ul li {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.site-footer ul a:hover {
  color: var(--ink-foreground);
}

.site-footer address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer__meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .site-footer__grid > .col-span-2 {
    grid-column: span 2 / span 2;
  }
}

/* ==========================================================================
   13. WordPress core alignment / gallery / caption support
   ========================================================================== */

.alignwide {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100%;
  max-width: 100%;
}

.wp-caption,
.wp-block-image figure {
  max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

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

/* Fallback single/page content (blog posts, generic pages) */

.entry-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  line-height: 1.75;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content p {
  margin-bottom: 1.25rem;
}

.entry-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.post-list {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.post-list article {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.post-list .entry-title {
  font-size: 1.5rem;
}

.pagination {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
