/*
Theme Name: Yinati
Theme URI: https://yinati.com
Author: Yinati
Author URI: https://yinati.com
Description: Modern agency theme for Yinati — Growth, Search & Lead Generation Systems. A conversion-focused theme with SEO, paid search, and custom lead generation capabilities.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: yinati
Tags: one-column, custom-menu, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

:root {
  --bg: #f5f5f5;
  --white: #ffffff;
  --soft: #efefef;
  --text: #101114;
  --muted: #6b7280;
  --dark: #0f1117;
  --dark-2: #141823;
  --accent: #f26a21;
  --accent-2: #ff8a47;
  --line: rgba(16,17,20,0.08);
  --shadow: 0 20px 60px rgba(10, 14, 22, 0.08);
  --radius: 26px;
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,17,20,0.05);
}

.nav {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dark), var(--accent));
  position: relative;
  box-shadow: 0 14px 30px rgba(242,106,33,0.18);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 3px solid white;
}

.brand-mark::after {
  inset: 16px 9px 9px 16px;
  border-top: 0;
  border-right: 0;
}

.nav-links {
  display: flex;
  justify-content: right;
  gap: 34px;
  color: #4b5563;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { list-style: none; }

.nav-links a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--accent);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  background: var(--white);
}

.phone-icon,
.square-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.phone-meta small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 2px;
}

.phone-meta strong {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  border: 0;
}

.cta-btn:hover {
  background: var(--accent-2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 0;
}

.hero-frame {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15,17,23,0.82) 0%, rgba(15,17,23,0.58) 40%, rgba(15,17,23,0.28) 100%),
    url('') center/cover;
  background-color: var(--dark);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 820px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: end;
  gap: 40px;
  padding: 86px 0 64px;
}

.hero-copy {
  color: white;
  max-width: 760px;
  padding-bottom: 50px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3.7rem, 7vw, 7rem);
  max-width: 9ch;
}

.hero-copy .lead {
  max-width: 54ch;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.78);
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn-outline,
.btn-solid {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.btn-solid {
  background: var(--accent);
  color: white;
}

.btn-solid:hover {
  background: var(--accent-2);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  background: rgba(255,255,255,0.04);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 640px);
  background: linear-gradient(135deg, rgba(242,106,33,0.97), rgba(221,91,20,0.98));
  color: white;
  padding: 34px;
  border-radius: 0;
}

.hero-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.panel-list {
  display: grid;
  gap: 22px;
}

.panel-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
}

.panel-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border-left: 4px solid var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
  box-sizing: border-box;
}

.panel-icon span {
  display: block;
  width: 100%;
  text-align: center;
}

.panel-item h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.panel-item p {
  margin: 0;
  color: rgba(255,255,255,0.68);
}

/* ==========================================================================
   Sections - General
   ========================================================================== */

section { padding: 92px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.8rem);
  max-width: 12ch;
}

.section-head.center h2,
.section-head.center p,
.section-head.center .section-label {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head p,
.service-card p,
.feature-copy p,
.stat-card p,
.process-card p,
.contact-box p,
.footer p,
.about-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-image {
  height: 360px;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-2);
}

.s1 { background-image: url('https://yinati.com/wp-content/uploads/2026/03/img03.jpg'); }
.s2 { background-image: url('https://yinati.com/wp-content/uploads/2026/03/img08.jpg'); }
.s3 { background-image: url('https://yinati.com/wp-content/uploads/2026/03/img09.jpg'); }

.service-body {
  padding: 28px;
  border-top: 4px solid var(--accent);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-index {
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(16,17,20,0.10);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}

.service-body h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   Features / Approach Section
   ========================================================================== */

.dark-section {
  background:
    linear-gradient(135deg, rgba(20,24,35,0.96), rgba(15,17,23,0.98)),
    radial-gradient(circle at top right, rgba(242,106,33,0.10), transparent 24%);
  color: white;
}

.features-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.feature-image {
  min-height: 680px;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-2);
}

.feature-copy {
  padding: 10px 0;
}

.feature-copy .section-head p { color: rgba(255,255,255,0.72); }

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

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

