/*
Theme Name: Painting
Theme URI: https://example.com/painting
Author: Nesl IT
Author URI: https://example.com
Description: A basic, easy-to-customize WordPress theme for painting and home service businesses. All colors and fonts are controlled via CSS variables in :root for quick rebranding.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: painting
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   1. CSS VARIABLES — edit these to re-theme the whole site
   ========================================================= */
:root {
  /* Brand colors (from Figma "Home Services - Home Painting") */
  --color-primary: #ec394e; /* crimson — buttons, links, accents, active nav */
  --color-primary-dark: #c82b3e; /* darker crimson — hover states */
  --color-navy: #0a2036; /* deep navy — headings & dark UI */
  --color-secondary: #0a2036; /* alias of navy for legacy references */
  --color-dark: #0a2036; /* headings */
  --color-footer: #792732; /* footer maroon */
  --color-footer-dark: #641f28; /* footer gradient end */
  --color-light: #f7f8fa; /* section backgrounds */
  --color-white: #ffffff;
  --color-text: #333333; /* body text */
  --color-text-muted: #4d5461;
  --color-border: #e5e7eb;
  --color-success: #2e7d32;
  --color-error: #c62828;

  /* Typography — Manrope */
  --font-family-base: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-family-heading: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Type scale (Figma) */
  --fs-h1: clamp(2.5rem, 5vw + 1rem, 4rem); /* 64px */
  --fs-h2: clamp(2rem, 4vw + 0.5rem, 3.25rem); /* 52px */
  --fs-h3: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); /* 40px */
  --fs-h4: 2rem; /* 32px */
  --fs-h5: 1.625rem; /* 26px */
  --fs-subtitle: 1.375rem; /* 22px */

  /* Layout */
  --container-width: 1328px;
  --spacing-unit: 1rem;
  --radius-base: 8px;
  --radius-pill: 999px;
  --transition-base: 0.2s ease-in-out;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  color: var(--color-text);
  line-height: var(--line-height-base);
  background-color: var(--color-white);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus {
  color: var(--color-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  color: var(--color-dark);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.75em;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
h5 {
  font-size: var(--fs-h5);
}
h6 {
  font-size: var(--fs-subtitle);
}

p {
  margin: 0 0 1.25em;
}

ul,
ol {
  padding-left: 1.25em;
}

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

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
}

/* =========================================================
   3. LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-area {
  width: 100%;
}

.site-main-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 782px) {
  .has-sidebar .site-main-inner {
    grid-template-columns: 2fr 1fr;
  }
}

/* =========================================================
   4. HEADER
   ========================================================= */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 90px;
  padding: 0.75rem 1rem;
}

/* Branding / logo lockup */
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: block;
}

.site-branding .custom-logo {
  max-height: 52px;
  width: auto;
}

.site-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.site-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--color-navy);
}

.site-title a {
  color: var(--color-navy);
}

.site-title a:hover {
  color: var(--color-primary);
}

.site-description {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Primary navigation */
.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition-base);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--color-primary);
}

.main-navigation .sub-menu {
  display: none;
}

/* Header phone / call-to-action pill */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.header-cta:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius-base);
  color: var(--color-primary);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: transparent;
  color: var(--color-primary);
  transform: none;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background-color: currentColor;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before {
  position: absolute;
  left: 0;
  top: -7px;
}

.menu-toggle-icon::after {
  position: absolute;
  left: 0;
  top: 7px;
}

/* Animate bars into an X when open */
.menu-toggle[aria-expanded="true"] {
  background: transparent;
  color: var(--color-primary);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .site-header-inner {
    gap: 0.75rem;
  }

  /* Single top row: logo | call | hamburger */
  .site-branding {
    order: 1;
    margin-right: auto;
  }

  .header-cta {
    order: 2;
  }

  .header-nav-wrap {
    order: 3;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* Full-width dropdown panel, below the header bar */
  .main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 14px 28px rgba(10, 32, 54, 0.12);
  }

  .main-navigation.toggled ul {
    display: flex;
  }

  .main-navigation li {
    width: 100%;
  }

  .main-navigation a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  .main-navigation a:hover,
  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a {
    background-color: var(--color-light);
  }
}

