/* =========================================================
   Kemendy és Társa Kft. — Heritage Modern Design System
   ========================================================= */

/* --- Google Fonts import (self-contained fallback stack) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-bg:          #f5f2ec;
  --color-bg-alt:      #ede9e0;
  --color-bg-dark:     #2a2e24;
  --color-green:       #3a4a2e;
  --color-green-mid:   #4e6038;
  --color-green-light: #6b7c50;
  --color-graphite:    #2c2c2c;
  --color-graphite-mid:#4a4a4a;
  --color-text:        #2c2c2c;
  --color-text-mid:    #5a5a5a;
  --color-text-light:  #888;
  --color-copper:      #8b6340;
  --color-copper-light:#b08060;
  --color-border:      #c8c0b0;
  --color-border-light:#ddd8cc;
  --color-white:       #ffffff;

  --font-serif:  'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-width:   1160px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --section-gap: clamp(3.5rem, 7vw, 6rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--color-graphite);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--color-text-mid); }
p:last-child { margin-bottom: 0; }

strong { color: var(--color-graphite); font-weight: 600; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-gap) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-bg);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--color-bg); }
.section--dark p { color: #b8b4aa; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--color-copper);
  margin: 1.25rem 0 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}
.btn--primary:hover {
  background: var(--color-green-mid);
  border-color: var(--color-green-mid);
}

.btn--secondary {
  background: transparent;
  color: var(--color-green);
  border-color: var(--color-green);
}
.btn--secondary:hover {
  background: var(--color-green);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-bg);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-bg);
}

.btn--text {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-green);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn--text:hover { color: var(--color-copper); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
}

.header-top {
  background: var(--color-green);
  color: var(--color-bg);
  font-size: 0.8rem;
  padding: 0.4rem var(--gutter);
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}
.header-top a { color: var(--color-bg); opacity: 0.85; }
.header-top a:hover { opacity: 1; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--color-text-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-main a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-graphite-mid);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: color 0.15s;
}
.nav-main a:hover,
.nav-main a.active { color: var(--color-green); }

.nav-cta { margin-left: 0.5rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-graphite);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
  padding: 1rem var(--gutter) 1.5rem;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-graphite);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 0.75rem; width: 100%; text-align: center; }

/* --- Hero --- */
.hero {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-content {
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-bottom: 1rem;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero-sub {
  font-size: 1.05rem;
  max-width: 480px;
  color: var(--color-text-mid);
  margin-bottom: 0;
}

.hero-visual {
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 2px;
}

.photo-placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.photo-placeholder p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  max-width: 260px;
  margin: 0;
  line-height: 1.5;
}

/* --- Story Panel --- */
.story-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.story-panel--reverse { direction: rtl; }
.story-panel--reverse > * { direction: ltr; }

.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--color-green);
  border-left: 3px solid var(--color-copper);
  padding-left: 1.25rem;
  margin: 2rem 0;
  line-height: 1.4;
}

/* --- Team / Expertise --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  padding: 1.5rem;
  border-radius: 2px;
}

.team-card-count {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.team-card h4 { font-size: 0.9rem; color: var(--color-graphite); margin-bottom: 0.25rem; }
.team-card p { font-size: 0.82rem; color: var(--color-text-light); margin: 0; }

/* --- Service Cards --- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  padding: 2rem 1.75rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.service-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--color-copper);
}

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { flex: 1; font-size: 0.92rem; }
.service-card .btn--text { margin-top: 1.25rem; }

/* --- Differentiators --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.diff-block {
  padding: 1.75rem 0;
  border-top: 2px solid var(--color-copper);
}

.diff-block h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.diff-block p { font-size: 0.9rem; }

/* --- References --- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--color-border);
}

.ref-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.ref-item:nth-child(2n) { border-right: none; }
.ref-item:nth-last-child(-n+2) { border-bottom: none; }

.ref-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-graphite);
  flex: 1;
}

.ref-item-year {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-copper);
  white-space: nowrap;
}

/* --- Reference Archive (full page) --- */
.ref-archive {
  margin-top: 2.5rem;
}

.ref-archive-section { margin-bottom: 3rem; }

.ref-archive-section h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.ref-archive-list { }

.ref-archive-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border-light);
  gap: 1.5rem;
}
.ref-archive-item:last-child { border-bottom: none; }

.ref-archive-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-graphite);
}

.ref-archive-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.process-step {
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.process-step h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.process-step p { font-size: 0.88rem; }

/* --- FAQ Accordion --- */
.faq-list { margin-top: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-graphite);
  gap: 1rem;
  user-select: none;
}

.faq-question:hover { color: var(--color-green); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--color-copper);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-mid);
}
.faq-item.open .faq-answer { display: block; }

/* --- Final CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--section-gap) var(--gutter);
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { max-width: 520px; margin: 0 auto 0; }
.cta-section .cta-group { justify-content: center; }

/* --- Partners --- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.partner-tag {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-graphite-mid);
  border-radius: 2px;
}

/* --- Company Data Card --- */
.cegadat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: 2px;
}

.cegadat-row {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.92rem;
}
.cegadat-row:last-child { border-bottom: none; }

.cegadat-label {
  font-weight: 600;
  color: var(--color-graphite);
  min-width: 180px;
  flex-shrink: 0;
}

.cegadat-value { color: var(--color-text-mid); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-graphite);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-graphite);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 0.7rem 1rem;
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-green); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-microcopy {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: -0.5rem;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--color-bg-dark);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-hero .container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.page-hero .section-label { color: var(--color-copper-light); }
.page-hero h1 { color: var(--color-bg); margin-bottom: 0.75rem; }
.page-hero p { color: #a8a49c; max-width: 600px; font-size: 1.05rem; }

/* --- Service Split Section --- */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.service-split:last-child { border-bottom: none; }

.service-split-visual {
  background: var(--color-bg-dark);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-list {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--color-text-mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-copper);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* --- Timeline --- */
.timeline {
  margin: 2rem 0;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.625rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-copper);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-copper);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-copper);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.timeline-item h4 { margin-bottom: 0.25rem; }
.timeline-item p { font-size: 0.9rem; margin: 0; }

/* --- Footer --- */
.site-footer {
  background: var(--color-bg-dark);
  color: #a8a49c;
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-name { color: var(--color-bg); font-size: 1.1rem; }
.footer-brand .logo-sub { color: #6a6660; }

.footer-motto {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-copper-light);
  margin-top: 1rem;
  line-height: 1.5;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6660;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.88rem; color: #a8a49c; transition: color 0.15s; }
.footer-col ul a:hover { color: var(--color-bg); }

.footer-contact p { font-size: 0.88rem; line-height: 1.8; }
.footer-contact a { color: #a8a49c; }
.footer-contact a:hover { color: var(--color-bg); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #5a5650;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --- Sticky mobile CTA --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-green);
  padding: 0.85rem var(--gutter);
  text-align: center;
}
.sticky-cta a {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .service-cards { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-main, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 2.5rem var(--gutter); }

  .story-panel { grid-template-columns: 1fr; gap: 2rem; }
  .story-panel--reverse { direction: ltr; }

  .service-cards { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .ref-item { border-right: none !important; }
  .ref-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .ref-item:last-child { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-split { grid-template-columns: 1fr; gap: 2rem; }
  .service-split-visual { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cegadat-label { min-width: 130px; }

  .sticky-cta { display: block; }
  body { padding-bottom: 56px; }

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

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .cegadat-row { flex-direction: column; gap: 0.15rem; }
  .cegadat-label { min-width: unset; }
}
