/*
Theme Name: dow
Theme URI: https://dow.ro
Author: DOW MEDIA
Description: Tema custom pentru dow.ro
Version: 1.0
Text Domain: dow
*/

* { box-sizing: border-box; }
body { margin: 0; background: #ffffff; color: #0b0b0b; font-family: "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6; }
a { color: #0b0b0b; text-decoration: none; }
a:hover { color: #c30128; }
img { max-width: 100%; height: auto; }

.dow-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.dow-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }

.site-header { border-bottom: 1px solid #e8e5e0; }
.site-header .dow-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-top: 22px; padding-bottom: 22px; }
.site-logo { font-family: "BBH Bartle", "Instrument Sans", sans-serif; font-size: 36px; line-height: 1; letter-spacing: -0.04em; color: #3a3a3a; }
.site-logo:hover { color: #c30128; }
.site-header-right { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: #4a4643; }
.site-nav a:hover { color: #c30128; }
.site-nav a::before { content: ""; display: none; width: 16px; height: 16px; flex: none; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.site-nav li.dow-icon-servicii > a::before { display: inline-block; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.8V20h14V9.8'/><path d='M9.5 20v-5.5h5V20'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.8V20h14V9.8'/><path d='M9.5 20v-5.5h5V20'/></svg>"); }
.site-nav li.dow-icon-presa > a::before { display: inline-block; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 5h11v14H4z'/><path d='M15 9h4a1 1 0 0 1 1 1v7.5a1.5 1.5 0 0 1-3 0V17h-2'/><path d='M7 8.5h5M7 12h5M7 15.5h3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 5h11v14H4z'/><path d='M15 9h4a1 1 0 0 1 1 1v7.5a1.5 1.5 0 0 1-3 0V17h-2'/><path d='M7 8.5h5M7 12h5M7 15.5h3'/></svg>"); }
.site-nav li.dow-icon-suport > a::before { display: inline-block; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14.5 6.5a4 4 0 1 0 4.8 4.8l-2.2-2.2 1.4-1.4 2.2 2.2A6 6 0 1 1 12.9 3l-1.4 1.4z'/><path d='M12 10 4 18l2 2 8-8'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14.5 6.5a4 4 0 1 0 4.8 4.8l-2.2-2.2 1.4-1.4 2.2 2.2A6 6 0 1 1 12.9 3l-1.4 1.4z'/><path d='M12 10 4 18l2 2 8-8'/></svg>"); }
.site-nav li.dow-icon-contact > a::before { display: inline-block; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M20 15a2 2 0 0 1-2 2H8l-4 3V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M20 15a2 2 0 0 1-2 2H8l-4 3V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z'/></svg>"); }
.site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.site-phone { display: flex; align-items: center; gap: 8px; background: #0b0b0b; color: #ffffff; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.site-phone:hover { background: #c30128; color: #ffffff; }
.site-whatsapp { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #25d366; color: #ffffff; border-radius: 999px; }
.site-whatsapp:hover { background: #1da851; color: #ffffff; }

.site-main { padding: 48px 0 72px; }
.page-title { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; }
.page-sub { color: #6b6660; margin: 0 0 36px; }

.entry-content h2 { font-family: "Space Grotesk", sans-serif; font-size: 26px; margin: 36px 0 12px; }
.entry-content h3 { font-family: "Space Grotesk", sans-serif; font-size: 20px; margin: 28px 0 10px; }

.presa-year { font-family: "Space Grotesk", sans-serif; font-size: 24px; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 1px solid #e8e5e0; }
.presa-list { list-style: none; margin: 0; padding: 0; }
.presa-list li { padding: 9px 0; border-bottom: 1px dashed #efece7; display: flex; gap: 16px; align-items: baseline; }
.presa-list time { color: #a09a92; font-size: 13px; white-space: nowrap; min-width: 74px; }
.presa-list a { font-weight: 500; }

.dow-form { max-width: 640px; }
.dow-form label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 6px; }
.dow-form input[type=text], .dow-form input[type=email], .dow-form input[type=tel], .dow-form select, .dow-form textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: #0b0b0b; background: #ffffff; border: 1px solid #d9d4cd; border-radius: 10px; }
.dow-form input:focus, .dow-form select:focus, .dow-form textarea:focus { outline: none; border-color: #c30128; }
.dow-form textarea { min-height: 150px; resize: vertical; }
.dow-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 6px; }
.dow-checks label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; margin: 0; cursor: pointer; }
.dow-checks input { margin-top: 4px; accent-color: #c30128; }
.dow-alt { display: none; margin-top: 10px; }
.dow-alt.on { display: block; }
.dow-radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dow-radios label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: 14px; border: 1px solid #d9d4cd; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.dow-radios input { accent-color: #c30128; }
.dow-radios label:has(input:checked) { border-color: #c30128; color: #c30128; background: #fdf3f5; }
.dow-turnstile { margin-top: 22px; }
.dow-submit { margin-top: 22px; display: inline-block; font: inherit; font-weight: 600; font-size: 15px; color: #ffffff; background: #c30128; border: 0; border-radius: 999px; padding: 13px 30px; cursor: pointer; }
.dow-submit:hover { background: #a00121; }
.dow-hp { position: absolute; left: -9999px; }

.dow-msg { margin: 0 0 28px; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.dow-msg.ok { background: #eef7ef; color: #1c6b2a; border: 1px solid #cfe8d3; }
.dow-msg.err { background: #fdf1f3; color: #a00121; border: 1px solid #f2ccd4; }

.contact-locations { padding: 64px 0 0; }
.contact-locations h2 { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.06; margin: 0 0 24px; letter-spacing: -0.04em; }
.contact-locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: #ffffff; }
.contact-location { background: #ffffff; box-shadow: 0 0 0 1px #e8e5e0; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.contact-location h3 { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.contact-location p { margin: 0; font-size: 15px; line-height: 1.6; color: #6b6660; }
.contact-location-company { font-weight: 600; color: #0b0b0b; }
.contact-location a { font-weight: 600; color: #0b0b0b; }
.contact-location a:hover { color: #c30128; }

.contact-form-intro { margin: 64px 0 28px; }
.contact-form-intro h2 { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); margin: 0 0 16px; letter-spacing: -0.04em; }
.contact-form-intro p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: #4a4643; }
.contact-note { margin-top: 36px; padding: 22px 24px; background: #f5f3f0; border-radius: 14px; }
.contact-note strong { display: block; margin-bottom: 6px; font-size: 15px; }
.contact-note p { margin: 0; font-size: 14px; line-height: 1.55; color: #6b6660; }

.dow-sticky-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-top: 1px solid #0b0b0b; border-bottom: 1px solid #e8e5e0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 12px 0; }
.dow-sticky-nav a { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; padding: 7px 18px; color: #0b0b0b; border-right: 1px solid #e8e5e0; }
.dow-sticky-nav a:last-child { border-right: none; }
.dow-sticky-nav a:hover { color: #c30128; }
.dow-sticky-num { color: #c30128; font-weight: 700; }

.dow-hero { margin: 40px 0 24px; background: #c30128; color: #ffffff; border-radius: 28px; padding: clamp(32px, 4.5vw, 68px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: end; }
.dow-hero-eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #ffffff; font-weight: 600; margin-bottom: 24px; }
.dow-hero-title { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; margin: 0; letter-spacing: -0.045em; color: #ffffff; }
.dow-hero-lead { font-size: 19px; line-height: 1.55; color: #ffffff; max-width: 56ch; margin: 24px 0 0; }
.dow-hero-side { display: flex; flex-direction: column; gap: 22px; }
.dow-hero-highlight { margin: 0; font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-size: 20px; line-height: 1.3; letter-spacing: -0.03em; color: #ffffff; font-weight: 600; }
.dow-hero-stats { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.35); }
.dow-hero-stats > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.35); font-size: 15px; color: #ffffff; }
.dow-hero-stats strong { font-weight: 600; }
.dow-hero-cta { align-self: start; background: #ffffff; color: #c30128; padding: 13px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.dow-hero-cta:hover { background: #0b0b0b; color: #ffffff; }

.dow-about { padding: 64px 0; border-top: 1px solid #e8e5e0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.dow-about-text { display: flex; flex-direction: column; gap: 24px; }
.dow-about-text h2 { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.1; margin: 0; letter-spacing: -0.04em; }
.dow-about-body { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.62; color: #4a4643; }
.dow-about-body p { margin: 0; }
.dow-about-img { width: 100%; min-height: 360px; object-fit: cover; border-radius: 20px; background: #f5f3f0; }
.dow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dow-chip { border: 1px solid #e0dcd6; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: #0b0b0b; }
.dow-chip:hover { border-color: #c30128; color: #c30128; }

.dow-section { padding: 80px 0 0; }
.dow-section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; margin-bottom: 40px; }
.dow-section-num { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: #c30128; margin-bottom: 14px; }
.dow-section-title { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.06; margin: 0; letter-spacing: -0.04em; }
.dow-section-desc { margin: 0; font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; color: #0b0b0b; max-width: 46ch; background: #f5f3f0; border-radius: 18px; padding: 26px 28px; }

.dow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: #ffffff; }
.dow-card { background: #ffffff; box-shadow: 0 0 0 1px #e8e5e0; padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.dow-card.dow-card-sm { min-height: 280px; }
.dow-card:hover { background: #faf9f7; }
.dow-card-logo { height: 66px; display: flex; align-items: center; }
.dow-card-logo img { max-height: 58px; max-width: 240px; object-fit: contain; }
.dow-card-logo-placeholder { display: inline-flex; align-items: center; height: 58px; padding: 0 18px; border: 1px dashed #cfc9c1; border-radius: 4px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #767066; }
.dow-card-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.dow-card-text { margin: 0; font-size: 15px; line-height: 1.55; color: #6b6660; }
.dow-card-text strong { color: #0b0b0b; }
.dow-card-link { margin-top: auto; font-size: 14px; font-weight: 600; }

@keyframes dowDrift { 0% { background-position: 0 0, 0 0, 0 0; } 100% { background-position: 240px -240px, 0 0, 0 0; } }
@keyframes dowGlow { 0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.55; } 50% { transform: translate3d(6%, -4%, 0) scale(1.15); opacity: 0.8; } }
@media (prefers-reduced-motion: reduce) { .footer-cta-anim { animation: none !important; } }

.footer-locations { padding: 88px 0 0; }
.footer-locations-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; margin-bottom: 40px; }
.footer-locations-intro h2 { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.06; margin: 0 0 14px; letter-spacing: -0.04em; }
.footer-locations-tag { margin: 0; font-size: 18px; line-height: 1.45; color: #c30128; font-weight: 600; max-width: 34ch; }
.footer-locations-desc { margin: 0; font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; color: #0b0b0b; max-width: 46ch; background: #f5f3f0; border-radius: 18px; padding: 26px 28px; }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: #ffffff; }
.location-card { background: #ffffff; box-shadow: 0 0 0 1px #e8e5e0; padding: 26px; display: grid; grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr); gap: 20px; align-items: center; }
.location-card img { width: 100%; min-height: 170px; object-fit: cover; border-radius: 12px; background: #f5f3f0; }
.location-card h3 { font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-size: 24px; font-weight: 600; margin: 0 0 12px; line-height: 1.15; letter-spacing: -0.01em; }
.location-card p { margin: 0 0 12px; }
.location-company { font-size: 16px; font-weight: 600; }
.location-address { font-size: 15px; line-height: 1.6; color: #6b6660; }
.location-phone { font-size: 17px; font-weight: 600; display: inline-block; }

.footer-cta { position: relative; overflow: hidden; margin: 48px 0 0; background: linear-gradient(135deg, #e01235 0%, #c30128 45%, #8c0018 100%); color: #ffffff; border-radius: 28px; padding: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.footer-cta-anim.stripes { position: absolute; inset: -20%; pointer-events: none; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 2px, rgba(255,255,255,0) 2px 24px), radial-gradient(closest-side, rgba(255,255,255,0.14), rgba(255,255,255,0) 70%), radial-gradient(closest-side, rgba(0,0,0,0.22), rgba(0,0,0,0) 70%); background-size: 240px 240px, 60% 60%, 55% 55%; background-position: 0 0, 8% 10%, 85% 88%; background-repeat: repeat, no-repeat, no-repeat; animation: dowDrift 22s linear infinite; }
.footer-cta-anim.glow { position: absolute; width: 52%; aspect-ratio: 1; right: -8%; top: -18%; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,0.3), rgba(255,255,255,0)); animation: dowGlow 14s ease-in-out infinite; }
.footer-cta h2 { position: relative; font-family: "Space Grotesk", "Instrument Sans", sans-serif; font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; margin: 0; letter-spacing: -0.04em; text-shadow: 0 2px 18px rgba(255,255,255,0.22); }
.footer-cta-text { position: relative; display: flex; flex-direction: column; gap: 20px; }
.footer-cta-text p { margin: 0; font-size: 18px; line-height: 1.55; color: #ffffff; }
.footer-cta-btn { align-self: start; display: flex; align-items: center; gap: 10px; background: #ffffff; color: #0b0b0b; padding: 16px 28px; border-radius: 999px; font-size: 16px; font-weight: 600; }
.footer-cta-btn:hover { background: #0b0b0b; color: #ffffff; }

.site-footer { border-top: 1px solid #e8e5e0; }
.site-footer .dow-wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 48px; }
.footer-logo { font-family: "BBH Bartle", "Instrument Sans", sans-serif; font-size: 26px; line-height: 1; }
.footer-right { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.footer-right p { margin: 0; font-size: 14px; color: #6b6660; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.footer-nav a:hover { color: #c30128; }

@media (max-width: 760px) {
  .dow-wrap, .dow-narrow { padding-left: 20px; padding-right: 20px; }
  .site-logo { font-size: 30px; }
  .site-nav ul { gap: 10px 20px; }
  .page-title { font-size: 30px; }
  .site-main { padding: 32px 0 56px; }
  .dow-checks { grid-template-columns: 1fr; }
  .presa-list li { flex-direction: column; gap: 2px; }
  .presa-list time { min-width: 0; }
  .location-card { grid-template-columns: 1fr; text-align: center; }
  .location-card img { min-height: 140px; }
  .dow-card { min-height: 0; }
  .dow-card.dow-card-sm { min-height: 0; }
  .contact-location { text-align: center; }
}