/* Compact tap-to-call button on small screens */
@media (max-width: 560px) {
  .header-cta {
    width: 30px;
    height: 30px;
    padding: 0;
    justify-content: center;
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .header-cta svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   5. FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(
    160deg,
    var(--color-footer) 0%,
    var(--color-footer-dark) 100%
  );
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-base);
}

.site-footer a:hover {
  color: #000000;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  max-height: 127px;
  width: auto;
}

/* Top area: brand block + link columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .site-branding {
  margin-bottom: 1.25rem;
}

.footer-brand .site-title,
.footer-brand .site-title a {
  color: var(--color-white);
}

.footer-brand .site-description {
  color: rgba(255, 255, 255, 0.7);
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
}

.footer-column .footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 1.25rem;
}

.footer-column ul,
.footer-widget-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.footer-widgets {
  display: contents;
}

.footer-widget-area .widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.site-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   6. ARTICLES / CARDS
   ========================================================= */
.entry {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.entry:last-child {
  border-bottom: none;
}

.entry-title {
  font-size: 1.75rem;
}

.entry-title a {
  color: var(--color-dark);
}

.entry-meta {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.entry-meta a {
  color: var(--color-text-muted);
}

.entry-thumbnail {
  margin-bottom: 1rem;
  border-radius: var(--radius-base);
  overflow: hidden;
}

.entry-summary,
.entry-content {
  color: var(--color-text);
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--color-secondary);
}

/* Single post */
.single .entry-header {
  margin-bottom: 1.5rem;
}

.entry-tags {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* =========================================================
   7. BUTTONS / FORMS
   ========================================================= */
.btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.75rem;
  font-family: var(--font-family-base);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    transform var(--transition-base);
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Outline / ghost button */
.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  font-family: var(--font-family-base);
}

/* =========================================================
   8. WIDGETS / SIDEBAR
   ========================================================= */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.1rem;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
  padding-left: 0;
}

.widget li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* =========================================================
   9. COMMENTS
   ========================================================= */
.comments-area {
  margin-top: 2.5rem;
}

.comment-list {
  list-style: none;
  padding-left: 0;
}

.comment-body {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.comment-list .children {
  list-style: none;
  padding-left: 1.5rem;
}

.comment-author .fn {
  font-weight: 600;
  color: var(--color-dark);
}

.comment-metadata {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* =========================================================
   10. PAGINATION
   ========================================================= */
.pagination,
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  margin-right: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  color: var(--color-dark);
}

.pagination .page-numbers.current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* =========================================================
   11. 404 / SEARCH
   ========================================================= */
.error-404 {
  text-align: center;
  padding: 3rem 0;
}

.error-404 .page-title {
  font-size: 2.5rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

/* =========================================================
   12. ALIGNMENTS (core block/editor support)
   ========================================================= */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   13. COMING SOON PAGE
   ========================================================= */
.coming-soon-page {
  margin: 0;
}

.coming-soon-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--color-light);
  background-size: cover;
  background-position: center;
}

