:root {
  --brand-ink: #202124;
  --brand-paper: #ffffff;
  --brand-concrete: #68717a;
  --brand-orange: #f97316;
  --brand-line: #e5e7eb;
}

body { background: var(--brand-paper); color: var(--brand-concrete); }
.btn-whatsapp, .btn-telefono { display: flex !important; align-items: center; justify-content: center; width: 58px !important; height: 58px !important; right: 20px !important; border-radius: 50% !important; background: var(--brand-orange) !important; box-shadow: 0 10px 24px rgba(32, 33, 36, .22); line-height: 1; }
.btn-whatsapp { bottom: 158px !important; }
.btn-telefono { bottom: 90px !important; }
.btn-whatsapp img, .btn-telefono img { display: none !important; }
.btn-whatsapp a, .btn-telefono a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; }
.btn-whatsapp a::before { content: "\f232"; font-family: "Font Awesome 5 Brands"; font-size: 27px; }
.btn-telefono a::before { content: "\f095"; font-family: "Font Awesome 5 Free"; font-size: 24px; font-weight: 900; }
.header {
  height: 92px;
  padding: 0 4.5%;
  background: #202124;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .18);
  backdrop-filter: none;
}
.header.scrolled { height: 76px; background: #202124; }
.logo { padding-left: 0; flex-basis: auto; }
.logo-container { display: flex; align-items: center; width: 225px; height: 48px; background: transparent !important; background-color: transparent !important; border-radius: 0; overflow: visible; }
.logo-img { position: static; display: block; width: 225px; max-width: 100%; height: auto; transform: none; }
.logo-img[src*="worksReform_logo"] { content: url("../images/worksreform-brand-light.svg"); }
.footer img[src*="worksReform_logo"], .contact_logo_wrapper img[src*="worksReform_logo"] { content: url("../images/worksreform-brand.svg"); }
.main_nav { flex-basis: auto; margin-left: auto; }
.main_nav ul { margin-right: 36px; transform: none; }
.main_nav ul li { margin-right: 28px; }
.main_nav ul li a { color: #ffffff; font-size: 13px; font-weight: 600; }
.main_nav ul li a:hover, .main_nav ul li.active a { color: var(--brand-orange); }
.search p { color: var(--brand-orange); font-weight: 600; }
.menu_container { width: min(390px, 100vw); right: -100%; background: var(--brand-ink); box-shadow: -18px 0 45px rgba(0,0,0,.28); }
.menu_container.active { right: 0; opacity: 1; }
.menu { padding: 0; }
.menu::before { content: "WorksReform\A 614 10 08 21"; position: absolute; top: 34px; left: 30px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.8; white-space: pre; }
.menu_close { top: 26px; right: 24px; z-index: 1; }
.menu_close i { color: #fff; font-size: 26px; }
.menu_close:hover i { color: var(--brand-orange); }
.menu ul { display: flex; flex-direction: column; align-items: flex-start; padding: 132px 30px 40px; }
.menu ul li { width: 100%; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.menu ul li::after { display: none; }
.menu ul li a { display: block; padding: 15px 0; color: #fff; font-size: 23px; font-weight: 600; line-height: 1.2; }
.menu ul li.active a, .menu ul li a:hover { color: var(--brand-orange); }
.hero_overlay_box { align-items: flex-start !important; max-width: 760px; margin-left: 8%; padding: 48px 54px; background: linear-gradient(90deg, rgba(32,33,36,.86), rgba(32,33,36,.38), transparent); border-radius: 0; text-align: left; }
.hero-kicker { margin-bottom: 16px; color: var(--brand-orange); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.hero-title { max-width: 620px; margin-bottom: 16px; color: #fff; font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; }
.hero-subtitle { max-width: 520px; margin-bottom: 30px; color: rgba(255,255,255,.84); font-size: 17px; line-height: 1.65; }
.hero-btn { border-radius: 12px; }
.hero-btn.primary { background: var(--brand-orange); color: #fff; }
.hero-btn.primary:hover { background: #d85c0b; }
.hero-btn.secondary { background: #fff; color: var(--brand-ink); }
.hero-btn.secondary:hover { background: #f3f4f6; color: var(--brand-ink); }
.icon_boxes { background: #f8fafc; }
.icon_box_item { padding: 24px; border: 1px solid var(--brand-line); border-left: 3px solid var(--brand-orange); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(32, 33, 36, .06); }
.icon_box_item h2 { color: var(--brand-ink); }
.icon_box_item p { color: var(--brand-concrete); }
.button { border: 0; border-radius: 12px; background: var(--brand-orange); }
.button a { color: #fff; }
.button:hover { background: var(--brand-ink); }
.reply_submit_btn,
.newsletter_submit_button,
.sidebar_search_button,
input[type="submit"],
button[type="submit"],
.card-link,
.portfolio_category { border-radius: 12px !important; }
.card { border: 1px solid var(--brand-line); border-radius: 18px !important; overflow: hidden; box-shadow: 0 12px 30px rgba(32, 33, 36, .06); }
.card-img-top { border-radius: 18px 18px 0 0 !important; }
.device_image,
.device_image_background,
.blog_post_image,
.blog_post_image img,
.portfolio_image,
.portfolio_image img,
.reply_image,
.reply_image img { border-radius: 18px; overflow: hidden; }
.section_title h1, .icon_box_title h1 { color: var(--brand-ink); }
.contact { padding: 104px 0 120px; background: #f8fafc; }
#reply { scroll-margin-top: 110px; }
.contact .contact_row { align-items: stretch; }
.contact .reply, .contact .contact_info { height: 100%; padding: 34px; border: 1px solid var(--brand-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(32, 33, 36, .06); }
.contact .reply_title, .contact .contact_title { margin-bottom: 24px; color: var(--brand-ink); font-size: 28px; font-weight: 700; line-height: 1.2; }
.contact .contact_info_container p, .contact .contact_info_content li { color: var(--brand-concrete); }
.contact .contact_logo_wrapper { margin-bottom: 22px; }
.newsletter { background: var(--brand-ink); }
.newsletter .input-group { display: flex; align-items: stretch; gap: 12px; }
.newsletter .newsletter_email { width: auto; flex: 1 1 auto; height: 54px; margin: 0; padding: 0 20px; border: 1px solid var(--brand-line); border-radius: 12px !important; background: #fff !important; color: var(--brand-ink) !important; }
.newsletter .newsletter_submit_button { width: auto; min-width: 170px; height: 54px; border: 0 !important; border-radius: 12px !important; background: var(--brand-orange) !important; color: #fff !important; }
.newsletter .newsletter_submit_button:hover { background: #d85c0b !important; }
.newsletter .newsletter_email::placeholder { color: var(--brand-concrete) !important; opacity: 1; font-style: normal !important; }
.footer { background: var(--brand-paper); }
.footer_col_title { color: var(--brand-ink); }

/* Editorial blog layout. */
.blog { padding: 112px 0 128px; background: #f8fafc; }
.blog .container { max-width: 1180px; }
.blog .post_container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.blog .post_container .card { position: relative !important; top: auto !important; left: auto !important; width: auto !important; margin: 0 !important; background: #fff; }
.blog .post_container .card-img-top { width: 100%; height: 245px; object-fit: cover; }
.blog .post_container .card-body { padding: 28px 30px 30px; }
.blog .post_container .card-header { color: var(--brand-orange); background: transparent; border: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.blog .post_container .card-title { margin: 8px 0 12px; font-size: 23px; line-height: 1.2; }
.blog .post_container .card-title a { color: var(--brand-ink); }
.blog .post_container .card-title a:hover { color: var(--brand-orange); }
.blog .post_container .card-text { color: var(--brand-concrete); font-size: 14px; line-height: 1.7; }
.blog .sidebar { position: sticky; top: 112px; padding: 28px; border: 1px solid var(--brand-line); border-radius: 18px; background: #fff; }
.blog .sidebar_search_input { border: 1px solid var(--brand-line); border-radius: 12px; }
.blog .sidebar_section_title { color: var(--brand-ink); font-weight: 700; }
.blog .blog_pages { margin-top: 42px; }
.home_title h2 { color: #fff; font-size: clamp(42px, 7vw, 76px); font-weight: 700; letter-spacing: -.04em; }
.home_title { z-index: 2; }
.home_title p { margin-top: 14px; color: rgba(255,255,255,.84); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.home_background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32,33,36,.82), rgba(32,33,36,.28)); }
.blog-whatsapp-cta { display: flex; flex-direction: column; gap: 9px; margin-top: 42px; padding: 26px 28px; border-left: 4px solid var(--brand-orange); border-radius: 14px; background: #f8fafc; }
.blog-whatsapp-cta strong { color: var(--brand-ink); font-size: 20px; line-height: 1.25; }
.blog-whatsapp-cta span { color: var(--brand-concrete); }
.blog-whatsapp-cta a { align-self: flex-start; margin-top: 5px; padding: 11px 16px; border-radius: 12px; background: var(--brand-orange); color: #fff; font-weight: 700; }

/* Portfolio and project detail pages use the same visual system. */
.portfolio { padding: 96px 0 120px; background: #f8fafc; }
.portfolio_categories { margin-bottom: 42px; }
.portfolio_categories ul { display: flex; flex-wrap: wrap; gap: 10px; }
.portfolio_category { padding: 10px 18px; border: 1px solid var(--brand-line); background: #fff; color: var(--brand-concrete); cursor: pointer; }
.portfolio_category.active, .portfolio_category:hover { border-color: var(--brand-orange); background: var(--brand-orange); color: #fff; }
.portfolio_items { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.portfolio_items .card { position: static !important; width: auto !important; margin: 0 !important; background: #fff; }
.portfolio_items .card.is-filtered-out { display: none !important; }
.portfolio_items .card_image { height: 245px; overflow: hidden; }
.portfolio_items .card-img-top { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.portfolio_items .card:hover .card-img-top { transform: scale(1.04); }
.portfolio_items .card-body { padding: 26px 28px 30px; }
.portfolio_items .card-header { color: var(--brand-orange); background: transparent; border: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.portfolio_items .card-title { margin: 8px 0 12px; color: var(--brand-ink); font-size: 22px; line-height: 1.2; }
.portfolio_items .card-text { color: var(--brand-concrete); font-size: 14px; line-height: 1.7; }
.portfolio_items .card-link { display: inline-block; margin-top: 18px; color: var(--brand-ink); font-weight: 700; }
.portfolio_items .card-link a { color: inherit; }
.portfolio_items .card { cursor: pointer; }
.portfolio_items .card-link { display: none; }
.portfolio_slider_container { height: min(620px, 72vh) !important; overflow: hidden; border-radius: 0 0 24px 24px; }
.portfolio_slider, .slider_item, .slider_item_background { height: 100% !important; }
.portfolio_content { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.portfolio_title { color: var(--brand-ink); font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.portfolio_category { color: var(--brand-orange); }
.portfolio_text { color: var(--brand-concrete); }
.portfolio_button { border: 0 !important; border-radius: 12px; background: var(--brand-orange) !important; }
.portfolio_button a { color: #fff; }
.portfolio_info_box { padding: 24px 26px; border: 1px solid var(--brand-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 32px rgba(32, 33, 36, .08); overflow: hidden; }
.portfolio_info_box .info_box_item { padding: 15px 0; border-bottom: 1px solid var(--brand-line); }
.portfolio_info_box .info_box_item:last-child { border-bottom: 0; }
.portfolio_info_box .info_box_title { color: var(--brand-orange); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.portfolio_info_box .info_box_content { color: var(--brand-ink); font-weight: 600; }
.project-detail-page { background: #f8fafc; }
.project-detail-page .header { position: relative; display: flex; width: 100%; min-height: 92px; z-index: 10; }
.project-detail-page .main_nav { display: block; }
.project-detail-page .main_nav ul { display: flex; align-items: center; margin: 0; padding: 0; }
.project-detail-page .main_nav li { display: block; }
.project-detail-page .main_nav a { display: block; }
.project-detail { padding: 72px 20px 120px; }
.project-detail-inner { max-width: 1180px; margin: 0 auto; }
.project-detail-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; margin-bottom: 54px; }
.project-detail-hero img { width: 100%; height: 520px; object-fit: cover; border-radius: 22px; }
.project-detail-kicker { margin-bottom: 16px; color: var(--brand-orange); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.project-detail h1 { margin: 0 0 20px; color: var(--brand-ink); font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.05em; }
.project-detail-lead { color: var(--brand-concrete); font-size: 18px; line-height: 1.7; }
.project-detail-seo { max-width: 780px; margin: 0 0 54px; padding: 32px 0; border-top: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); }
.project-detail-seo h2 { margin: 0 0 16px; color: var(--brand-ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.project-detail-seo p { color: var(--brand-concrete); line-height: 1.8; }
.project-detail-seo a { display: inline-block; margin-top: 8px; color: var(--brand-orange); font-weight: 700; }
.project-detail-body { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; }
.project-detail-body h2 { margin-bottom: 18px; color: var(--brand-ink); font-size: 30px; }
.project-detail-body p { color: var(--brand-concrete); line-height: 1.8; }
.project-detail-facts { align-self: start; padding: 26px; border: 1px solid var(--brand-line); border-radius: 18px; background: #fff; }
.project-detail-facts div { padding: 14px 0; border-bottom: 1px solid var(--brand-line); }
.project-detail-facts div:last-child { border-bottom: 0; }
.project-detail-facts small { display: block; margin-bottom: 3px; color: var(--brand-orange); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-detail-facts strong { color: var(--brand-ink); }
.project-detail-cta { display: inline-block; margin-top: 28px; padding: 13px 20px; border-radius: 12px; background: var(--brand-orange); color: #fff; font-weight: 700; }
@media only screen and (max-width: 767px) {
  .project-detail-page .main_nav { display: none; }
  .project-detail { padding: 48px 18px 80px; }
  .project-detail-hero, .project-detail-body { grid-template-columns: 1fr; gap: 28px; }
  .project-detail-hero img { height: 320px; }
}

@media only screen and (max-width: 991px) {
  .menu_container { width: min(390px, 100vw); }
}

/* Rounded image treatment without changing layout, dimensions or position. */
.v_slider_image,
.v_slider_image img,
.features_image,
.features_image img,
.services_item_inner,
.services_item_inner img,
.blog_image img,
.portfolio_image img,
.contact_logo_wrapper img { border-radius: 18px; overflow: hidden; }
.v_slider_image img,
.features_image img,
.services_item_inner img,
.blog_image img,
.portfolio_image img,
.contact_logo_wrapper img { display: block; }

.features_image { width: 100%; max-width: 560px; height: auto; }
.features_image img { width: 100%; height: auto; object-fit: contain; }

.work-showcase { padding: 112px 0 120px; background: #fff; }
.work-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-kicker { display: block; margin-bottom: 14px; color: var(--brand-orange); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.work-showcase-heading h2 { max-width: 590px; margin: 0; color: var(--brand-ink); font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -.04em; }
.work-showcase-link { flex: 0 0 auto; padding-bottom: 7px; color: var(--brand-ink); border-bottom: 1px solid var(--brand-orange); font-weight: 700; }
.work-showcase-link:hover { color: var(--brand-orange); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.work-card { position: relative; display: block; min-height: 0; overflow: hidden; border-radius: 18px; background: var(--brand-ink); }
.work-card-featured { grid-column: span 2; grid-row: span 2; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.75,.25,1); }
.work-card:hover img { transform: scale(1.04); }
.work-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(32,33,36,.86)); }
.work-card-overlay { position: absolute; right: 24px; bottom: 22px; left: 24px; z-index: 1; display: flex; flex-direction: column; color: #fff; }
.work-card-overlay small { margin-bottom: 5px; color: var(--brand-orange); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.work-card-overlay strong { font-size: 20px; line-height: 1.2; }

/* Keeps the service gallery inside the viewport at every breakpoint. */
.services_slider_container { height: auto; overflow: hidden; padding: 0 4%; }
.service_slider_outer { width: 100%; height: auto; }
.services_slider { height: auto; }
.services_slider .owl-stage-outer { padding: 24px 0 70px; }
.services_slider .owl-stage { right: auto; }
.services_slider .owl-item.center { margin-left: 0 !important; margin-right: 0 !important; }
.services_item_inner { min-height: 420px; height: 420px !important; padding: 36px 34px; }
.services_slider .service_item_button { position: static; visibility: visible; opacity: 1; margin-top: 24px; }
.services_slider .service_item_icon { position: static; margin-bottom: 22px; }

/* Motion affects content blocks only; images keep their position and dimensions. */
.motion-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); transition-delay: var(--motion-delay, 0ms); }
.motion-reveal.is-visible { opacity: 1; transform: none; }
.service_item,
.portfolio_items .card,
.blog .post_container .card,
.blog_container,
.contact .reply,
.contact .contact_info { transition: transform .3s ease, box-shadow .3s ease; }
.service_item:hover,
.portfolio_items .card:hover,
.blog .post_container .card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(32, 33, 36, .12); }
@media (prefers-reduced-motion: reduce) {
  .motion-reveal { opacity: 1; transform: none; transition: none; }
}

@media only screen and (max-width: 767px) {
  .header { height: 74px; padding: 0 18px; }
  .logo-container, .logo-img { width: 188px; height: auto; }
  .hero_overlay_box { max-width: none; margin: 0 18px; padding: 34px 22px; background: linear-gradient(90deg, rgba(32,33,36,.88), rgba(32,33,36,.45)); }
  .hero-title { font-size: clamp(42px, 12vw, 58px); }
  .hero-subtitle { font-size: 15px; }
  .work-showcase { padding: 78px 0; }
  .work-showcase-heading { display: block; margin-bottom: 28px; }
  .work-showcase-link { display: inline-block; margin-top: 22px; }
  .work-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .work-card-featured { grid-column: auto; grid-row: auto; }
  .blog { padding: 74px 0 88px; }
  .blog .post_container { grid-template-columns: 1fr; }
  .blog .sidebar { position: static; margin-top: 36px; }
  .portfolio_items { grid-template-columns: 1fr; }
  .portfolio_categories ul { gap: 8px; }
  .portfolio_slider_container { height: 48vh !important; }
  .newsletter .input-group { flex-direction: column; }
  .newsletter .newsletter_email, .newsletter .newsletter_submit_button { width: 100%; min-width: 0; }
}
