{"id":103151,"date":"2026-06-29T12:23:16","date_gmt":"2026-06-29T12:23:16","guid":{"rendered":"https:\/\/onlytexaspros.com\/soluciones-digitales\/?page_id=103151"},"modified":"2026-06-29T12:25:12","modified_gmt":"2026-06-29T12:25:12","slug":"custom-decks-and-pergolas","status":"publish","type":"page","link":"https:\/\/onlytexaspros.com\/soluciones-digitales\/custom-decks-and-pergolas\/","title":{"rendered":"Custom Decks and Pergolas"},"content":{"rendered":"<div class=\"et_pb_section_0 et_pb_section et_section_regular et_block_section\">\n<div class=\"et_pb_row_0 et_pb_row et_block_row\">\n<div class=\"et_pb_column_0 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\">\n<div class=\"et_pb_code_0 et_pb_code et_pb_module\"><div class=\"et_pb_code_inner\"><div class=\"trade-site-page\" id=\"top\">\n\n  <!-- ======================================================\n       PAGE HEADER\n  ======================================================= -->\n  <header class=\"trade-header\" id=\"tradeHeader\">\n    <div class=\"trade-header-inner\">\n\n      <a href=\"#top\" class=\"trade-logo\">\n        <span class=\"trade-logo-mark\">TB<\/span>\n        <span class=\"trade-logo-text\">\n          <strong>Top Build Pros<\/strong>\n          <small>Decks \u2022 Pergolas \u2022 Outdoor Living<\/small>\n        <\/span>\n      <\/a>\n\n      <nav class=\"trade-nav\" id=\"tradeNav\">\n        <a href=\"#services\">Services<\/a>\n        <a href=\"#about\">About<\/a>\n        <a href=\"#projects\">Projects<\/a>\n        <a href=\"#process\">Process<\/a>\n        <a href=\"#estimate\">Estimate<\/a>\n        <a href=\"#faq\">FAQ<\/a>\n      <\/nav>\n\n      <div class=\"trade-header-actions\">\n        <a href=\"tel:+12145551234\" class=\"trade-call-btn\">Call Now<\/a>\n        <a href=\"#estimate\" class=\"trade-quote-btn\">Get Estimate<\/a>\n      <\/div>\n\n      <button class=\"trade-menu-btn\" id=\"tradeMenuBtn\" type=\"button\" aria-label=\"Open menu\">\n        <span><\/span>\n        <span><\/span>\n        <span><\/span>\n      <\/button>\n\n    <\/div>\n  <\/header>\n\n  <!-- BACK TO TOP -->\n  <a href=\"#top\" class=\"trade-back-top\" id=\"tradeBackTop\" aria-label=\"Back to top\">\u2191<\/a>\n\n  <!-- ======================================================\n       HERO\n  ======================================================= -->\n  <section class=\"trade-hero\">\n    <div class=\"trade-hero-overlay\"><\/div>\n\n    <div class=\"trade-container trade-hero-grid\">\n\n      <div class=\"trade-hero-content\">\n        <span class=\"trade-kicker\">Trusted Local Construction Company<\/span>\n\n        <h1>Custom Decks, Pergolas & Outdoor Living Spaces Built Right<\/h1>\n\n        <p>\n          Upgrade your home with professional deck building, pergolas, patio covers, railing,\n          repairs, and outdoor living construction designed for long-term beauty and everyday use.\n        <\/p>\n\n        <div class=\"trade-hero-badges\">\n          <span>Free Estimates<\/span>\n          <span>Licensed & Insured<\/span>\n          <span>Local Crews<\/span>\n          <span>Residential Projects<\/span>\n        <\/div>\n\n        <div class=\"trade-hero-buttons\">\n          <a href=\"#estimate\" class=\"trade-btn trade-btn-primary\">Request Free Estimate<\/a>\n          <a href=\"tel:+12145551234\" class=\"trade-btn trade-btn-secondary\">Call Now<\/a>\n        <\/div>\n      <\/div>\n\n      <div class=\"trade-hero-form-card\" id=\"estimate\">\n        <h2>Request a Free Estimate<\/h2>\n        <p>Tell us about your project and we\u2019ll contact you to review the next steps.<\/p>\n\n        <form class=\"trade-lead-form\" id=\"tradeLeadForm\">\n          <div class=\"trade-form-row\">\n            <input type=\"text\" name=\"name\" placeholder=\"Your Name\" required>\n            <input type=\"tel\" name=\"phone\" placeholder=\"Phone Number\" required>\n          <\/div>\n\n          <input type=\"email\" name=\"email\" placeholder=\"Email Address\">\n\n          <div class=\"trade-form-row\">\n            <select name=\"project_type\" required>\n              <option value=\"\">Project Type<\/option>\n              <option value=\"New Deck\">New Deck<\/option>\n              <option value=\"Deck Repair\">Deck Repair<\/option>\n              <option value=\"Pergola\">Pergola<\/option>\n              <option value=\"Patio Cover\">Patio Cover<\/option>\n              <option value=\"Railing\">Railing<\/option>\n              <option value=\"Outdoor Living\">Outdoor Living<\/option>\n            <\/select>\n\n            <input type=\"text\" name=\"city\" placeholder=\"City \/ Area\">\n          <\/div>\n\n          <textarea name=\"message\" placeholder=\"Tell us about your project\"><\/textarea>\n\n          <button type=\"submit\" class=\"trade-btn trade-btn-primary trade-form-submit\">\n            Send Project Details\n          <\/button>\n\n          <small>\n            Replace this placeholder form with Contact Form 7, Fluent Forms, Gravity Forms, or your CRM form.\n          <\/small>\n        <\/form>\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       INTRO \/ TRUST\n  ======================================================= -->\n  <section class=\"trade-section trade-intro\" id=\"about\">\n    <div class=\"trade-container trade-two-col\">\n\n      <div>\n        <span class=\"trade-kicker\">Built for Homeowners<\/span>\n        <h2>Outdoor Construction That Makes Your Home More Useful, Comfortable, and Valuable<\/h2>\n      <\/div>\n\n      <div>\n        <p>\n          A well-built deck, pergola, or outdoor living area can completely change how your home feels.\n          Whether you need a new structure, a safer deck, better shade, or a full backyard upgrade,\n          the project should be planned around your home, lifestyle, and budget.\n        <\/p>\n\n        <div class=\"trade-mini-stats\">\n          <div>\n            <strong>10+<\/strong>\n            <span>Years Experience<\/span>\n          <\/div>\n\n          <div>\n            <strong>100%<\/strong>\n            <span>Custom Built<\/span>\n          <\/div>\n\n          <div>\n            <strong>5\u2605<\/strong>\n            <span>Customer Focused<\/span>\n          <\/div>\n        <\/div>\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       SERVICES\n  ======================================================= -->\n  <section class=\"trade-section trade-services\" id=\"services\">\n    <div class=\"trade-container\">\n\n      <div class=\"trade-section-heading\">\n        <span class=\"trade-kicker\">Our Services<\/span>\n        <h2>Construction Services for Better Outdoor Living<\/h2>\n        <p>\n          Choose the service that fits your project. Each section can be customized for a different trade:\n          decks, fences, roofing, concrete, remodeling, pergolas, patios, and more.\n        <\/p>\n      <\/div>\n\n      <div class=\"trade-service-grid\">\n\n        <article class=\"trade-service-card\">\n          <div class=\"trade-service-image trade-img-decks\"><\/div>\n          <div class=\"trade-service-body\">\n            <h3>Deck Building<\/h3>\n            <p>Custom wood and composite decks designed for outdoor seating, grilling, entertaining, and everyday use.<\/p>\n            <a href=\"#deck-building\">Learn More<\/a>\n          <\/div>\n        <\/article>\n\n        <article class=\"trade-service-card\">\n          <div class=\"trade-service-image trade-img-repair\"><\/div>\n          <div class=\"trade-service-body\">\n            <h3>Deck Repair<\/h3>\n            <p>Repair loose boards, unsafe railings, damaged framing, worn stairs, and aging deck surfaces.<\/p>\n            <a href=\"#deck-repair\">Learn More<\/a>\n          <\/div>\n        <\/article>\n\n        <article class=\"trade-service-card\">\n          <div class=\"trade-service-image trade-img-pergolas\"><\/div>\n          <div class=\"trade-service-body\">\n            <h3>Pergolas & Patio Covers<\/h3>\n            <p>Add shade, structure, and a premium outdoor living look with custom pergolas and patio covers.<\/p>\n            <a href=\"#pergolas\">Learn More<\/a>\n          <\/div>\n        <\/article>\n\n        <article class=\"trade-service-card\">\n          <div class=\"trade-service-image trade-img-railing\"><\/div>\n          <div class=\"trade-service-body\">\n            <h3>Railings & Stairs<\/h3>\n            <p>Upgrade safety and curb appeal with new railings, stairs, handrails, and deck access solutions.<\/p>\n            <a href=\"#railings\">Learn More<\/a>\n          <\/div>\n        <\/article>\n\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       FEATURED SERVICE BLOCKS\n  ======================================================= -->\n  <section class=\"trade-section trade-feature-block\" id=\"deck-building\">\n    <div class=\"trade-container trade-feature-grid\">\n\n      <div class=\"trade-feature-copy\">\n        <span class=\"trade-kicker\">Deck Building<\/span>\n        <h2>Custom Decks Designed Around Your Home<\/h2>\n        <p>\n          Whether you want a small backyard deck or a large outdoor entertainment space,\n          your deck should be built with proper structure, safe access, quality materials,\n          and a clean finished look.\n        <\/p>\n\n        <ul class=\"trade-check-list\">\n          <li>Wood and composite deck options<\/li>\n          <li>Custom layouts and stairs<\/li>\n          <li>Railings and safety upgrades<\/li>\n          <li>Built for outdoor seating and grilling<\/li>\n        <\/ul>\n\n        <a href=\"#estimate\" class=\"trade-btn trade-btn-primary\">Get Deck Estimate<\/a>\n      <\/div>\n\n      <div class=\"trade-feature-image trade-feature-deck\"><\/div>\n\n    <\/div>\n  <\/section>\n\n  <section class=\"trade-section trade-feature-block trade-alt\" id=\"deck-repair\">\n    <div class=\"trade-container trade-feature-grid\">\n\n      <div class=\"trade-feature-image trade-feature-repair\"><\/div>\n\n      <div class=\"trade-feature-copy\">\n        <span class=\"trade-kicker\">Deck Repair<\/span>\n        <h2>Repair Unsafe, Worn, or Weather-Damaged Decks<\/h2>\n        <p>\n          If your deck has loose boards, soft spots, weak railing, rotting sections, or structural concerns,\n          repairs can help make the space safer and more usable.\n        <\/p>\n\n        <ul class=\"trade-check-list\">\n          <li>Deck board replacement<\/li>\n          <li>Railing and stair repairs<\/li>\n          <li>Structural repair review<\/li>\n          <li>Surface refresh and upgrades<\/li>\n        <\/ul>\n\n        <a href=\"#estimate\" class=\"trade-btn trade-btn-primary\">Request Repair Estimate<\/a>\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <section class=\"trade-section trade-feature-block\" id=\"pergolas\">\n    <div class=\"trade-container trade-feature-grid\">\n\n      <div class=\"trade-feature-copy\">\n        <span class=\"trade-kicker\">Pergolas & Patio Covers<\/span>\n        <h2>Add Shade, Comfort, and Structure to Your Backyard<\/h2>\n        <p>\n          Pergolas and patio covers help define your outdoor space and make patios, decks,\n          outdoor kitchens, and seating areas more comfortable.\n        <\/p>\n\n        <ul class=\"trade-check-list\">\n          <li>Freestanding pergolas<\/li>\n          <li>Attached patio covers<\/li>\n          <li>Outdoor kitchen covers<\/li>\n          <li>Lighting and fan planning<\/li>\n        <\/ul>\n\n        <a href=\"#estimate\" class=\"trade-btn trade-btn-primary\">Plan My Shade Structure<\/a>\n      <\/div>\n\n      <div class=\"trade-feature-image trade-feature-pergola\"><\/div>\n\n    <\/div>\n  <\/section>\n\n  <section class=\"trade-section trade-feature-block trade-alt\" id=\"railings\">\n    <div class=\"trade-container trade-feature-grid\">\n\n      <div class=\"trade-feature-image trade-feature-railing\"><\/div>\n\n      <div class=\"trade-feature-copy\">\n        <span class=\"trade-kicker\">Railings & Stairs<\/span>\n        <h2>Safer Access and a Cleaner Finished Look<\/h2>\n        <p>\n          Railings and stairs are some of the most important details on a deck. They affect safety,\n          comfort, code requirements, and the final appearance of the project.\n        <\/p>\n\n        <ul class=\"trade-check-list\">\n          <li>New deck railings<\/li>\n          <li>Stair replacement<\/li>\n          <li>Handrail upgrades<\/li>\n          <li>Modern and traditional options<\/li>\n        <\/ul>\n\n        <a href=\"#estimate\" class=\"trade-btn trade-btn-primary\">Get Railing Estimate<\/a>\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       PROJECTS \/ GALLERY\n  ======================================================= -->\n  <section class=\"trade-section trade-projects\" id=\"projects\">\n    <div class=\"trade-container\">\n\n      <div class=\"trade-section-heading\">\n        <span class=\"trade-kicker\">Project Gallery<\/span>\n        <h2>Recent Outdoor Construction Inspiration<\/h2>\n        <p>\n          Replace these images with your own real project photos for stronger trust and better conversion.\n        <\/p>\n      <\/div>\n\n      <div class=\"trade-gallery-grid\">\n        <div class=\"trade-gallery-item trade-gallery-1\"><span>Backyard Deck<\/span><\/div>\n        <div class=\"trade-gallery-item trade-gallery-2\"><span>Deck Repair<\/span><\/div>\n        <div class=\"trade-gallery-item trade-gallery-3\"><span>Pergola Build<\/span><\/div>\n        <div class=\"trade-gallery-item trade-gallery-4\"><span>Outdoor Seating<\/span><\/div>\n        <div class=\"trade-gallery-item trade-gallery-5\"><span>Railing Upgrade<\/span><\/div>\n        <div class=\"trade-gallery-item trade-gallery-6\"><span>Patio Cover<\/span><\/div>\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       PROCESS\n  ======================================================= -->\n  <section class=\"trade-section trade-process\" id=\"process\">\n    <div class=\"trade-container\">\n\n      <div class=\"trade-section-heading\">\n        <span class=\"trade-kicker\">Our Process<\/span>\n        <h2>A Simple Process From Estimate to Completion<\/h2>\n      <\/div>\n\n      <div class=\"trade-process-grid\">\n\n        <div class=\"trade-process-step\">\n          <span>01<\/span>\n          <h3>Request Estimate<\/h3>\n          <p>Send your project details, photos, address, and preferred service.<\/p>\n        <\/div>\n\n        <div class=\"trade-process-step\">\n          <span>02<\/span>\n          <h3>Review Project<\/h3>\n          <p>We review the space, measurements, access, materials, and project goals.<\/p>\n        <\/div>\n\n        <div class=\"trade-process-step\">\n          <span>03<\/span>\n          <h3>Clear Proposal<\/h3>\n          <p>You receive a project scope with options, pricing, and next steps.<\/p>\n        <\/div>\n\n        <div class=\"trade-process-step\">\n          <span>04<\/span>\n          <h3>Build & Finish<\/h3>\n          <p>The project is built with attention to structure, detail, and final cleanup.<\/p>\n        <\/div>\n\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       WHY CHOOSE US\n  ======================================================= -->\n  <section class=\"trade-section trade-why\">\n    <div class=\"trade-container trade-two-col\">\n\n      <div>\n        <span class=\"trade-kicker\">Why Choose Us<\/span>\n        <h2>Built With Better Planning, Better Communication, and Better Finish Details<\/h2>\n      <\/div>\n\n      <div class=\"trade-why-list\">\n\n        <div class=\"trade-why-item\">\n          <h3>Clear Estimates<\/h3>\n          <p>No confusing project language. We explain the scope, options, and what affects the price.<\/p>\n        <\/div>\n\n        <div class=\"trade-why-item\">\n          <h3>Project-Focused Crews<\/h3>\n          <p>Your project is planned around layout, access, structure, safety, and long-term use.<\/p>\n        <\/div>\n\n        <div class=\"trade-why-item\">\n          <h3>Local Construction Experience<\/h3>\n          <p>We understand how outdoor materials, weather, drainage, and everyday use affect construction.<\/p>\n        <\/div>\n\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       SERVICE AREA\n  ======================================================= -->\n  <section class=\"trade-section trade-area\">\n    <div class=\"trade-container\">\n\n      <div class=\"trade-section-heading\">\n        <span class=\"trade-kicker\">Service Area<\/span>\n        <h2>Serving Homeowners Across the Local Area<\/h2>\n        <p>\n          Replace these cities with your own service area. For SEO, every city can later become its own landing page.\n        <\/p>\n      <\/div>\n\n      <div class=\"trade-city-grid\">\n        <span>Dallas<\/span>\n        <span>Fort Worth<\/span>\n        <span>Arlington<\/span>\n        <span>Mansfield<\/span>\n        <span>Plano<\/span>\n        <span>Frisco<\/span>\n        <span>Southlake<\/span>\n        <span>Grapevine<\/span>\n        <span>Prosper<\/span>\n        <span>Flower Mound<\/span>\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       SECOND CONTACT SECTION\n  ======================================================= -->\n  <section class=\"trade-contact-band\">\n    <div class=\"trade-contact-overlay\"><\/div>\n\n    <div class=\"trade-container trade-contact-grid\">\n\n      <div class=\"trade-contact-copy\">\n        <span class=\"trade-kicker\">Contact Us<\/span>\n        <h2>Ready to Start Your Outdoor Project?<\/h2>\n        <p>\n          Send your project details and we\u2019ll help you understand the best options for your home,\n          budget, and timeline.\n        <\/p>\n\n        <div class=\"trade-contact-info\">\n          <a href=\"tel:+12145551234\">Call: (214) 555-1234<\/a>\n          <a href=\"mailto:info@example.com\">Email: info@example.com<\/a>\n        <\/div>\n      <\/div>\n\n      <div class=\"trade-contact-mini-form\">\n        <h3>Quick Contact<\/h3>\n\n        <form class=\"trade-small-form\" id=\"tradeSmallForm\">\n          <input type=\"text\" placeholder=\"Name\" required>\n          <input type=\"tel\" placeholder=\"Phone\" required>\n          <select required>\n            <option value=\"\">Project Type<\/option>\n            <option>Deck Building<\/option>\n            <option>Deck Repair<\/option>\n            <option>Pergola<\/option>\n            <option>Patio Cover<\/option>\n            <option>Other<\/option>\n          <\/select>\n          <button type=\"submit\" class=\"trade-btn trade-btn-primary\">Send<\/button>\n        <\/form>\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       FAQ\n  ======================================================= -->\n  <section class=\"trade-section trade-faq\" id=\"faq\">\n    <div class=\"trade-container\">\n\n      <div class=\"trade-section-heading\">\n        <span class=\"trade-kicker\">FAQ<\/span>\n        <h2>Frequently Asked Questions<\/h2>\n      <\/div>\n\n      <div class=\"trade-faq-list\">\n\n        <div class=\"trade-faq-item\">\n          <button class=\"trade-faq-question\" type=\"button\">\n            How much does a deck or outdoor project cost?\n          <\/button>\n          <div class=\"trade-faq-answer\">\n            <p>\n              Pricing depends on size, materials, access, demo, framing, railing, stairs, finish details,\n              and whether the project is new construction or repair work.\n            <\/p>\n          <\/div>\n        <\/div>\n\n        <div class=\"trade-faq-item\">\n          <button class=\"trade-faq-question\" type=\"button\">\n            Do you offer free estimates?\n          <\/button>\n          <div class=\"trade-faq-answer\">\n            <p>\n              Yes. Homeowners can request a free estimate by calling or submitting the project form.\n            <\/p>\n          <\/div>\n        <\/div>\n\n        <div class=\"trade-faq-item\">\n          <button class=\"trade-faq-question\" type=\"button\">\n            Can you repair an existing deck instead of replacing it?\n          <\/button>\n          <div class=\"trade-faq-answer\">\n            <p>\n              In many cases, yes. The structure needs to be reviewed first to determine whether repair\n              or full replacement is the better option.\n            <\/p>\n          <\/div>\n        <\/div>\n\n        <div class=\"trade-faq-item\">\n          <button class=\"trade-faq-question\" type=\"button\">\n            What materials can be used?\n          <\/button>\n          <div class=\"trade-faq-answer\">\n            <p>\n              Common options include pressure-treated wood, cedar, composite decking, metal railing,\n              wood railing, and upgraded outdoor living finishes.\n            <\/p>\n          <\/div>\n        <\/div>\n\n        <div class=\"trade-faq-item\">\n          <button class=\"trade-faq-question\" type=\"button\">\n            How long does a project take?\n          <\/button>\n          <div class=\"trade-faq-answer\">\n            <p>\n              Timeline depends on project size, material availability, weather, complexity, and scheduling.\n              Smaller projects may take a few days, while larger builds may take longer.\n            <\/p>\n          <\/div>\n        <\/div>\n\n      <\/div>\n\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       FINAL CTA\n  ======================================================= -->\n  <section class=\"trade-final-cta\">\n    <div class=\"trade-container\">\n      <h2>Get a Free Estimate for Your Deck, Pergola, or Outdoor Living Project<\/h2>\n      <p>\n        Tell us what you want to build, repair, or upgrade. We\u2019ll help you plan the next step.\n      <\/p>\n\n      <div class=\"trade-hero-buttons\">\n        <a href=\"#estimate\" class=\"trade-btn trade-btn-primary\">Request Free Estimate<\/a>\n        <a href=\"tel:+12145551234\" class=\"trade-btn trade-btn-light\">Call Now<\/a>\n      <\/div>\n    <\/div>\n  <\/section>\n\n  <!-- ======================================================\n       FOOTER\n  ======================================================= -->\n  <footer class=\"trade-footer\">\n    <div class=\"trade-container trade-footer-grid\">\n\n      <div>\n        <h3>Top Build Pros<\/h3>\n        <p>\n          Custom decks, pergolas, patio covers, repairs, railings, and outdoor living construction.\n        <\/p>\n      <\/div>\n\n      <div>\n        <h4>Services<\/h4>\n        <a href=\"#deck-building\">Deck Building<\/a>\n        <a href=\"#deck-repair\">Deck Repair<\/a>\n        <a href=\"#pergolas\">Pergolas<\/a>\n        <a href=\"#railings\">Railings<\/a>\n      <\/div>\n\n      <div>\n        <h4>Contact<\/h4>\n        <a href=\"tel:+12145551234\">(214) 555-1234<\/a>\n        <a href=\"mailto:info@example.com\">info@example.com<\/a>\n        <span>Serving Local Homeowners<\/span>\n      <\/div>\n\n    <\/div>\n\n    <div class=\"trade-footer-bottom\">\n      <p>\u00a9 <span id=\"tradeYear\"><\/span> Top Build Pros. All rights reserved.<\/p>\n    <\/div>\n  <\/footer>\n\n  <!-- MOBILE STICKY CTA -->\n  <div class=\"trade-mobile-cta\">\n    <a href=\"tel:+12145551234\">Call<\/a>\n    <a href=\"#estimate\">Estimate<\/a>\n    <a href=\"sms:+12145551234\">Text<\/a>\n  <\/div>\n\n<\/div>\n\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n\n  \/* ======================================================\n     HEADER MENU\n  ====================================================== *\/\n\n  const tradeHeader = document.getElementById(\"tradeHeader\");\n  const tradeMenuBtn = document.getElementById(\"tradeMenuBtn\");\n  const tradeNav = document.getElementById(\"tradeNav\");\n  const tradeBackTop = document.getElementById(\"tradeBackTop\");\n\n  if (tradeMenuBtn && tradeHeader && tradeNav) {\n    tradeMenuBtn.addEventListener(\"click\", function () {\n      tradeHeader.classList.toggle(\"menu-open\");\n    });\n  }\n\n  const headerLinks = document.querySelectorAll(\".trade-nav a, .trade-logo, .trade-quote-btn, .trade-call-btn\");\n\n  headerLinks.forEach(function (link) {\n    link.addEventListener(\"click\", function () {\n      if (tradeHeader) {\n        tradeHeader.classList.remove(\"menu-open\");\n      }\n    });\n  });\n\n  function updateScrollState() {\n    const scrollTop = window.scrollY || document.documentElement.scrollTop;\n\n    if (tradeHeader) {\n      if (scrollTop > 40) {\n        tradeHeader.classList.add(\"scrolled\");\n      } else {\n        tradeHeader.classList.remove(\"scrolled\");\n      }\n    }\n\n    if (tradeBackTop) {\n      if (scrollTop > 450) {\n        tradeBackTop.classList.add(\"show\");\n      } else {\n        tradeBackTop.classList.remove(\"show\");\n      }\n    }\n  }\n\n  updateScrollState();\n  window.addEventListener(\"scroll\", updateScrollState);\n  window.addEventListener(\"resize\", updateScrollState);\n\n  \/* ======================================================\n     SMOOTH SCROLL WITH HEADER OFFSET\n  ====================================================== *\/\n\n  const anchorLinks = document.querySelectorAll('a[href^=\"#\"]');\n\n  anchorLinks.forEach(function (link) {\n    link.addEventListener(\"click\", function (event) {\n      const href = link.getAttribute(\"href\");\n\n      if (!href || href === \"#\") return;\n\n      const target = document.querySelector(href);\n      if (!target) return;\n\n      event.preventDefault();\n\n      const headerHeight = tradeHeader ? tradeHeader.offsetHeight : 0;\n      const extraOffset = 12;\n\n      const targetPosition =\n        target.getBoundingClientRect().top + window.pageYOffset - headerHeight - extraOffset;\n\n      window.scrollTo({\n        top: targetPosition,\n        behavior: \"smooth\"\n      });\n\n      if (tradeHeader) {\n        tradeHeader.classList.remove(\"menu-open\");\n      }\n    });\n  });\n\n  \/* ======================================================\n     FAQ ACCORDION\n  ====================================================== *\/\n\n  const faqQuestions = document.querySelectorAll(\".trade-faq-question\");\n\n  faqQuestions.forEach(function (question) {\n    question.addEventListener(\"click\", function () {\n      const faqItem = question.closest(\".trade-faq-item\");\n      if (!faqItem) return;\n\n      const isOpen = faqItem.classList.contains(\"active\");\n\n      document.querySelectorAll(\".trade-faq-item\").forEach(function (item) {\n        item.classList.remove(\"active\");\n      });\n\n      if (!isOpen) {\n        faqItem.classList.add(\"active\");\n      }\n    });\n  });\n\n  \/* ======================================================\n     FORM PLACEHOLDERS\n  ====================================================== *\/\n\n  const mainForm = document.getElementById(\"tradeLeadForm\");\n  const smallForm = document.getElementById(\"tradeSmallForm\");\n\n  if (mainForm) {\n    mainForm.addEventListener(\"submit\", function (event) {\n      event.preventDefault();\n      alert(\"Form submitted. Replace this placeholder with your real form integration.\");\n    });\n  }\n\n  if (smallForm) {\n    smallForm.addEventListener(\"submit\", function (event) {\n      event.preventDefault();\n      alert(\"Quick contact submitted. Replace this placeholder with your real form integration.\");\n    });\n  }\n\n  \/* ======================================================\n     FOOTER YEAR\n  ====================================================== *\/\n\n  const yearSpan = document.getElementById(\"tradeYear\");\n\n  if (yearSpan) {\n    yearSpan.textContent = new Date().getFullYear();\n  }\n\n});\n<\/script><\/div><\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"wf_page_folders":[56],"class_list":["post-103151","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/pages\/103151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/comments?post=103151"}],"version-history":[{"count":3,"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/pages\/103151\/revisions"}],"predecessor-version":[{"id":103154,"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/pages\/103151\/revisions\/103154"}],"wp:attachment":[{"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/media?parent=103151"}],"wp:term":[{"taxonomy":"wf_page_folders","embeddable":true,"href":"https:\/\/onlytexaspros.com\/soluciones-digitales\/wp-json\/wp\/v2\/wf_page_folders?post=103151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}