.coming-soon-card {
  width: 100%;
  max-width: 600px;
  background-color: var(--color-white);
  border-radius: var(--radius-base);
  border-top: 4px solid var(--color-secondary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 3rem 2.5rem;
  text-align: center;
}

.coming-soon-logo {
  margin: 0 auto 1.5rem;
}

.coming-soon-logo img {
  max-height: 70px;
  margin: 0 auto;
}

.coming-soon-sitename {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.coming-soon-heading {
  font-size: 2rem;
}

.coming-soon-message {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.coming-soon-message p:last-child {
  margin-bottom: 0;
}

.coming-soon-contact {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

/* =========================================================
   14. LANDING PAGE TEMPLATE (Figma "Landing page UI V1")
   ========================================================= */
.landing {
  overflow: hidden;
}

.landing-ph {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef1f5, #e2e7ee);
  position: relative;
}

.landing-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(236, 57, 78, 0.12),
    transparent 55%
  );
}

.landing-accent-line {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-primary);
  margin: 1.25rem 0 0;
}

.landing-section-head {
  max-width: 800px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.landing-section-head h2 {
  margin: 0 0 0.75rem;
}

.landing-section-head p {
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.landing-section-head .landing-accent-line {
  margin: 1.25rem auto 0;
}

/* ---- HERO ---- */
.landing-hero {
  position: relative;
  /* background:
    radial-gradient(
      circle at 85% 20%,
      rgba(236, 57, 78, 0.06),
      transparent 45%
    ),
    var(--color-light); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
      z-index: 1;
}
section.landing-hero::before {
    content: "";
    width: 100%;
    height: 100%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}
.landing-hero-inner {
  display: grid;
  min-height: 680px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 1.5rem 4.5rem;
}

.landing-hero-title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin: 0;
      max-width: 550px;
}
.landing-hero-title .accent {
  color: var(--color-primary);
}

.landing-hero-media {
  position: relative;
  align-self: end;
}
.landing-hero-copy {
  align-self: baseline;
}

.landing-hero-media img {
  width: 100%;
  border-radius: 16px;
}
.landing-ph-hero {
  min-height: 440px;
}

.landing-hero-text {
  margin: 1.5rem 0 0 auto;
  max-width: 26rem;
  text-align: left;
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1.7;
}

.landing-hero-bar {
  height: 40px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
}

/* ---- ESTIMATE + FORM ---- */
.landing-estimate {
  padding: 4.5rem 0;
}

.landing-estimate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.landing-estimate-copy h2 {
  margin: 0 0 1.5rem;
}
.landing-estimate-copy p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.landing-form-wrap {
  position: relative;
  border-radius: 20px;
}

.landing-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 15px 10px 100px -25px #ec394e80;
}

.landing-form-title {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}
.landing-form-subtitle {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.landing-form .landing-field {
  margin: 0 0 1rem;
}

.landing-form input,
.landing-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-family-base);
  font-size: 0.95rem;
  background: #fbfcfd;
  color: var(--color-text);
}

.landing-form input:focus,
.landing-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(236, 57, 78, 0.12);
}

.landing-form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---- SERVICES (two-column) ---- */
.landing-services {
  padding: 4.5rem 0;
}

.landing-services-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.landing-services-copy h2 {
  margin: 0 0 1rem;
}
.landing-services-copy > p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.landing-services-media {
  margin-top: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.landing-services-media img,
.landing-services-media .landing-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  border-radius: 16px;
}

.landing-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.landing-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 5px 5px 20px 5px;
  background: white;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
  box-shadow: 5px 5px 20px -5px #ec394e80;
}

