/* =========================================================
   improvements.css – Writer Relocations
   Global improvements: footer, contact, consistency fixes
   Load LAST after all other CSS files
   ========================================================= */

/* =====================================================
   IMPROVED FOOTER
   ===================================================== */
.site-footer {
  background: #0f0f0f;
}
.footer-inner {
  grid-template-columns: 1.6fr 1.1fr 1.3fr 1fr;
  gap: 44px;
  padding: 60px 0 50px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  margin-bottom: 18px;
  display: inline-flex;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-contact-info {
  margin-bottom: 22px;
}
.footer-contact-info a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-contact-info a:hover { color: var(--yellow); }
.footer-contact-info i {
  color: var(--yellow);
  font-size: 0.8rem;
  width: 14px;
  text-align: center;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}
.footer-col ul {
  margin-bottom: 0;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '›';
  color: var(--yellow);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 5px;
}

/* Footer contact block (4th col) */
.footer-contact-block p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: all 0.25s;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}
.footer-cta-btn:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateX(3px); }
.footer-wa-btn { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.3); color: #25d366; }
.footer-wa-btn:hover { background: rgba(37,211,102,0.25); color: #25d366; }
.footer-quote-btn { background: rgba(254,184,17,0.15); border-color: rgba(254,184,17,0.3); color: var(--yellow); }
.footer-quote-btn:hover { background: rgba(254,184,17,0.25); color: var(--yellow); }

.footer-certif {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-certif span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
}
.footer-certif i { color: var(--yellow); font-size: 0.75rem; }

.footer-bottom {
  background: #080808;
  border-top: none;
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-bottom a { color: rgba(254,184,17,0.7); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--yellow); }

/* =====================================================
   CONTACT PAGE TYPOGRAPHY
   ===================================================== */
.contact-hero h1 {
  font-size: clamp(2.0rem, 4vw, 3.0rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.contact-hero p {
  font-size: clamp(1.0rem, 1.8vw, 1.1rem);
  color: rgba(0,0,0,0.65);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 28px;
}

/* Branch card header */
.branch-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.branch-card-header span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* Branch detail labels */
.branch-detail-row strong {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 3px;
}
.branch-detail-row span,
.branch-detail-row a {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.5;
}
.branch-card-actions a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Contact form section */
.contact-form-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}
.contact-form-info p {
  font-size: 1.0rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}
.contact-quick-row {
  font-size: 0.92rem;
  font-weight: 500;
}
.contact-quick-row a {
  font-weight: 700;
  color: var(--text-main);
}

/* =====================================================
   SERVICES PAGE SPECIFIC
   ===================================================== */
.service-hero { background: var(--yellow); padding: 80px 0 60px; position: relative; overflow: hidden; }
.service-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.service-hero .container { position: relative; z-index: 2; }
.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.service-hero p {
  font-size: clamp(1.0rem, 1.8vw, 1.1rem);
  color: rgba(0,0,0,0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Service detail blocks */
.service-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:nth-child(even) { background: var(--cream); }
.service-block:last-child { border-bottom: none; }
.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-block-inner.reverse { direction: rtl; }
.service-block-inner.reverse > * { direction: ltr; }
.service-block-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.service-block-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.service-block-image .service-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--yellow);
  color: var(--black);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.service-block-content .service-icon-head {
  width: 52px; height: 52px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.service-block-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.0rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service-block-content p {
  font-size: 1.0rem;
  color: var(--text-body);
  line-height: 1.82;
  margin-bottom: 14px;
}
.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.service-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}
.service-benefit i {
  color: var(--yellow-dark);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* =====================================================
   COMPANY PROFILE PAGE
   ===================================================== */
.profile-hero { background: var(--yellow); padding: 80px 0 60px; position: relative; overflow: hidden; }
.profile-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.profile-hero .container { position: relative; z-index: 2; max-width: 860px; text-align: center; }
.profile-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.profile-hero p {
  font-size: clamp(1.0rem, 1.8vw, 1.1rem);
  color: rgba(0,0,0,0.65);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

.profile-section { padding: 72px 0; }
.profile-section.alt { background: var(--cream); }
.profile-section.dark-section { background: var(--dark); color: var(--white); }

.profile-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.profile-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.profile-story-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.profile-story-content p {
  font-size: 1.0rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
}
.profile-story-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.profile-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.profile-value-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  text-align: center;
}
.profile-value-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.profile-value-icon {
  width: 58px; height: 58px;
  background: var(--yellow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--black);
  margin: 0 auto 18px;
}
.profile-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.profile-value-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.72;
}

.profile-milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profile-milestone {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.profile-milestone:last-child { border-right: none; }
.milestone-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--yellow-dark);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.profile-milestone h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.profile-milestone p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.profile-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.profile-team-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.profile-team-card:hover {
  background: rgba(254,184,17,0.08);
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.profile-team-icon {
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--black);
  margin: 0 auto 14px;
}
.profile-team-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.profile-team-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.profile-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.profile-standard {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: var(--transition);
}
.profile-standard:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.profile-standard-icon {
  width: 44px; height: 44px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.profile-standard h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}
.profile-standard p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* =====================================================
   CITY IMAGE HERO (branch pages)
   ===================================================== */
.branch-city-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.branch-city-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.branch-city-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  border-radius: var(--radius-lg);
}
.branch-city-img-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.branch-city-img-caption i { color: var(--yellow); }

/* =====================================================
   CONSISTENT SERVICE IMAGE CARDS
   ===================================================== */
.service-img-unified {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img-unified { transform: scale(1.04); }

/* =====================================================
   RESPONSIVE IMPROVEMENTS
   ===================================================== */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .profile-milestones { grid-template-columns: repeat(2, 1fr); }
  .profile-milestone { border-bottom: 1px solid var(--border); }
  .profile-team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block-inner { grid-template-columns: 1fr 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .profile-story-grid { grid-template-columns: 1fr; gap: 36px; }
  .profile-values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block-inner { grid-template-columns: 1fr; }
  .service-block-inner.reverse { direction: ltr; }
  .profile-standards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .profile-milestones { grid-template-columns: 1fr 1fr; }
  .profile-values-grid { grid-template-columns: 1fr; }
  .profile-team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .service-block { padding: 52px 0; }
  .service-block-image img { height: 240px; }
}
