/*
Theme Name: Golshan Replacement
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
*/
:root {
  --green: #36a900;
  --green-dark: #257b00;
  --green-deep: #0b341f;
  --charcoal: #161d21;
  --ink: #181b1e;
  --muted: #667078;
  --line: #dfe5e7;
  --soft: #f5f8f5;
  --white: #ffffff;
  --shadow: 0 14px 38px rgba(15, 29, 20, .08);
  --radius: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-anchor { scroll-margin-top: 92px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.header-inner { min-height: 82px; display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 30px; }
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; justify-content: center; gap: 34px; font-weight: 700; font-size: 15px; }
.site-nav a { position: relative; padding: 29px 0 24px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--green); transition: .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav a.active { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link { display: flex; align-items: center; gap: 8px; color: var(--green-dark); }
.phone-link strong { display: block; font-size: 16px; }
.phone-link small { display: block; color: var(--ink); font-size: 11px; margin-top: 1px; }
.phone-icon { font-size: 20px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--ink); display: block; margin: 5px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #43b900, #2f9300); color: #fff; box-shadow: 0 8px 20px rgba(54,169,0,.18); }
.btn-primary:hover { background: linear-gradient(135deg, #4cc900, #2b8600); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.08); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.btn-small { min-height: 40px; padding: 0 17px; font-size: 13px; }
.text-link { color: #78d435; font-weight: 800; padding: 12px 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero { background: var(--charcoal); color: #fff; overflow: hidden; }
.hero .container { width: min(100%, 1440px); }
.hero-grid { display: grid; grid-template-columns: 42% 58%; min-height: 490px; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 60px 50px 60px max(36px, calc((100vw - 1180px)/2)); background: linear-gradient(90deg, #151c20 0%, #151c20 80%, rgba(21,28,32,.84) 100%); }
.hero-copy h1 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.1vw, 64px); line-height: .98; letter-spacing: -.025em; }
.hero-copy h1 span { color: #57c214; }
.hero-copy p { max-width: 540px; margin: 0 0 28px; font-size: 17px; color: #eef2f2; }
.hero-media { background: linear-gradient(90deg, rgba(21,28,32,.38), rgba(21,28,32,0) 25%), url('assets/images/hero-desk.jpg') center center / cover no-repeat; min-height: 490px; }

.services { padding: 58px 0 64px; text-align: center; }
.eyebrow { margin: 0 0 6px; color: var(--green-dark); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-align: center; }
.eyebrow-left { text-align: left; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.heading-rule { width: 32px; height: 3px; background: var(--green); margin: 13px auto 34px; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 18px 24px; min-height: 285px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { width: 62px; height: 62px; margin: 0 auto 16px; color: var(--green); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.2; }
.service-card p { margin: 0; color: #4d565c; font-size: 13px; }

.about { padding: 50px 0; background: linear-gradient(180deg, #f8faf9, #f1f5f2); border-top: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; }
.about-layout { display: grid; grid-template-columns: 240px minmax(0,1fr) 240px; gap: 44px; align-items: center; }
.team-person { text-align: center; }
.portrait-wrap { height: 248px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: #dfe6df; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-person:first-child .portrait-wrap img { object-position: center 42%; }
.team-person h3 { margin: 14px 0 2px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.team-person p { margin: 0; color: var(--green-dark); font-size: 13px; font-weight: 800; }
.about-copy p { color: #414a4f; margin: 14px 0; }
.about-copy h2 { margin-bottom: 18px; }
.trust-list { margin: 20px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list li > span { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 14px; font-weight: 900; }
.trust-list strong { display: block; }
.trust-list small { display: block; color: #697278; }

.process { padding: 52px 0 58px; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 12px; }
.process-step { position: relative; padding: 0 16px; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 42px; left: 72%; width: 58%; border-top: 2px dotted #cbd4cd; }
.step-number { position: relative; z-index: 2; width: 26px; height: 26px; margin: 0 auto -8px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.step-icon { width: 70px; height: 70px; margin: 0 auto 15px; border-radius: 50%; display: grid; place-items: center; background: #f3f7f3; border: 1px solid #e2e9e3; color: var(--green); font-size: 34px; font-weight: 800; }
.process-step h3 { margin: 0 0 7px; font-size: 16px; }
.process-step p { margin: 0; color: #505a60; font-size: 13px; }

.client-portal { color: #fff; background: radial-gradient(circle at 10% 50%, rgba(95,204,35,.12), transparent 30%), linear-gradient(110deg, #0c3b20, #092c1b 62%, #0f3524); padding: 24px 0; }
.client-grid { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; }
.portal-icon { width: 140px; height: 100px; margin-inline: auto; color: #5bc51e; }
.portal-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.client-copy h2 { font-size: 32px; }
.client-copy > p { margin: 6px 0 14px; color: #edf4ef; }
.portal-buttons .btn { min-height: 42px; }
.portal-note { font-size: 12px; opacity: .9; }

.benefits { background: #19211f; color: #fff; padding: 18px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.benefit { display: flex; align-items: center; gap: 14px; min-width: 0; }
.benefit > span { color: #5bc51e; font-size: 38px; line-height: 1; }
.benefit strong { display: block; font-size: 14px; }
.benefit small { display: block; color: #ccd2cf; font-size: 11px; line-height: 1.35; }

.contact { padding: 38px 0 46px; }
.contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 55px; align-items: start; }
.contact-copy { padding-right: 38px; border-right: 1px solid var(--line); }
.contact-copy p:last-child { color: #505a60; font-size: 14px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.form-field label { display: block; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #d9e0dc; border-radius: 5px; padding: 10px 12px; background: #fff; color: var(--ink); outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(54,169,0,.10); }
.form-field textarea { resize: vertical; min-height: 84px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.form-status { margin: 0; font-size: 13px; color: var(--green-dark); }

.site-footer { background: #171a1c; color: #dce0df; padding: 34px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1fr; gap: 45px; }
.site-footer h3 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.footer-brand img { width: 190px; filter: brightness(1.15); margin-bottom: 14px; }
.footer-brand a, .site-footer div:not(.footer-brand) > a, .site-footer div:not(.footer-brand) > span { display: block; font-size: 12px; margin: 5px 0; color: #e6e9e8; }
.footer-brand a { color: #e6e9e8; }
.site-footer p { font-size: 12px; color: #b9c0bd; }
.footer-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.footer-bottom p { margin: 6px auto; max-width: 1100px; font-size: 10px; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 190px auto; }
  .site-nav { grid-column: 1 / -1; order: 3; border-top: 1px solid #edf0ed; padding: 0 0 2px; }
  .site-nav a { padding: 12px 0; }
  .site-nav a::after { bottom: 5px; }
  .header-actions { justify-content: flex-end; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-layout { grid-template-columns: 200px minmax(0,1fr) 200px; gap: 28px; }
  .portrait-wrap { height: 220px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { position: sticky; }
  .header-inner { min-height: 70px; display: flex; gap: 16px; }
  .brand img { width: 160px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 10px 22px 18px; box-shadow: 0 16px 28px rgba(0,0,0,.09); border-top: 1px solid #edf0ed; }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 10px 0; }
  .header-actions .btn { display: none; }
  .phone-link small { display: none; }
  .phone-link strong { font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 440px; padding: 58px 28px; background: linear-gradient(90deg, rgba(18,25,29,.97), rgba(18,25,29,.76)), url('assets/images/hero-desk.jpg') center / cover no-repeat; }
  .hero-media { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr 1fr; }
  .about-copy { grid-column: 1 / -1; grid-row: 1; }
  .team-person { grid-row: 2; }
  .portrait-wrap { height: 300px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .process-step::after { display: none; }
  .client-grid { grid-template-columns: 110px 1fr; }
  .portal-icon { width: 100px; height: 85px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-copy { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .header-actions { display: none; }
  .hero-copy h1 { font-size: 43px; }
  .services, .about, .process { padding-block: 42px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .about-layout { grid-template-columns: 1fr; }
  .about-copy { grid-column: 1; grid-row: auto; order: 1; }
  .team-person { grid-row: auto; }
  .team-person:first-child { order: 2; }
  .team-person:last-child { order: 3; }
  .portrait-wrap { height: 360px; max-width: 320px; margin-inline: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; text-align: center; }
  .portal-buttons { justify-content: center; }
  .portal-icon { margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Native Columns retain the original grid sizes and responsive breakpoints. */
.golshan-site .wp-block-columns { display:grid !important; margin:0; }
.golshan-site .wp-block-column { min-width:0; margin:0; flex-basis:auto !important; }
.golshan-site .wp-block-image { margin:0; }
.golshan-site .wp-block-group { box-sizing:border-box; }
.golshan-site .wp-block-columns.process-grid { margin-top:12px; }
.golshan-site > * { margin-block-start:0; }