.landing-service-icon svg {
  width: 30px;
  height: 30px;
}
.landing-service-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.landing-service-card h3 {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}
.landing-service-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ---- STATS BAND ---- */
.landing-stats {
  color: #fff;
  text-align: center;
}
.landing-stats-container {
  position: relative;
  padding: 3.5rem 1.5rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1;
  border-radius: 20px;
}
.landing-stats-container::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  opacity: 0.8;
  background: linear-gradient(90deg, #ec394e 0%, #86202c 100%);
  z-index: -1;
}
.landing-stats-head {
  max-width: 760px;
  margin: 0 auto 2.25rem;
}
.landing-stats-head h2 {
  color: #fff;
  margin: 0 0 0.5rem;
}
.landing-stats-head p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.landing-stat {
  padding: 0.5rem;
}
.landing-stat-value {
  display: block;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.1;
}
.landing-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---- GALLERY ---- */
.landing-gallery {
  padding: 4.5rem 0;
}
.landing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.landing-gallery-media {
  border-radius: 16px 16px 0px 0px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.landing-gallery-media img,
.landing-gallery-media .landing-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  border-radius: 16px 16px 0px 0px;
}
.landing-gallery-item figcaption {
  padding: 1rem 1.5rem;
  border: 1px solid #eef1f5;
}
.landing-gallery-title {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-navy);
}
.landing-gallery-caption {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

/* ---- TESTIMONIALS ---- */
.landing-testimonials {
  position: relative;
  padding: 4.5rem 0 5rem;
  background-color: var(--color-light);

  overflow: hidden;
}
.landing-testimonials .container{
  background-image: url(assets/images/Abstract.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.landing-testi {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

/* Horizontal slider: the viewport clips, the track holds all slides in a row
   and translates. align-items: stretch keeps every slide equal height.
   The viewport is padded on every side so the card's drop shadow is fully
   visible, and the slides sit far apart (large gap) so off-screen cards never
   peek into that padded area. The JS translates by each slide's real offset,
   so the gap is accounted for automatically. */
.landing-testi-viewport {
  overflow: hidden;
  padding: 35px 55px 75px;
}

.landing-testi-track {
  display: flex;
  align-items: stretch;
  gap: 120px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.landing-testi-card {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(236, 57, 78, 0.3);
  padding: 2.75rem 2.5rem;
  margin: 0;
  text-align: center;

}
.landing-testi-quote {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 1.75rem;
}
.landing-testi-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.landing-testi-avatar img,
.landing-avatar-ph {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.landing-avatar-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.landing-testi-name {
  display: block;
  font-weight: 700;
  color: var(--color-navy);
}
.landing-testi-role {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.landing-testi-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.25rem;
}
.landing-testi-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-navy);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.landing-testi-nav button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---- NEWSLETTER ---- */
.landing-newsletter {
  padding: 0 0 4.5rem;
}
.landing-newsletter-card {
  background: linear-gradient(
    120deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  border-radius: 20px;
  padding: 3.25rem 2rem;
  text-align: center;
}
.landing-newsletter-card h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}
.landing-newsletter-card p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 44rem;
  margin: 0 auto 1.75rem;
}
.landing-newsletter-btn {
  background: #fff;
  color: var(--color-primary);
}
.landing-newsletter-btn:hover {
  background: var(--color-navy);
  color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .landing-hero-inner,
  .landing-estimate-inner,
  .landing-services-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .landing-hero-text {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  section.landing-hero::before{
    opacity: 0.7;
  }
  .landing-gallery-grid,
  .landing-stats-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-inner{
	min-height: auto;
	gap: 20px;
  }
  .landing-testi-viewport{
	padding-left: 10px;
	padding-right: 10px;
  }
  .landing-testi-card{
    box-shadow: 0 10px 25px rgba(236, 57, 78, 0.3);

  }
  .landing-testimonials{
	padding: 2rem 0rem;
  }
}

@media (max-width: 560px) {
  .landing-services-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
  .landing-testi-card {
    padding: 2rem 1.5rem;
  }
}

/* ---- BLOG / POSTS SLIDER ---- */
.landing-blog {
  padding: 4.5rem 0;
}

.landing-blog-slider {
  position: relative;
}

.landing-blog-viewport {
  overflow: hidden;
  padding: 10px 6px 40px;
}

.landing-blog-track {
  display: flex;
  gap: 30px;
  align-items: stretch;
  transition: transform 0.45s ease;
  will-change: transform;
}

.landing-post-card {
  flex: 0 0 calc((100% - 60px) / 3);
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 32, 54, 0.06);
}

.landing-post-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.landing-post-media img,
.landing-post-media .landing-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.landing-post-card:hover .landing-post-media img {
  transform: scale(1.05);
}

.landing-post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.landing-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.landing-post-cat {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-post-cat::before {
  content: "\2022";
  margin-right: 0.75rem;
  color: var(--color-border);
}

.landing-post-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
}

.landing-post-title a {
  color: var(--color-navy);
}

.landing-post-title a:hover {
  color: var(--color-primary);
}

.landing-post-excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.landing-post-more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.landing-blog-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.landing-blog-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  padding: 0px;
}

.landing-blog-nav button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 992px) {
  .landing-post-card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

@media (max-width: 600px) {
  .landing-post-card {
    flex: 0 0 100%;
  }
}
