/*******************************
      TME Corporativo Styles
*******************************/

/*******************************
            Colors
   Navy:          #16356B
   Brand blue:    #1230DC
   Accent orange: #F5601A
   Body text:     #4e5861
*******************************/

:root {
	--corp-navy:   #16356B;
	--corp-blue:   #1230DC;
	--corp-orange: #F5601A;
	--corp-text:   #4e5861;
	--corp-soft:   #f6f8fb;
	--corp-border: #e3e8ef;
}


/*******************************
        Top bar and nav
*******************************/

.info-bar {
	background-color: var(--corp-navy);
	padding: 10px 0px;
}

.info-bar .contact-infos {
	display: flex;
	flex-wrap: wrap;
}

.info-bar .contact-infos > div {
	display: flex;
	align-items: center;
	margin-right: 28px;
	font-size: 14px;
}

.info-bar .contact-infos .icon-wrapper {
	margin-right: 8px;
}

.info-bar .contact-infos i {
	color: var(--corp-orange);
	font-size: 14px;
}

.info-bar .contact-infos a,
.info-bar .contact-infos a:visited {
	color: #FFF;
	text-decoration: none;
}

.info-bar .contact-infos a:hover {
	color: var(--corp-orange);
}

.info-bar .right-content {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.navbar-area nav ul li a {
	color: #FFF;
}

.navbar-area nav ul li a:hover,
.navbar-area nav ul li.active a,
.navbar-area nav ul li.dropdown.active::after {
	color: var(--corp-orange);
}

.navbar-area nav ul li.active::before,
.navbar-area nav ul li.dropdown ul li:hover,
.navbar-area nav ul li.dropdown ul li.active {
	background-color: var(--corp-orange);
}

.navbar-area nav ul li.dropdown ul li a:hover,
.navbar-area nav ul li.dropdown ul li.active a {
	background-color: var(--corp-orange);
	color: #FFF;
}

/* The corporate logo is wider than the template default */
.logo-wrapper img {
	max-height: 78px;
	width: auto;
}


/*******************************
         Section headings
*******************************/

h2.subtitle {
	color: var(--corp-navy);
	font-size: 32px;
	margin-bottom: 62px;
}

h2.subtitle::after {
	background-color: var(--corp-orange);
	bottom: -22px;
}

h2.subtitle.centered {
	text-align: center;
}

h2.subtitle.centered::after {
	left: 50%;
	transform: translateX(-50%);
}

.section-lead {
	color: var(--corp-text);
	font-size: 17px;
	line-height: 1.75;
	max-width: 820px;
	margin-bottom: 24px;
}

.section-lead:last-child {
	margin-bottom: 0px;
}

.section-lead.spaced {
	margin-bottom: 46px;
}

.section-lead.centered {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.corp-section {
	padding: 90px 0px;
	scroll-margin-top: 90px;
}

.corp-section.soft {
	background-color: var(--corp-soft);
}


/*******************************
          Buttons
*******************************/

/* The template ships these as a.boxed-btn / button.boxed-btn, so the
   overrides need the same specificity to win. The hover effect is the
   template's own: two pseudo elements grow over the button. */

a.boxed-btn,
button.boxed-btn {
	background-color: var(--corp-orange);
	padding: 16px 38px;
}

a.boxed-btn span,
button.boxed-btn span {
	color: #FFF;
	transition: color .5s;
}

a.boxed-btn::before,
a.boxed-btn::after,
button.boxed-btn::before,
button.boxed-btn::after {
	background-color: var(--corp-navy);
}

a.boxed-btn:hover,
button.boxed-btn:hover {
	color: #FFF;
}

a.boxed-btn:hover span,
button.boxed-btn:hover span {
	color: #FFF;
}


/*******************************
             Heroes
*******************************/

.hero-area.corp-hero {
	padding: 190px 0px 210px 0px;
	background-size: cover;
	background-position: center;
}

.hero-area.corp-hero .hero-overlay {
	background-color: #0b1f3f;
	opacity: 0.62;
}

.hero-area.corp-hero .hero-txt > span {
	color: var(--corp-orange);
	letter-spacing: 1px;
}

.hero-area.corp-hero h1 {
	font-size: 52px;
	margin-bottom: 22px;
}

.hero-area.corp-hero p.hero-sub {
	font-size: 18px;
	text-transform: none;
	max-width: 620px;
	line-height: 1.7;
	margin-bottom: 34px;
}

#hero-home     { background-image: url('../img/hero_home.jpg'); }
#hero-tme21    { background-image: url('../img/hero_tme21.jpg'); }
#hero-tme04    { background-image: url('../img/hero_tme04.jpg'); }
#hero-ltme     { background-image: url('../img/hero_ltme.jpg'); }
#hero-contacto { background-image: url('../img/hero_contacto.jpg'); }

/* Interior pages carry a shorter header */
.hero-area.page-header {
	padding: 150px 0px 150px 0px;
}

.hero-area.page-header h1 {
	font-size: 44px;
	margin-bottom: 0px;
}

.company-mark {
	background: #FFF;
	border-radius: 6px;
	padding: 16px 22px;
	display: block;
	width: -webkit-fit-content;
	width: fit-content;
	margin-bottom: 24px;
}

.company-mark img {
	max-height: 62px;
	width: auto;
}


/*******************************
           Fact strip
*******************************/

.fact-strip {
	background-color: var(--corp-navy);
	padding: 54px 0px;
}

.fact {
	text-align: center;
	color: #FFF;
	padding: 10px 6px;
}

.fact .fact-number {
	display: block;
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
	color: var(--corp-orange);
	margin-bottom: 12px;
}

.fact .fact-label {
	display: block;
	font-size: 14px;
	line-height: 1.5;
	color: #d7e2f2;
	margin: 0;
}


/*******************************
         Company cards
*******************************/

.company-card {
	background: #FFF;
	border: 1px solid var(--corp-border);
	border-radius: 6px;
	padding: 34px 28px 28px;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: all 0.3s;
}

.company-card:hover {
	border-color: var(--corp-orange);
	box-shadow: 0 8px 26px rgba(22, 53, 107, 0.12);
	transform: translateY(-4px);
}

.company-card .company-logo {
	height: 74px;
	display: flex;
	align-items: center;
	margin-bottom: 24px;
}

.company-card .company-logo img {
	max-height: 62px;
	max-width: 100%;
	width: auto;
}

.company-card h4 {
	color: var(--corp-navy);
	font-size: 19px;
	margin-bottom: 6px;
}

.company-card .company-role {
	display: block;
	color: var(--corp-orange);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 16px;
}

.company-card p {
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.7;
	flex-grow: 1;
}

.company-card .card-actions {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.company-card .card-actions a {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.company-card .card-actions .link-primary-corp {
	color: var(--corp-navy);
	border-bottom: 2px solid var(--corp-orange);
	padding-bottom: 2px;
}

.company-card .card-actions .link-primary-corp:hover {
	color: var(--corp-orange);
}

.company-card .card-actions .link-external {
	color: var(--corp-text);
	margin-left: auto;
}

.company-card .card-actions .link-external:hover {
	color: var(--corp-orange);
}


/*******************************
        Coverage cards
*******************************/

.coverage-card {
	background: #FFF;
	border-left: 3px solid var(--corp-orange);
	border-radius: 4px;
	padding: 26px 24px;
	height: 100%;
	box-shadow: 0 2px 10px rgba(22, 53, 107, 0.06);
}

.coverage-card h4 {
	color: var(--corp-navy);
	font-size: 17px;
	margin-bottom: 12px;
}

.coverage-card p {
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
}


/*******************************
        Panels and lists
*******************************/

.info-panel {
	background: #FFF;
	border: 1px solid var(--corp-border);
	border-radius: 6px;
	padding: 32px 30px;
	height: 100%;
}

.info-panel h4 {
	color: var(--corp-navy);
	font-size: 19px;
	margin-bottom: 16px;
}

.info-panel p {
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.75;
}

.info-panel p:last-child {
	margin-bottom: 0;
}

.info-panel dl {
	margin: 0;
}

.info-panel dt {
	color: var(--corp-navy);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 4px;
}

.info-panel dd {
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 18px;
}

.info-panel dd a {
	color: var(--corp-text);
	text-decoration: none;
	word-break: break-word;
}

.info-panel dd a:hover {
	color: var(--corp-orange);
}

.check-list {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.check-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 12px;
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.65;
}

.check-list li::before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 2px;
	font-size: 12px;
	color: var(--corp-orange);
}

.plain-list {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.plain-list li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 12px;
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.65;
}

.plain-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--corp-orange);
}


/*******************************
        Service blocks
*******************************/

.service-block {
	background: #FFF;
	border: 1px solid var(--corp-border);
	border-radius: 6px;
	padding: 28px 26px;
	height: 100%;
	transition: all 0.3s;
}

.service-block:hover {
	border-color: var(--corp-orange);
	box-shadow: 0 6px 20px rgba(22, 53, 107, 0.1);
}

.service-block .block-index {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: var(--corp-orange);
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.service-block h4 {
	color: var(--corp-navy);
	font-size: 18px;
	margin-bottom: 12px;
	line-height: 1.35;
}

.service-block p {
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
}


/*******************************
          Media figure
*******************************/

.corp-figure {
	border-radius: 6px;
	overflow: hidden;
	height: 100%;
	min-height: 280px;
	background-size: cover;
	background-position: center;
}

.corp-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/*******************************
         Highlight band
*******************************/

.highlight-band {
	background-color: var(--corp-navy);
	color: #FFF;
	padding: 44px 0px;
	text-align: center;
}

.highlight-band .band-lead {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #FFF;
}

.highlight-band p {
	color: #d7e2f2;
	margin: 0;
}


/*******************************
       Certifications grid
*******************************/

.cert-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.cert-item {
	background: #FFF;
	border: 1px solid var(--corp-border);
	border-radius: 6px;
	width: 140px;
	height: 116px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	transition: all 0.3s;
}

.cert-item:hover {
	border-color: var(--corp-orange);
	box-shadow: 0 5px 18px rgba(22, 53, 107, 0.1);
}

.cert-item img {
	max-width: 100%;
	max-height: 84px;
	width: auto;
	height: auto;
}


/*******************************
          Client logos
*******************************/

.partner-carousel .single-partner-item .inner img {
	max-height: 70px;
	width: auto;
	margin: 0 auto;
}


/*******************************
            CTA band
*******************************/

.cta-band {
	background-color: var(--corp-orange);
	padding: 62px 0px;
	color: #FFF;
	text-align: center;
}

.cta-band h2 {
	color: #FFF;
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 12px;
}

.cta-band p {
	color: #ffe6da;
	font-size: 17px;
	margin-bottom: 28px;
}

.cta-band a.boxed-btn {
	background-color: #FFF;
}

.cta-band a.boxed-btn span {
	color: var(--corp-orange);
}

.cta-band a.boxed-btn::before,
.cta-band a.boxed-btn::after {
	background-color: var(--corp-navy);
}

.cta-band a.boxed-btn:hover span {
	color: #FFF;
}


/*******************************
        Contact directory
*******************************/

.contact-card {
	background: #FFF;
	border: 1px solid var(--corp-border);
	border-radius: 6px;
	padding: 30px 26px;
	height: 100%;
}

.contact-card .company-logo {
	height: 70px;
	display: flex;
	align-items: center;
	margin-bottom: 22px;
}

.contact-card .company-logo img {
	max-height: 58px;
	max-width: 100%;
	width: auto;
}

.contact-card dl {
	margin: 0;
}

.contact-card dt {
	color: var(--corp-navy);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 4px;
}

.contact-card dd {
	color: var(--corp-text);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 18px;
}

.contact-card dd:last-child {
	margin-bottom: 0;
}

.contact-card a {
	color: var(--corp-text);
	text-decoration: none;
	word-break: break-word;
}

.contact-card a:hover {
	color: var(--corp-orange);
}


/*******************************
            Footer
*******************************/

footer {
	background-color: var(--corp-navy);
	color: #c3d3ea;
}

footer .footer-brand img {
	background: #FFF;
	border-radius: 6px;
	padding: 10px 14px;
	max-width: 220px;
	max-height: 78px;
}

footer p {
	line-height: 1.75;
}

footer ul.userful-links li a,
footer .footer-contact p a {
	color: #c3d3ea;
	text-decoration: none;
}

footer ul.userful-links li a:hover,
footer .footer-contact p a:hover {
	color: var(--corp-orange);
}

footer .footer-contact .icon-wrapper i {
	color: var(--corp-orange);
}

.back-to-top {
	background-color: var(--corp-orange);
}


/*******************************
           Utilities
*******************************/

.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-40 { margin-top: 40px !important; }


/*******************************
           Responsive
*******************************/

@media (max-width: 991px) {
	.hero-area.corp-hero {
		padding: 130px 0px 150px 0px;
	}

	.hero-area.corp-hero h1 {
		font-size: 36px;
	}

	.hero-area.page-header {
		padding: 110px 0px 110px 0px;
	}

	.info-bar .right-content {
		justify-content: flex-start;
		margin-top: 8px;
	}

	.corp-section {
		padding: 60px 0px;
	}

	h2.subtitle {
		font-size: 26px;
		margin-bottom: 50px;
	}

	.corp-figure {
		min-height: 220px;
		margin-top: 30px;
	}
}

@media (max-width: 575px) {
	.hero-area.corp-hero h1 {
		font-size: 28px;
	}

	.fact .fact-number {
		font-size: 32px;
	}

	.cert-item {
		width: 132px;
		height: 108px;
	}
}
