<div class="py-[16px] px-[30px] md:py-[48px] md:px-[80px] mx-auto mt-[80px] w-full "
style="{{ inlineStyles(app.request.get('companyInner'), constant('App\\Constants\\SettingConstants::BODY_STYLES')) }}">
<div class="flex flex-col md:flex-row gap-[16px] items-center justify-between relative">
<div class="flex flex-col gap-[16px] items-center md:items-start">
<div class="*:max-w-[91px] *:max-h-[43px]">
<a href="/">
{% if companyStyles.mainImage is not empty %}
{{ sonata_media(companyStyles.mainImage, 'reference') }}
{% endif %}
</a>
</div>
<p class="text-[16px] font-medium text-[#fff] leading-tight">
Краще місце для купівлі e-Sim!
</p>
</div>
<div class="flex flex-col mt-[32px] md:mt-0 md:flex-row gap-[16px] justify-between items-center">
<a href="{{ path('how_it_works') }}" class="font-medium text-[16px] text-[#fff] text-center block hover:underline">{% trans from 'main' %}Як працює eSIM?{% endtrans %}</a>
<a href="{{ path('how_it_works') }}" class="font-medium text-[16px] text-[#fff] text-center block hover:underline">{% trans from 'main' %}Інструкція підключення{% endtrans %}</a>
{% if faqs is defined and faqs is not empty %}
<a href="#" data-modal="#modal_faq" class="js--modal font-medium text-[16px] text-[#fff] text-center block hover:underline">{% trans from 'main' %}Питання та відповіді{% endtrans %}</a>
{% endif %}
<a href="{% if is_granted('ROLE_FRONT_USER') %}{{ path('profile_page') }}{% else %}{{ path('login_locale') }}{% endif %}" class="font-medium text-[16px] text-[#fff] text-center block hover:underline">{% trans from 'main' %}Історія Ваших покупок eSIM{% endtrans %}</a>
<a href="#" class="js--scrollToTop text-[16px] text-[#fff] text-center block absolute top-0 right-0 md:relative">
<svg class="w-[48px] min-w-[48px] h-[48px] p-[12px] transform rotate-90 rounded-[50%]" style="background-color: {{ companyStyles.buttonColor }}; fill: {{ companyStyles.textButtonColor }}">
<use href="{{ asset('build/sprite.svg#arr_white') }}"></use>
</svg>
</a>
</div>
{# <a href="#" class="font-medium text-[#C6252A] text-[16px] text-center block hover:underline">#}
{# {% include '@App/shared/ui/button/button.html.twig' with {#}
{# text: 'Для партнерів'|trans({}, 'main'),#}
{# } %}#}
{# </a>#}
</div>
<hr class="border-[#909299] my-[24px]">
<div class="flex flex-col items-center md:flex-row gap-[16px] justify-between">
<div class="flex flex-col md:flex-row gap-[12px] items-center">
<div class="flex gap-[16px]">
{% if companyObj.footerPhone is not empty %}
<svg class="w-[24px] min-w-[24px] h-[24px]">
<use href="{{ asset('build/sprite.svg#footerPhone') }}"></use>
</svg>
<a href="tel:{{ companyObj.footerPhone }}" class="font-medium text-[16px] text-[#fff] text-center block hover:underline">{{ companyObj.footerPhone }}</a>
{% endif %}
</div>
<div class="flex gap-[16px]">
{% if companyObj.footerEmail is not empty %}
<svg class="w-[24px] min-w-[24px] h-[24px]">
<use href="{{ asset('build/sprite.svg#footerMail') }}"></use>
</svg>
<a href="mailto:{{ companyObj.footerEmail }}" class="font-medium text-[16px] text-[#fff] text-center block hover:underline">{{ companyObj.footerEmail }}</a>
{% endif %}
</div>
</div>
</div>
<hr class="border-[#909299] my-[24px]">
<div class="flex flex-col items-center md:flex-row gap-[16px] justify-between">
<div class="flex flex-row flex-wrap gap-[8px] items-center justify-center">
<a data-modal="#modal_offert" class="js--modal text-[15px] text-[#fff] font-light underline hover:no-underline cursor-pointer">{% trans from 'register' %}Публічна оферта{% endtrans %}</a>
{% set footerPages = companyObj.pages|default([])|filter(page => page.active and 'footer' in page.displayLocations)|merge([]) %}
{% set footerPagesCount = footerPages|length %}
{% if footerPagesCount > 0 %}
<span class="text-[15px] text-[#fff] font-light">|</span>
{% for page in footerPages %}
<a href="{{ path('custom_page_show', {slug: page.slug}) }}" class="text-[15px] text-[#fff] font-light underline hover:no-underline cursor-pointer">{{ page.title }}</a>
{% if loop.index < footerPagesCount %}
<span class="text-[15px] text-[#fff] font-light">|</span>
{% endif %}
{% endfor %}
{% endif %}
</div>
<p class="text-[#A0A4AE] text-[15px] font-light text-center md:text-left">
{% trans from 'register' %}Copyright © 2025 eSim.in.ua | Усі права захищено{% endtrans %}
</p>
</div>
</div>
{% include '@App/shared/ui/modal/modalOffert.html.twig' with {
companyInner: app.request.get('companyInner')
} %}