.feature-no {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-left: 4px solid var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.feature-item h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.about-copy {
  max-width: 760px;
}

.tab-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.tab {
  padding: 18px 22px;
  font-weight: 600;
  color: #4b5563;
  border-right: 1px solid var(--line);
  text-align: center;
  background: transparent;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.tab.active {
  color: var(--accent);
  box-shadow: inset 0 4px 0 var(--accent);
  background: #fff;
}

.tab:last-child { border-right: 0; }

.tab-panels {
  margin-top: 4px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.about-visual {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 20px;
  align-items: start;
}

.portrait {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-2);
}

.stacked-visual {
  display: grid;
  gap: 20px;
}

.metric-box {
  padding: 8px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.metric-box strong {
  font-family: 'Manrope', sans-serif;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-box span {
  max-width: 12ch;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1f2937;
}

.building-shot {
  min-height: 460px;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-2);
  box-shadow: var(--shadow);
}

/* ==========================================================================
   Stats Band
   ========================================================================== */

.stats-band {
  background: linear-gradient(180deg, #f3f3f3, #ededed);
  border-top: 1px solid rgba(16,17,20,0.04);
  border-bottom: 1px solid rgba(16,17,20,0.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.stat-card {
  text-align: center;
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.stat-card strong {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 90px;
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(16,17,20,0.18);
  margin-bottom: 14px;
}

.stat-card p {
  margin: 0;
  max-width: 22ch;
}

/* ==========================================================================
   Process Section
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: var(--white);
  padding: 30px;
  border-top: 4px solid var(--accent);
  min-height: 240px;
  box-shadow: var(--shadow);
  position: relative;
}

.process-card .num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  color: rgba(16,17,20,0.08);
  font-weight: 800;
}

.process-card h3 {
  font-size: 1.45rem;
  margin: 38px 0 12px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  padding-top: 0;
}

.cta-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  background: var(--accent);
  overflow: hidden;
}

.cta-image {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-color: var(--accent);
}

.cta-box {
  padding: 54px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(242,106,33,0.96), rgba(210,82,15,0.98));
}

.cta-box h2 {
  max-width: 10ch;
  margin-bottom: 18px;
}

.cta-box p {
  max-width: 54ch;
  color: rgba(255,255,255,0.82);
  margin: 0 0 28px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, rgba(15,17,23,0.98), rgba(20,24,35,0.98));
  color: white;
}

.contact-box {
  padding: 38px 30px;
  border-right: 1px solid rgba(255,255,255,0.08);
  min-height: 260px;
}

.contact-box:first-child {
  background: var(--accent);
  color: white;
}

.contact-box:last-child { border-right: 0; }

.contact-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-box p,
.contact-box a { color: rgba(255,255,255,0.76); }

.contact-box:first-child p,
.contact-box:first-child a { color: rgba(255,255,255,0.88); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #0b0d12;
  color: white;
  padding: 34px 0 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,0.64);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: white;
}

.footer p { color: rgba(255,255,255,0.56); margin: 0; }

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

/* Alignment classes */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }

/* WordPress admin bar fix */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .nav {
    grid-template-columns: auto 1fr;
  }

  .nav-right {
    grid-column: span 2;
    justify-content: flex-end;
    padding-bottom: 16px;
  }

  .hero-grid,
  .features-wrap,
  .about-grid,
  .cta-band,
  .services-grid,
  .process-grid,
  .stats-grid,
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links { display: none; }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid rgba(16,17,20,0.06);
    margin-top: 14px;
    padding: 8px 0 0;
  }

  .nav-links.is-open a {
    padding: 16px 0 16px 18px;
    border-bottom: 1px solid rgba(16,17,20,0.06);
    text-align: left;
  }

  .nav,
  .hero-grid,
  .features-wrap,
  .about-grid,
  .about-visual,
  .cta-band,
  .services-grid,
  .process-grid,
  .stats-grid,
  .contact-wrap,
  .about-list,
  .tab-row {
    grid-template-columns: 1fr;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .phone-box { padding-left: 0; }

  .hero-frame,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid { padding: 64px 0 40px; }
  .hero-panel { width: 100%; }
  .feature-image,
  .portrait,
  .building-shot,
  .cta-image { min-height: 320px; }

  section { padding: 72px 0; }

  .contact-box {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .contact-box:last-child { border-bottom: 0; }

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